一个取代REA(逆向工程师 Anything)的8KB技能:平版CLI工具,没有MCP. 基准:38%更快,35%更便宜.
概览
REA(逆向工程师 Anything) 在您的代理和工具之间放置一个 MCP 层,它已经可以使用: asar, otool, nm, go s版本 - m, jadx, apkool, Ghidra, tshark, binwalk, sqlite3. 斜地掉下来了 它告诉特工哪一个指令对每种目标来说都最快,给予它随时可被打的侦察命令,并列出REA代码为你处理的陷阱. 代理商然后自己运行真正的工具. 克洛德代码无头 (claude-p), Sonnet 5.5, macOS arm64. 4个倒置工程任务 ×3个代表 ×3个臂,两臂并排. 答案按手制钥匙进行分级. 与REA相反,李瑞亚有。 它的一个部分误差将更古老的IPC频道命名为"v2"(两个频道都存在). 任务: -:通过真正的Electron App的app.asar(内在功能 → 主进程类 → IPC频道)来追踪一个特性. - 清点出口、TCC许可检查和该应用程序的本地添加物(.node)的单机锁.
概述(AI 翻译)
** 1个8 KB技能文件,能做REA的工作:没有MCP服务器,没有207个工具,没有设置. **
REA(逆向工程师 Anything) 在您的代理和工具之间设置一个 MCP 层,它已经可以使用: asar, otool, nm, go version -m, jadx, apkool, Ghidra, tshark, binwalk, sqlite3. 斜地掉下来了 它告诉特工哪一个指令对每种目标来说都最快,给予它随时可被打的侦察命令,并列出REA代码为你处理的陷阱. 代理商然后自己运行真正的工具.
{\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}你觉得呢? |.
- 25 MB npm 包 + MCP 服务器 + one
SKILL.md+ QQ - 指导 + 23.5 KB 技能 + 48.8 KB 参考 + 8 KB + QQ 添加到代理 QQ 207 (定义的 3.35 MB) QQ 0 (使用 Bash) QX QQ 上下文“ 回复确定 ” , 所有工具装入 QQ 400.7k 令牌, $1.60 Q34.5k 令牌, $0.09 QQ
□ 基准
克洛德代码无头 ([[T2])), Sonnet 5.5, macOS arm64. 4个倒置工程任务 ×3个代表 ×3个臂,两臂并排. 答案按手制钥匙进行分级.
总的墙上时间 成本 转动符号 分数 唵(引)|(二合引)贺.
- ** leanrea** ** 388 s ** ** 2.17 ** ** ** 55 ** ** ** 2.40 M ** ** | 74/75 * *
本页由 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
ghbinary. - 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.
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add aicodeking/leanrea