rea-jev
Reverse-engineer anything with agents, with a System 1 reflex layer.
rea-jev is a Claude Code plugin that pairs REA
(Reverse Engineer Anything: the rea-agents CLI and MCP server for Hopper/Ghidra
native analysis, Electron and JavaScript bundles, .NET assemblies, Android
packages, browser observation, and evidence ledgers) with
Jev, TypeSafe's System One decision model.
Claude does the System 2 reasoning. Jev answers small typed questions in about
300 ms, for about $0.00005 a call, at the four points where a wrong reflex is
cheap to prevent and expensive to miss: routing the target before Claude
thinks, gating a risky REA call before it runs, classifying a result as
evidence after it lands, and checking whether "done" was earned before the turn
ends. Everything deterministic stays in code; Jev only handles the semantic
middle; every hook fails open.
Architecture
user prompt ──► [UserPromptSubmit hook: Jev routes target+workflow] ──► Claude (System 2, skill loaded)
│
┌────────────────────────────────────────────────────────┤ calls REA MCP tools
▼ ▼
[PreToolUse hook: deterministic rules → Jev scope/risk gate] [PostToolUse hook: Jev scores evidence,
flags unknowns + injected text, ledger]
│
Claude also calls `jev rank|classify|verify` directly on evidence
│
[Stop hook: Jev checks claims vs ledger; blocks unverified "done"]
The plugin bundles the reverse-engineer skill (the System 2 playbook), five
hooks and a jev CLI (System 1), REA's MCP server pinned to one version, two
subagents (rea-investigator, rea-verifier), and two commands
(/rea-jev:setup, /rea-jev:investigate). docs/architecture.md
has the full picture; DESIGN.md is the authoritative spec.
docs/user-guide.html is the user guide, with recorded
examples for every target type.
Install
claude plugin marketplace add juan-viox/rea-jev
claude plugin install rea-jev@rea-jev
Then set one key. Claude Code asks for the TypeSafe key when it enables the
plugin; or export one of these before starting Claude Code:
| Key | Provider | Model |
|---|
TYPESAFE_API_KEY | TypeSafe direct, POST https://api.typesafe.ai/v1/systemone (preferred: lowest latency) | jev-latest |
OPENROUTER_API_KEY | OpenRouter, POST https://openrouter.ai/api/alpha/decisions | typesafe/jev-1.13 |
Restart Claude Code, then run /rea-jev:setup once. It checks the Jev round
trip, REA's own readiness (Hopper or Ghidra for native binaries), hook
registration, and whether REA is registered twice.
Requirements: Node 22 or newer (REA needs 22.19+); macOS or Linux. Without a
Jev key the plugin still works as plain REA plus the skill: hooks stay silent.
The four System 1 decision points