reverse-engineer-anything
它能做什么
这个技能教你的智能体使用 REA 工具,对已编译的应用、软件包、固件和浏览器目标进行逆向工程。它适合需要从已发布产品中获取证据,而不只是看源代码的人。
适用场景
- ✓需要说明已发布的桌面、移动或浏览器应用实际如何运作的时候。
- ✓想比较同一个打包应用两个版本之间有哪些变化的时候。
- ✓想根据在线网站或录制内容,把网页应用重建为可运行的智能体环境的时候。
技能链接
https://github.com/morluto/rea/blob/main/.agents/skills/reverse-engineer-anything/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“你能用 REA 看看这个打包应用如何处理文件上传,并告诉我它实际上做了什么吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体连接 REA 工具,将其指向程序或软件包,从已发布的文件或正在运行的副本中收集证据,然后用通俗的语言解释结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
REA
Use REA when a claim depends on a shipped binary or package, decompilation, requested runtime evidence, or comparison with behavior not established by available source. For ordinary analysis of a complete source repository, use normal repository tools and do not run REA readiness or provider commands.
Connect only when needed
Installing this skill supplies instructions; it does not register the REA MCP
server, install analysis engines, or add tools to an already-running agent.
The exception is a Claude Code or Codex plugin install: the plugin bundles
this skill and registers its own rea server, outside the state that
rea setup and rea doctor manage.
If REA tools are available and their registration is not known to be stale, proceed directly to the target. Do not run diagnostics or setup before every investigation. Use the connected server's actual tool list and input schemas; a skill installed from repository main may describe capabilities absent from an older npm release. Keep complete inline Evidence when that server does not advertise retained references.
If tools are absent, a call is blocked by the client, or a required provider is
unavailable, read connection and recovery.
Diagnose the observed blocker, continue useful supported work, and resume the
original task after repair. Client approval, shell PATH, registration and engine
availability have different remedies; avoid repeating setup for all of them.
If the host times out without a REA result, do not repeat the unchanged call or
assume work stopped. Read the recovery guide's deadline distinction before retrying.
If the MCP connection drops, retry that call once only when it is safe to
repeat or known not to have started. If it may already have changed the
target, or it fails again, tell the user and ask them to restart the MCP
client. If REA could not start its connection, retry once, then tell the user
and ask them to restart the MCP client. Do not retry a startup failure that
returns the same unchanged result. For plugin installs, follow
plugin recovery.
For setup-owned registrations, run rea doctor when REA could not start
or tools stay missing after that restart. For cleanup_incomplete, a retryable
capacity limit, or configuration_invalid, follow the recovery guide's ladder
before asking for a restart. Read that guide before a second repair attempt.
Choose the installation owner before repairing registration. Plugin installs use
plugin recovery;
only setup-owned registrations use the guide's
registration repair plan.
A plugin-only doctor result of missing does not call for rea setup.
REA setup never installs or upgrades Node.js, npm, Homebrew, Java, Ghidra, IDA, JADX, Kuna, Binwalk, or Unblob. Use existing prerequisites; do not install unrelated software to repair MCP registration. For an unsupported client, use manual stdio registration with an existing installation’s absolute runtime and entry script, or continue through the CLI.
A concrete CLI fallback for an operator-supplied JavaScript tree or ASAR is:
npx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json
No MCP registration or native engine is required. Read the returned Evidence,
graph, limitations, and unknowns with the same care as an MCP result; the CLI
returns the Evidence record directly. This fallback does not establish that
MCP is configured. Native CLI tasks still require their selected engine.
Prefer an existing rea CLI. When none is installed and REA package acquisition
is within the authorized scope, use npx -y rea-agents@latest in its place from a
trusted directory outside the target project, with absolute target paths. Managed
setup binds the current installation directly; retain its runtime and package
cache entry, or restore that installation before repairing its registration.
For setup-owned registration, configuration repair starts with a read-only setup plan; show paths, backups and
skill replacement before applying authorized changes. Preserve existing approval
and target-execution boundaries.
Route the target first
Choose the first tool from the target the user supplied. Use open_binary for
active-target native or archive workflows;
常见问题
这个技能适用于普通的源代码仓库吗?
不适用。对完整源代码仓库进行常规分析时,技能会建议改用常规的仓库工具。
这个技能会替我安装 REA 工具吗?
不会。它只提供说明。REA 工具需要单独连接,除非它是作为自带服务器的插件提供的。
它能检查哪些类型的程序?
涵盖原生程序、托管程序、Electron 或 JavaScript 程序、打包程序、固件和浏览器目标。
详情
作者的原始描述
Reverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.
repo: morluto/rea
热度
- GitHub 星标
- 422k
- 排名
- #1
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …