AL

aicodeking/leanrea

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

3293 stars 品質 72 トレンド 74MIT

REA(リバースエンジニア)を置き換える8 KBのスキル: プレーン CLIツール、MCPなし。 ベンチマーク:38%高速、35%安い.

概要

REA (Reverse Engineer 何でも) は、既に使用できるエージェントとツール間で MCP レイヤーをセットします: asar, otool, nm, バージョン -m, jadx, apktool, Ghidra, tshark, binwalk, sqlite3. leanreaはレイヤーをドロップします。 各種類のターゲットに対してコマンドが最速であるエージェントを指示し、再処理コマンドを準備し、REAのコードが処理するトラップをリストします。 エージェントは、実際のツール自体を実行します。 クロード コード ヘッドレス (claude -p), Sonnet 5.5, macOS arm64. 4 リバースエンジニアリングタスク×3 担当者×3 アーム、アームはサイドバイサイドを実行します。 回答は手作りのキーに対して等級分けされます。 再びREA, leanrea を持っていた. その1つの部分的なミスは、v2の代わりに古いIPCチャンネルの名前をつけました(両方のチャネルが存在する)。 タスク: - : 実際の電子アプリのapp.asar(native関数 → main-process class → IPCチャンネル)を介して機能をトレースします。 - : エクスポート、TCCの許可チェック、そのアプリのネイティブアドオンの単一インスタンスロック(.node)を在庫します.

概要(AI 翻訳)

REAが何をする8 KBのスキルファイル:MCPサーバー、207ツール、セットアップなし。

REA (Reverse Engineer 何でも) は、エージェントとツール間で MCP レイヤーを 既に使用できるようにします: asar, otool, nm, [go version -m]]], jadx, apktool, Ghidra, tshark, binwalk, sqlite3. leanreaはレイヤーをドロップします。 各種類のターゲットに対してコマンドが最速であるエージェントを指示し、再処理コマンドを準備し、REAのコードが処理するトラップをリストします。 エージェントは、実際のツール自体を実行します。

| | REA 6.5.0 | リーンレア | お問い合わせ | 導入事例 | 25 MB npm パッケージ + MCP サーバー | 1 [[[T1] | | 取扱説明書 | 23.5 KB スキル + 48.8 KB リファレンス | 8 KB | | エージェントにツールを追加しました | 207 (3.35 MBの定義) | 0 (Bashを使用) | | 「Reply OK」のコンテキスト、全てのツールが読み込まれる | 400.7k トークン、 $1.60 | 34.5k トークン、 $0.09 |

ベンチマーク

Claudeコードヘッドレス(claude -p)、Sonnet 5.5、macOS arm64。 4 リバースエンジニアリングタスク×3 担当者×3 アーム、アームはサイドバイサイドを実行します。 回答は手作りのキーに対して等級分けされます。

| アーム | 総壁時間 | コスト | ターン | トークン | スコア | お問い合わせ |************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

leanrea

One 8 KB skill file that does what REA does: no MCP server, no 207 tools, no setup.

REA (Reverse Engineer Anything) puts an MCP layer between your agent and tools it can already use: asar, otool, nm, go version -m, jadx, apktool, Ghidra, tshark, binwalk, sqlite3. leanrea drops that layer. It tells the agent which command is fastest for each kind of target, gives it ready-to-paste recon commands, and lists the traps that REA’s code handles for you. The agent then runs the real tools itself.

REA 6.5.0 leanrea
What gets installed 25 MB npm package + MCP server one SKILL.md
Instructions 23.5 KB skill + 48.8 KB references 8 KB
Tools added to the agent 207 (3.35 MB of definitions) 0 (uses Bash)
Context for “Reply OK”, all tools loaded 400.7k tokens, $1.60 34.5k tokens, $0.09

Benchmark

Claude Code headless (claude -p), Sonnet 5.5, macOS arm64. 4 reverse-engineering tasks × 3 reps × 3 arms, with the arms run side by side. Answers are graded against hand-made keys.

arm total wall time cost turns tokens score
leanrea 388 s $2.17 55 2.40 M 74/75
no skill 479 s $2.21 81 3.11 M 67/75 (one refusal)
REA (MCP + its skill) 627 s $3.36 124 5.93 M 75/75

Against REA, leanrea had 38% less wall time, 35% lower cost, 56% fewer turns and 60% fewer tokens, at the same accuracy. Its one partial miss named an older IPC channel instead of the v2 one (both channels exist).

The tasks:

  • electron: trace a feature through a real Electron app’s app.asar (native function → main-process class → IPC channels).
  • native: inventory the exports, a TCC permission check and the single-instance lock of that app’s native addon (.node).
  • go: toolchain and dependency versions of a stripped gh binary.
  • deep: from disassembly alone, the exact socket path format, wire protocol and peer authentication of that lock.

The same operation run through REA’s CLI vs the raw command:

operation REA raw
Go build info 0.56 s go version -m: 0.06 s
Mach-O overview 3.32 s otool + dyld_info + nm: 0.04 s
Electron app analysis (real desktop app) fails on asar integrity until you pass a flag, then 47.9 s and 140 MB of JSON asar extract + rg -uu: 4.8 s, 24 KB

Full tables, the context-overhead runs and caveats: bench/BENCHMARK.md. Raw per-run metrics: bench/results/final.jsonl.

Caveats:

  • Only 3 reps per cell, one model, one machine.
  • REA was tested in its best case: Claude Code’s deferred tool search loads MCP tools on demand. Agents that load every tool pay the 400k-token row.
  • Ghidra, Hopper and jadx weren’t installed, so the native tasks ran on Xcode tools for both arms.
GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add aicodeking/leanrea
MCP 初心者?mcpskill.org のガイドから始めましょう →