REA:让 AI Agent 拆解软件并生成复刻代码的逆向工程工具
Highly recommend adding REA to Claude Code or Codex. The name stands for 𝗥𝗲𝘃𝗲𝗿𝘀𝗲…
不仅介绍了工具,还直接给出了可复用的结构化 Prompt 和合规使用指南,实操性强且结构清晰。
Highly recommend adding REA to Claude Code or Codex. The name stands for 𝗥𝗲𝘃𝗲𝗿𝘀𝗲 𝗘𝗻𝗴𝗶𝗻𝗲𝗲𝗿 𝗔𝗻𝘆𝘁𝗵𝗶𝗻𝗴. See a feature you like in another app? Have your agent take it apart to see how it's built, then 𝗯𝘂𝗶𝗹𝗱 𝘆𝗼𝘂𝗿 𝗼𝘄𝗻 𝘃𝗲𝗿𝘀𝗶𝗼𝗻 in your project. It's been #1 on GitHub's daily trending two days running and is past 60K stars.
强烈建议将 REA 集成到 Claude Code 或 Codex 中。REA 代表 𝗥𝗲𝘃𝗲𝗿𝘀𝗲 𝗘𝗻𝗴𝗶𝗻𝗲𝗲𝗿 𝗔𝗻𝘆𝘁𝗵𝗶𝗻𝗴(逆向解析万物)。在别的应用里看到喜欢的功能?让你的代理将其拆解以了解其构建原理,然后在你的项目中 𝗯𝘂𝗶𝗹𝗱 𝘆𝗼𝘂𝗿 𝗼𝘄𝗻 𝘃𝗲𝗿𝘀𝗶𝗼𝗻(构建你自己的版本)。它已连续两天位居 GitHub 每日趋势榜首,星标数已突破 6 万。
The apps on your computer are finished products. Think of a baked cake: you can taste it, but you can't see the recipe. REA hands your agent the tools made for taking software apart. It works down layer by layer, shows you where each finding comes from, and then walks you through the recipe. You can point it at desktop apps, websites and Android apps.
你电脑上的应用都是成品。就像烤好的蛋糕:你可以品尝味道,但看不到配方。REA 为你的代理提供了专为拆解软件而设计的工具。它会逐层深入分析,展示每个发现的来源,然后带你回顾整个‘配方’。你可以用它来分析桌面应用、网站和 Android 应用。
Ask it things like: → "How does this notes app show search results the moment I start typing?" → "Why does text copied from Notion keep its formatting when I paste it somewhere else?" → "How does this old game work out that ring of bullets?" → "Our company's 10-year-old internal tool lost its source code years ago. What is it actually doing?"
可以问它诸如: → “这个笔记应用在我开始输入时是如何即时显示搜索结果的?” → “为什么从 Notion 复制的文本粘贴到其他位置时仍保留格式?” → “这款老游戏是如何计算出那圈子弹轨迹的?” → “我们公司的一个十年内部工具多年前就丢失了源代码。它实际上在做什么?”
Take apart your own software and open-source code as much as you like. For anyone else's, check the terms first, since many forbid reverse engineering. Don't bring it cracking or license-bypass jobs; the model will most likely refuse anyway.
随意拆解你自己的软件和开源代码。对于其他人的作品,请先查看使用条款,因为许多条款禁止逆向工程。不要用它来从事破解或绕过许可证的工作;模型大概率也会拒绝执行此类请求。
Run npx rea-agents setup in your terminal, pick your agent when it asks, and restart it. Then send this prompt to Opus 5.5 👇
在终端中运行 npx rea-agents setup,在提示选择代理时进行选择,然后重启代理。接着向 Opus 5.5 发送以下提示 👇
"I want to use REA to figure out how a feature in some software works. 1. First ask me which app and which feature I want to study, then have me say whether it's my own, open source, or software whose terms allow reverse engineering. If I can't say, don't start. 2. Work out what kind of program it is first. If you need Hopper, Ghidra or IDA, tell me which one is missing and where to get it. Don't install it yourself. 3. Back every finding with evidence: which file, which function or address. Keep what you saw separate from what you're guessing. At the end, explain it all in words a 10-year-old could follow. 4. Once it's clear, tell me the minimum pieces I'd need to write to build something similar in my own project, without copying its code. Show me the plan first, and only start writing after I agree."
“我想使用 REA 来弄清楚某个软件中某项功能的运作方式。 1. 首先询问我要研究哪个应用及哪项功能,然后让我说明它是我的私有应用、开源项目,还是使用条款允许逆向工程的软件。如果我无法确认,请不要开始。 2. 先确定这是什么类型的程序。如果需要 Hopper、Ghidra 或 IDA,请告诉我缺少哪一个以及从哪里获取。不要自行安装。 3. 为每个发现提供证据支持:具体是哪个文件、哪个函数或地址。将你观察到的事实与推测内容区分开来。最后,用一名 10 岁儿童也能理解的语言解释所有内容。 4. 一旦理清思路,告诉我为了在我的项目中构建类似功能而不抄袭其代码,我需要编写的最小代码片段。先向我展示计划,待我同意后再开始编写。”
https://github.com/morluto/rea
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力