explainx.ai0k
TrendingAI News TodayPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcptoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR: questions people ask first
  • What the skill actually contains
  • The benchmark, as the author reports it
  • What is verified and what is not
  • The token math behind the claim
  • A per-target playbook, in plain terms
  • How to check the claim yourself
  • What people are likely to ask
  • When leanrea makes sense, and when REA still does
  • Try it safely
  • Why a tiny repo gets noticed
  • Related reading
← Back to blog

explainx / blog

leanrea: An 8 KB Skill That Replaces the REA MCP Server, Claimed vs Verified

Agent Skills, Claude Code, Reverse Engineering, MCP, Open Source

Part of Agent Skills

leanrea is an MIT 8 KB Claude Code skill claiming 38% faster and 35% cheaper reverse engineering than REA. What the benchmark does and does not show.

Oct 23, 2026·8 min read·Yash Thakker
add explainx.ai
go deep
leanrea: An 8 KB Skill That Replaces the REA MCP Server, Claimed vs Verified

A one-file project is climbing GitHub's new-repo list: leanrea, an 8 KB skill that claims to do what the REA MCP server does with no server, no 207 tools and no setup. According to the repository, it sits near 1.4k stars and 206 forks. Its headline claim, from the author's own benchmark, is 38% faster and 35% cheaper than REA at similar accuracy. This post checks what that number is made of.

If you are new to the topic, start with our guides to installing the REA skill and the projects built with it.

TL;DR: questions people ask first

table · 2 cols
QuestionAnswer
What is it?One SKILL.md (8 KB) telling an agent which CLI tool to use per target type
LicenseMIT
Needs an MCP server?No; the agent runs otool, nm, go version -m, asar, rg via Bash
Installnpx skills add aicodeking/leanrea or copy to ~/.claude/skills/
Speed and cost claim38% faster, 35% cheaper than REA (author's benchmark)
Independently verified?No
Affiliated with REA?No, per the README

What the skill actually contains

The README describes the skill as "One 8 KB skill file that does what REA does: no MCP server, no 207 tools, no setup." Instead of exposing hundreds of tool schemas to the model, it gives the agent a decision table: for an Electron app, unpack with asar; for a Mach-O binary, start with otool and nm; for a Go binary, go version -m; plus entries for Android and WebAssembly, and a list of common pitfalls. The agent then calls the tools itself through its shell.

This is the same bet behind the wider agent skills movement: a text file the model loads on demand can replace a running server when the underlying tools already exist on the machine. Our primer on how skills turn into loops covers the mechanics.

The benchmark, as the author reports it

The author ran Claude Code headless with Sonnet on macOS arm64, four tasks, three repetitions per cell, three arms:

table · 5 cols
ArmWall timeCostTurnsScore
leanrea388 s$2.175574/75
No skill479 s$2.218167/75
REA627 s$3.3612475/75

The 38% and 35% figures come from comparing the leanrea and REA rows (388 s versus 627 s, $2.17 versus $3.36). REA scored one point higher. The README also reports that merely loading all tools for a trivial "Reply OK" prompt cost about 34.5k tokens for leanrea versus 400.7k for REA, which is the structural reason an MCP server with 207 tools is expensive: every tool schema sits in context. Our MCP primer explains why.

What is verified and what is not

The numbers above are the author's. Nothing in the repository has been independently reproduced, and the README is candid about why you should be careful:

  • Only three reps per cell, one model, one machine.
  • REA was tested in its best case, with deferred tool loading.
  • Ghidra, Hopper and jadx were not installed, so native tasks used Xcode tools for both arms. REA's real advantage, deep decompiler integration, was therefore not exercised.
  • The gain over no skill is much smaller: about 19% faster and 32% fewer turns, at nearly equal cost.
  • The answer keys match specific app and gh versions, so other versions need new keys.

The honest reading: on a small, macOS-only task set where the heavy decompilers were absent, a short skill matched a large toolset on quality while using far fewer tokens. That is plausible and consistent with how context overhead works, but it is not evidence that leanrea replaces REA for serious binary analysis.

Weekly digest3.6k readers

Catch up on AI

Curated AI updates on agents, skills, and MCP — delivered to your inbox. Unsubscribe anytime.

The token math behind the claim

The most defensible number in the README is not the speed-up; it is the context overhead. Loading every tool definition for a trivial prompt cost about 34.5k tokens for leanrea versus 400.7k for REA, a gap of roughly 366k tokens. The cost row follows from that. REA's run cost $3.36 against leanrea's $2.17, a difference of $1.19 across the benchmark, while REA also needed 124 turns against 55. Every extra turn re-sends the accumulated context, so a large tool catalogue compounds: more schemas in the prompt, more turns, more cached or re-read tokens.

Prompt caching softens this. The author says REA was tested in its best case with deferred tool loading, which means the tools were not all injected up front. Even so, REA took 627 seconds against 388. That suggests the turn count, not only the schema size, drives the gap: the skill tells the agent which command to run first, so it wastes fewer exploratory calls. Note, however, that the no-skill arm used 81 turns and cost $2.21, almost the same as leanrea. In other words, the cheapest explanation for the cost advantage is that REA is expensive in this setup, not that leanrea is unusually cheap.

A per-target playbook, in plain terms

Based on the README's description, the skill works as a lookup from target type to first move. Treat this as our summary of the idea, not a copy of the file.

table · 3 cols
Target typeTypical first tool the skill steers towardWhat the agent learns
Electron appasar to unpack the bundleJavaScript sources and resources
Mach-O binaryotool, nmLinked libraries, symbols
Go binarygo version -mModule and dependency versions
Android packageStandard package inspection toolsManifest and resources
WebAssemblyWASM inspection toolsImports, exports
Anythingrg for fast searchStrings, endpoints, flags

The value of a skill like this is encoded experience: which tool is fastest, and which traps waste turns. A strong model already knows most of these tools, which is why the no-skill arm scored a respectable 67 of 75. The skill's lift is in the last few points of accuracy and in fewer wasted turns.

How to check the claim yourself

You do not need to trust the table. A small replication is cheap:

  1. Pick three or four targets you are allowed to analyze, such as an open-source Electron app and a Go CLI.
  2. Write the same question for each, with a known answer key, such as "which endpoint does the updater call".
  3. Run your agent headless with no skill, with leanrea installed, and with REA connected, three or more times each.
  4. Record wall time, cost, turns and whether the answer matched the key.
  5. Install the decompilers the author skipped, so the native-code tasks are a fair test.

If your numbers disagree, that is useful data; publish it. The author already flagged that three repetitions on one machine cannot separate a real gain from noise.

What people are likely to ask

Does it work on Linux and Windows? The benchmark ran on macOS arm64, and several listed tools such as otool are macOS-specific. The README does not claim cross-platform results, so expect to adapt the commands.

Is a skill safer than an MCP server? Not automatically. A skill steers an agent that already has shell access; an MCP server can constrain which tools exist at all. The trade-off is flexibility against a narrower attack surface, discussed in our REA MCP analysis.

Will it keep working after tool updates? The answer keys are tied to specific app and gh versions, so benchmark tasks will drift. The skill itself, being instructions, is easier to update than a server, but someone has to maintain it.

When leanrea makes sense, and when REA still does

Pick leanrea when your targets are packaged apps, Go binaries or simple Mach-O files and you already have the command-line tools installed. The setup cost is one command, and you avoid running another server in your agent's tool list. Pick REA when you need its integrated decompilation tools, structured tool outputs, or when you want a security boundary around what the agent can invoke; our MCP server analysis covers those trade-offs.

Try it safely

bash
npx skills add aicodeking/leanrea

The repository is published by aicodeking. Read the README, and read the 8 KB file before installing; a skill is instructions your agent will follow with shell access. Run it on binaries you are allowed to analyze. Our clean-room checklist and the differential-testing guide explain how to stay on the right side of licensing and verify what an agent claims it found. For agent-security context, see AgentBeam, the agent security platform from the explainx.ai team, which stops agents before they take dangerous actions.

Why a tiny repo gets noticed

Two trends meet here. Developers are tired of paying a token tax for tool schemas they rarely use, and they are discovering that a well-written instruction file can steer an agent toward tools it already knows. A repo that quantifies the difference, even imperfectly, spreads quickly. Expect copycat skills for other domains and, ideally, independent re-runs with more repetitions and the decompilers installed.

Related reading

  • REA MCP server and agent security
  • How to install the REA skill
  • Top 10 projects built with REA
  • REA reverse engineering as a prompt
  • Reverse engineering with an AI agent: prove it
  • Agent skills donated to the Agentic AI Foundation

Repository details, star counts and benchmark figures are as of October 23, 2026.

Spotted something out of date? Let us know.
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Oct 19, 2026

How to Install and Use the REA Skill With Claude Code

A practical setup guide for REA, the MCP server and skill that lets coding agents inspect apps without source. It covers install, skill-only mode, native providers, your first safe investigation and the mistakes that waste the most time.

Oct 19, 2026

Top 10 Projects Built With the REA Reverse-Engineering Skill

REA (Reverse Engineer Anything) is now a skill and MCP server that agents use to study closed software. We checked GitHub and picked ten public projects that credit it, from a Claude-style UI kit to a DX-Ball rebuild, and noted what each one really proves.

Oct 22, 2026

Archestra 1.4 "Arpa": OpenAPPA Guardrails, a Remote Agent Runtime and RBAC for Claude Code and Codex

Archestra, an open-source enterprise AI platform with guardrails, an MCP registry, gateway and orchestrator, released 1.4.0 "Arpa" on October 21, 2026. The release replaces its old guardrails with OpenAPPA policy-as-text, adds a remote agent runtime that hands work between laptop and server, new RBAC, and connection flows for Claude Code, Codex, OpenCode and Claude Desktop. Breaking changes included.