AGENT SKILL

rea

Find out exactly how a feature is implemented in a shipped tool or app you don't have the source for (desktop apps, Electron apps like Claude desktop, native CLIs like Codex, websites, APKs, .NET assemblies) using REA - Reverse Engineer Anything (github.com/morluto/rea). Sets REA up when it is missing (CLI, MCP registration, Hopper or Ghidra), routes the target to the right REA tool, keeps evidence out of the context window, and turns findings into a clean-room spec before any rebuild. Use when the user says 'use REA', 'reverse engineer', 'how does <app> do X', 'how is this feature implemented in <tool>', 'clone this feature', 'decompile', 'look inside the app', or asks how a closed-source competitor works. Skip it when the source is available - read the repo instead.

License 许可
MIT
最近更新
2026-11-13
Stars
★ 47
Forks
5

01 前言 Front Matter

name
rea
license
MIT
version
1.0.1
mcp-deps
[ "rea" ]
metadata
{ "tags": "reverse-engineering, rea, decompile, electron, asar, hopper, ghidra, binary-analysis, clean-room, feature-research" }
repository
anton-abyzov/vskill
description
Find out exactly how a feature is implemented in a shipped tool or app you don't have the source for (desktop apps, Electron apps like Claude desktop, native CLIs like Codex, websites, APKs, .NET assemblies) using REA - Reverse Engineer Anything (github.com/morluto/rea). Sets REA up when it is missing (CLI, MCP registration, Hopper or Ghidra), routes the target to the right REA tool, keeps evidence out of the context window, and turns findings into a clean-room spec before any rebuild. Use when the user says 'use REA', 'reverse engineer', 'how does <app> do X', 'how is this feature implemented in <tool>', 'clone this feature', 'decompile', 'look inside the app', or asks how a closed-source competitor works. Skip it when the source is available - read the repo instead.

03 SKILL.md 正文

REA: learn how a shipped feature really works

When you need to know how a feature is implemented in a specific tool or app, do not guess from docs, marketing pages or memory. Look at the shipped artifact with REA and cite what you found.

REA (Reverse Engineer Anything) is an MIT-licensed CLI and MCP server by morluto. It decompiles and inspects native binaries (through Hopper, Ghidra or IDA), Electron/JavaScript bundles, websites, Android APKs, .NET assemblies, firmware and more, and returns Evidence records with IDs you can cite.

This skill is the entry point: set up, route, run, report. REA's own reverse-engineer-anything skill holds the detailed per-tool workflow; load it when it is installed.

0. Is the source available?

If the code is in a repo you can read (open source, the user's own project, an npm package with readable source), read it with normal tools. REA is for shipped artifacts: compiled binaries, minified bundles, signed apps.

1. Check the setup (once per machine, not per task)

If the REA MCP tools (open_binary, analyze_javascript_application, ...) are already in your tool list, or rea --version works, skip straight to step 2. Don't run diagnostics before every investigation. Only when something is missing or a call fails:

rea doctor --client claude_code --json         # or --client codex

Missing pieces, in order:

  1. CLI. Official package only: npm i -g rea-agents@latest (Node ^22.19, ^24.11 or >=26; 23 and 25 are unsupported). No install scripts; npm provenance is attached.
  2. Agent registration. Plan first, then apply:
    rea setup --client claude_code --client codex --skill=false --dry-run --json
    rea setup --client claude_code --client codex --skill=false --yes --json
    
    Add --install-hopper on macOS to download Hopper from hopperapp.com (codesign-verified, installed to ~/Applications). Setup then opens the Hopper app once: tell the user before you run it, because a person has to click "Try the Demo" (or enter a license) in its first-run window before REA can drive it unattended. Hopper is only needed for native binaries; Electron, JavaScript, web, APK and .NET work without it. Restart the agent afterwards so it sees the tools. Setup writes HOPPER_LAUNCHER_PATH only into the agents' MCP entries. The rea CLI looks in /Applications, so when Hopper went to ~/Applications export it in the shell profile too: export HOPPER_LAUNCHER_PATH="$HOME/Applications/Hopper Disassembler.app/Contents/MacOS/hopper". A first open can time out while Hopper is still starting; retry once.
  3. REA's own workflow skill (optional, recommended): rea setup --skill --dry-run --json shows the destinations (~/.agents/skills plus each registered agent's skill folder), then --yes installs. If the machine keeps one canonical copy in ~/.agents/skills with links from agent folders, replace the per-agent copy with a link to the shared one.

rea doctor reporting Ghidra or IDA as "not configured" is fine when Hopper works. Other unregistered clients show as config drift; ignore them.

Only trust github.com/morluto/rea and the npm package rea-agents. @morluto/rea is the superseded legacy name (old Hopper-only release); don't install it. Look-alike repos offering an "official free download" zip or a Windows installer are malware lures. Never run them.

2. Route the target

Target First move
Electron app (Claude desktop, Slack, VS Code, Cursor) analyze_javascript_application on <App>.app/Contents/Resources/app.asar, or on the unpacked Contents/Resources/app/ folder when there is no ASAR (VS Code, Cursor)
Native CLI or app (Rust, Go, Swift, C++: e.g. the Codex CLI binary) open_binary, then function and string search; close_binary when done
npm-distributed CLI (minified JS) analyze_javascript_application on the package directory
Website or web app The user opens the page in a browser with its debug port on localhost; list_browser_targets, then analyze_web_bundle with that endpoint and target ID
Android APK inspect_android_package
.NET assembly inspect_managed_artifact
Archive, DMG, IPA, ZIP open_binary / inspect_artifact for the member inventory

The CLI mirrors the MCP tools (rea analyze-javascript-application <path>, rea decompile, rea function, rea inspect-artifact); run rea <command> --help for flags.

3. Run it without drowning the context

  • Ask for summaries. A full Electron analysis is large (Claude desktop's ASAR produced a 100 MB Evidence record). Over MCP, call analyze_javascript_application with detail: "summary", then drill in with inspect_analysis_view or trace_application_feature on the returned parent_evidence_id. Retained Evidence IDs live only within one MCP connection.
  • On the CLI, write to a file. --json > file, then slice with --filter-output / --token-limit, or rea inspect-analysis-view, which takes workflow JSON (see its --schema), not the raw file. Never paste a whole record into the conversation.
  • Signed Electron apps fail integrity by default. Code signing rewrites unpacked native modules after packaging, so the declared ASAR hash no longer matches. When the error names an unpacked .node file, rerun with --integrity-policy record-and-continue (MCP: integrity_policy: "record-and-continue"). Those bytes are marked untrusted and coverage is reported as partial.
  • Go from the user-visible string inward. Find the UI text, setting name, CLI flag or API path the feature exposes, locate it in the bundle or binary, then follow callers and data flow to the implementation.
  • Static before runtime, CLI before GUI. Run the target (Electron or process capture) only when static evidence can't answer the question and the user agreed to launch it. Don't open GUI apps that wait on a prompt.
  • Batch around one hypothesis. Reuse the open session and existing Evidence instead of re-running identical analysis.

4. Report

Separate three things, every time:

  • Observed: what the artifact contains, with Evidence IDs and file or function locations.
  • Inferred: what you conclude from it, and how confident you are.
  • Unknown: what static analysis could not show (server-side behavior, runtime-only branches, encrypted payloads).

Lead with the plain-language answer to the user's question, then the evidence.

5. Rebuilding a feature (clean room)

When the goal is to build the same capability:

  1. Write a behavior spec from the evidence: inputs, outputs, states, edge cases, error handling. Describe what it does, not their code.
  2. Implement from that spec with normal coding tools, in your own design.
  3. Do not copy decompiled code, embedded assets, keys, tokens, model prompts or proprietary text into the user's project.

Boundaries

  • Analyze software the user is licensed to run, for interoperability, research, security review or understanding a feature. Check the vendor's terms when the user plans to ship a clone.
  • Secrets found inside an artifact (API keys, tokens) are reported as a finding, never used and never written to files or commits.
  • Don't bypass DRM, licensing checks or anti-tamper, and don't attack servers. REA reads local artifacts and observes what the user runs.

04 同仓库更多 Skills

anton-abyzov
anton-abyzov/vskill

x-reply-drafts

Find live X threads where a product genuinely fits, and draft truthful, humanized replies for the owner to review and post by hand. Human pace only: max 5 replies a day, never two within 20 minutes, no automated posting. Use when the user asks to 'find threads to reply to', 'draft X replies', 'reply-guy session', 'join trending conversations', 'engage on Twitter about <product>', or wants a daily batch of reply drafts. Not for scheduling original posts (social-media-posting) or bulk publishing (blotato).

★ 47
anton-abyzov
anton-abyzov/vskill

hello-world

A tiny test skill used by the 0853 verify-runtime harness. Says hello. No external calls. Use when the user asks for a sanity-check skill in a verify-harness fixture.

★ 47
anton-abyzov
anton-abyzov/vskill

existing-skill

Lint markdown files for style and grammar issues.

开发工程师文档处理
★ 47
anton-abyzov
anton-abyzov/vskill

remotion-best-practices

Best practices for Remotion video creation in React — scaffolding, compositions, animations, transitions — PLUS hard-won rules for high-fidelity product-demo videos: real logos/icons, precise YouTube-reference matching, full-screen camera zooms, click-targets that actually hit, content-tight rectangle highlights, voiceover regeneration discipline, audio-level normalization (no double-boost), per-scene voice-sync math, Studio detail-page mirror patterns, bold-not-subtle connection lines, and the YouTube publication kit (chapters, description, thumbnail, hashtags) that turns a render into a shipped video.

产品经理前端开发图像与多媒体
★ 47
anton-abyzov
anton-abyzov/vskill

motion-graphics-promo

After Effects-style motion graphics for short product promos (15-45 s, vertical or landscape), built as code with HyperFrames + GSAP. Covers a story-first brief, motion grammar (energetic entry, one transition per task, spring settle, 2-3 s of stable proof), a 32-second promo timeline, device-frame and kinetic-type recipes, vertical-first composition, evidence rules (real UI only, no fake clicks), music licensing and encoded-frame verification. Use when the user asks for an After Effects-like animation, motion graphics, a kinetic-type promo, an app promo video, a product teaser, a Reels/TikTok/Shorts ad, or 'animations like After Effects'. Also covers short explainers, tutorials and 15-second vertical ads: a design kit (footage beds, condensed caps in a marker box, white device frames, falling stickers, voice-over with music ducking) and HyperFrames render traps that silently break output. Pairs with hyperframes-best-practices (screencast pipeline) and remotion-best-practices.

开发工程师设计师视觉设计图像与多媒体
★ 47
anton-abyzov
anton-abyzov/vskill

hyperframes-best-practices

Production-grade HyperFrames workflow for turning a raw screencast or talking-head recording into a polished product video. Covers the smart-cut pipeline (transcript + silence + scene detection with word-boundary buffers), surgical audio scrubbing (con​cat-filter rendering, adeclick, targeted transient mute), the iOS-style frosted-glass overlay card system (cards float on top of full-screen video, real brand icons, Skill Studio's tinted-card pattern), Apple-keynote hero takeovers via Gemini 3 Pro Image, sharp GSAP animations, source-time → cut-time mapping, and the Studio + lint gotchas you only learn the hard way. Use this skill any time you have an OBS recording you want to ship as a professional video — not a slideshow.

设计师视觉设计图像与多媒体
★ 47