rea
FreeNo executable scriptsNot checkedReverse-engineer binaries and application packages (ELF, PE, Mach-O, APK, IPA, HAP, WASM, ZIP/JAR containers, JavaScript bundles) through the rea MCP server…
by akillness★ 63 GitHub starsAbout this skill
rea: binary and application reverse engineering
The rea MCP server runs on the host machine, not inside this container. Its tools are named mcp__rea__<tool>. After this skill loads, their names appear as deferred tools: fetch each tool's schema with SearchExtraTools (for example select:mcp__rea__open_binary, or keywords like rea strings), then invoke it with ExecuteExtraTool. Use the tool that directly answers the question; do not enumerate the whole catalog.
1. File paths: container view vs host view
rea opens files on the HOST filesystem, not inside the container. Only files under the bind-mounted data directory are visible to both sides; the exact host prefix is deployment-specific (check the compose file, or ask the operator via task chat when unknown).
Rules:
- Save or download every target file inside your run directory, with a relative path such as
rea/(your working directory is the run directory, and it sits under the bind-mounted data directory, so both sides can see it). Do not save to an absolute path outside the run directory: the Write tool refuses it. Files elsewhere in the container are invisible to rea. - Always pass the host-side path in rea tool parameters: take the absolute container path of that directory (
pwdin the run directory, plusrea/) and replace the container data directory prefix with the host prefix of the same mount. If open_binary reports the path as missing, you passed a container path: retry with the host-side equivalent of the same mount. - Verify the file exists on your side (ls) before opening it with rea.
2. Session lifecycle
open_binarywithpath(host path). For native binaries (ELF, PE, Mach-O) setprovider_id: "ghidra"; if the error lists candidate provider ids, retry with one of them. Packages and bundles (APK, IPA, HAP, zip, JAR, wasm, JavaScript) need no provider.- Run analysis tools (
search_strings,list_strings,search_procedures,inspect_native_*,project_managed_application_graph, family-specific graph tools, ...). Results are Evidence objects: they carry an evidence id, a normalized result, and a limitations section. Record anything task-relevant as facts in the knowledge graph and cite the evidence id in findings. close_binarywhen done. One open target per session; close before opening another. Never leave a binary open at the end of a run.
3. What to use it for (authorized targets only)
- Client-side artifacts fetched from an in-scope target: mobile apps (APK, IPA, HAP), desktop binaries, Electron app archives, obfuscated JavaScript bundles, wasm modules.
- Embedded secrets and configuration: API keys, tokens, endpoints, debug flags, test accounts (
search_stringswith patterns likekey,token,secret,password,http, base64 blobs). - Fingerprinting: sha256 and component inventories identify the exact build and its third-party libraries.
- Deep dives: strings and constants, imports and exports, procedures, managed type graphs, native API usage.
4. Practical notes
- Prefer scoped queries (one string pattern, one procedure) over whole-binary deep passes; some analyses take minutes. If the server is configured with a short request timeout, budget accordingly.
- Large results are truncated to the session output limit with spill to disk; narrow the query instead of paging through huge output.
- If a call fails with
capability_unavailable, read the message: it usually lists the exact candidate provider ids or the remediation to apply. - rea reads files only; it never executes the target.
- rea cannot see container-only paths; do not try to open files outside the shared data mount.
Install rea in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the rea skill do?
Reverse-engineer binaries and application packages (ELF, PE, Mach-O, APK, IPA, HAP, WASM, ZIP/JAR containers, JavaScript bundles) through the rea MCP server running on the host. Invoke when a task needs static analysis of a compiled or packaged target: embedded secrets, hardcoded endpoints, native library review, string and constant extraction, managed code structure, or deobfuscation.
How do I install the rea skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the rea skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
by Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
by Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
by Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
by Anthropic