REA: Claude Code shows how a feature in an app works, then builds your own version
- GitHub stars
- 351K
- kinds of targets
- 28
- AI agents it works with
- 24
See a cool feature in someone else's app? Claude Code can show you how it works inside: you click this button, and here's what happens next. It shows the evidence, then builds your own version for your project. This is REA, and Claude Code sets it up from one prompt.
What it is
REA (Reverse Engineer Anything) is an open-source tool with an MIT license. It gives Claude Code tools to look inside software. You don't need the source code: REA inspects the app or the page itself, on your own computer.
You ask about one feature, for example what happens when you click a button. REA traces the code behind it and returns the evidence: files, functions, requests, and what is still unknown. Claude explains it step by step in plain words.
Then Claude uses what it found to build a similar feature for your own project and test it. You don't start from a blank page, you start from something that already works.
- Websites: Claude watches one action in a separate browser window and shows which requests the page makes and which script handles them.
- Desktop apps: many apps are built with JavaScript and Electron, and REA reads them without running them. No extra software needed.
- Other programs: games and programs in machine code need an analysis engine, such as the free Ghidra (it needs Java), Hopper or IDA.
Steps
Step 1. Open Claude Code
Start Claude Code on your computer, wherever you usually work.
Step 2. Paste the prompt into Claude Code
Paste it into Claude Code, not into Instagram DM. Claude checks Node.js, shows you REA's setup plan and changes nothing until you say OK. Then it tells you how to restart Claude Code and come back to the same chat.
Step 3. Try the practice app
After the restart, Claude tries REA on a small practice app from the REA website and shows you what happens when you click Export notes, with the files and lines. Then pick a feature you like in an app or on a website and ask the same way.
Paste this into Claude Code, not into Instagram DM
Set up REA (Reverse Engineer Anything) in my Claude Code: an open-source tool (MIT license) that inspects apps and websites without their source code, github.com/morluto/rea. Use only the official sources: github.com/morluto/rea, rea.tools and the npm package named exactly rea-agents. The README warns that copies with similar names exist, so never use a fork, a mirror or a look-alike package. Work step by step: 1. Check that Node.js and npm are installed. REA needs Node.js 22.19 or newer, 24.11 or newer, or 26 and newer (23 and 25 don't work). If Node.js is missing or too old, tell me and, after my OK, install Node.js 24 LTS the way rea.tools/get-started recommends for my system. On Windows, if PowerShell refuses to run npx, use its .cmd version, as that page says. On Linux, check that the procps package is installed: REA needs its ps tool to inspect apps. 2. Check on npm that the rea-agents package points to the repository github.com/morluto/rea, and note its latest version. Use exactly that version in every REA command below, so what gets installed is what I approved. 3. Run REA's setup for Claude Code only (client claude_code) as a dry run with JSON output, so nothing changes yet. Show me the plan in plain words: which files it changes, which backups it makes and which skill it installs. Don't install Hopper or any other analysis engine now. Change nothing until I say OK. 4. After my OK, apply the same setup for Claude Code only, without Hopper. Your terminal isn't interactive, so use the setup option that confirms the plan I approved. Check that it finished. If setup says the configuration changed while it was working, run it again. Then tell me how to restart Claude Code and continue this same conversation. 5. After the restart, check that the REA tools are connected and list them for me in plain words. 6. First try, on the official practice app: download https://rea.tools/examples/notes-example.zip into a new folder called rea-practice in my home folder and unpack it. Don't run it. Use REA to find out what happens when I click Export notes: where notes.csv is written, which fields it has, and which files and lines prove it. Explain it simply. 7. Explain how to use REA on my own targets and what each one needs: a feature on a website (you open a separate browser window just for this, I click, REA records what happens), an app installed on my computer, and programs that need an analysis engine (the free Ghidra with Java, or Hopper or IDA under their own licenses). Give me three example requests, such as: find out how search works in an app, show me the evidence, and build a similar feature for my project. Rules for every investigation: only software I own or am allowed to examine. Never help me get around logins, paywalls, license checks, DRM or anti-cheat, and don't copy someone else's code, images or texts into my project: build my own version from how it works. If a request crosses that line, stop and tell me. Before you inspect private files, remind me that you, Claude, will see the results. If something fails, explain why and fix it. I'm not a developer: do everything you can do yourself.
Want this working for your business?
- AI agents for your business
- Automations for the work you repeat
- 1:1 consulting calls
Good to know
What you need
Claude Code on your computer with an eligible Claude subscription or an API account, Node.js 22.19+, 24.11+ or 26+ (the prompt checks it and can install it), and Chrome or another Chromium browser for websites. REA runs on Windows, macOS and Linux, but not every engine does: Hopper has no Windows version.
Start with websites and apps
Websites and JavaScript or Electron apps need nothing besides REA, so start there. Programs in machine code need an engine: Ghidra is free but needs Java 21 or newer, Hopper has a free demo with limits, and IDA comes with its own license terms. REA's setup never installs Java or Ghidra for you.
Only the official REA
Get REA only from github.com/morluto/rea, rea.tools or the npm package rea-agents. The project itself warns that a similar repository name or a copied README doesn't make a download official. The repo has more than 88,000 forks, so it's easy to land on a copy.
One question at a time
REA works best with one clear question: what happens when I click this, where this data comes from, how this number is calculated. Ask for the evidence first, then ask Claude to build your version and test it.
The honest read
- Use it only on software you own or are allowed to examine. REA's own rules forbid getting around DRM, license checks, logins and anti-cheat, and copying protected code or assets. Reverse engineering can also be limited by law or by an app's license, so check before you put what you learn into a product.
- Results can be incomplete or wrong. REA shows the evidence and the open questions behind every answer: read them before you rely on a conclusion.
- The analysis runs on your computer, but Claude sees the results, like anything else you show it. Don't point it at files you can't share.
- Setup connects REA to Claude Code for all your projects and backs up the configuration first. REA changes fast, so from time to time ask Claude to update it from the official npm package.
- Investigations run on your Claude Code plan and use its limits, like any other work.
Want this built for your business?
I build AI agents and automations for businesses, and do 1:1 consulting calls. Message me on Instagram with what your business does, and I'll tell you what can be automated.
Message me on Instagram