Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add CATWILLgh/MAINFRAME --skill mainframe-leanreagit clone --depth 1 https://github.com/CATWILLgh/MAINFRAMEWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/catwillgh/mainframe/mainframe-leanrea)<a href="https://agentmods.dev/skills/catwillgh/mainframe/mainframe-leanrea"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-leanrea/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/catwillgh/mainframe/mainframe-leanrea"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-leanrea.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00035 | $0.00426 |
| Opus 5.5 | $0.00014 | $0.00170 |
| Sonnet 5.5 | $0.00007 | $0.00085 |
| Haiku 4.5 | $0.00003 | $0.00043 |
Grade A, and why
mainframe-leanrea scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Inspect shipped software
Adapted from AICodeKing's LeanREA. The MIT license accompanies this copy. Upstream credits the REA team for informing its tool guidance.
- Work on an authorized copy in a fresh scratch directory. Reuse a matching
extraction. On APFS, a clone copy with
cp -ccan avoid duplicating data. Start with static inspection and trace runtime only on an authorized process or device. Keep collected output local and redact sensitive evidence. - Start with
file -band magic bytes. Inventory before decompiling. Search extracted trees withrg -uuso hidden bundle paths are included. Read bounded slices of large files and reuse a disassembly instead of dumping it repeatedly. Batch independent probes and keep their outputs attributable. - Use installed tools or the listed fallback. Get authority for installation or network-dependent alternatives. For build comparisons, diff inventories before code. Verify any minimal reimplementation with the same inputs and outputs as the original.
| Target | Read |
|---|---|
| Mach-O, ELF, PE, Go, Rust, .NET, Flutter snapshots, or WASM | Native binaries |
| Electron, web or Hermes bundles, APKs, SQLite, plist, pcap/HAR, firmware, or runtime tracing | Bundles and data |
Tie observations to a file, offset, symbol, or string. Label inferences and unknowns. Use runtime evidence when the claim depends on actual execution. Finish when the requested conclusions have evidence.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 13d ago Changed · -59 lines · -34 tokens per session 55c79e37bc5c
- 20d ago First seen · 90 lines · 69 tokens per session scan A a356e849aca8
mainframe-leanrea is a skill published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 13d ago), licensed MIT. It adds 35 tokens to every session and 426 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-10.
mainframe-leanrea compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mainframe-leanreaCATWILLgh/MAINFRAME | Skill | 2 | 13d ago | MIT | A | 35 | Claude Code, Codex |
| root-causehamr0/liteagents | Skill | 28 | 3d ago | Apache-2.0 | A | 56 | Claude Code |
| refactorhamr0/liteagents | Skill | 28 | 3d ago | Apache-2.0 | A | 10 | Claude Code |
| ai-slop-cleanerYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 25 | Claude Code |
| debugYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 22 | Claude Code |
| rubber-duckkirodotdev/KiroCrew | Skill | 5.1k | today | Apache-2.0 | A | 161 | Claude Code, Codex |
| aoe-runtime-lifecycleagent-of-empires/agent-of-empires | Skill | 5.2k | today | MIT | A | 76 | Claude Code, Codex |