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 agentmods add skills/prime-radiant-inc/greenfield/binary-analysisnpx skills add prime-radiant-inc/greenfield --skill binary-analysisgit clone --depth 1 https://github.com/prime-radiant-inc/greenfieldWrote 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/prime-radiant-inc/greenfield/binary-analysis)<a href="https://agentmods.dev/skills/prime-radiant-inc/greenfield/binary-analysis"><img src="https://agentmods.dev/badge/skills/prime-radiant-inc/greenfield/binary-analysis.svg" alt="Measured on agentmods" 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 | $0.00050 | $0.03202 |
| Opus 5 | $0.00025 | $0.01601 |
| Sonnet 5 | $0.00010 | $0.00640 |
| Haiku 4.5 | $0.00005 | $0.00320 |
Grade A, and why
binary-analysis 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 329 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Binary Analysis Methodology
Extract behavioral intelligence from compiled artifacts when source code is unavailable. Static analysis only — the binary is never executed.
When This Mode Applies
Binary analysis activates when:
- The
/analyzecommand detects compiled artifacts in the target - The discovery inventory identifies compiled binaries at the target path
- Other modes discover compiled artifacts during analysis (e.g., a bundled native binary inside an npm package)
Binary Type Taxonomy
| Artifact Type | Format | Survey Tools | Decompiler | Decompilation Quality | Default Confidence |
|---|---|---|---|---|---|
| Native binaries | ELF, Mach-O, PE | file, readelf/otool/objdump, nm, strings |
Ghidra, radare2 (disassembly only) | N/A (no source recovery) | assumed |
| JVM bytecode | .class, .jar, .war |
jar tf, javap -public, manifest extraction |
CFR, Procyon, FernFlower | Very high | inferred |
| .NET assemblies | .dll, .exe (managed) |
dotnet ildasm, type enumeration, attributes |
ILSpy (ilspycmd) |
Very high | inferred |
| Python bytecode | .pyc, .pyo |
Magic number inspection, strings |
uncompyle6, decompyle3, pycdc | Very high | inferred |
| Electron apps | .asar bundles |
npx asar extract, package.json |
N/A (lossless source recovery) | Lossless | inferred |
| WebAssembly | .wasm |
wasm-tools print, export/import enumeration |
wasm2wat (text format only) |
Limited | assumed |
Agents
| Agent | Role | Output Location |
|---|---|---|
binary-surveyor |
Initial triage: type ID, strings, symbols, metadata, dependencies, decompilation attempts | workspace/raw/binary/survey/ |
binary-deep-analyzer |
Deep analysis: disassembly, control flow, data structures, algorithms, protocols | workspace/raw/binary/analysis/ |
The surveyor always runs first. The deep analyzer runs on modules the surveyor recommends.
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.
- 5d ago First seen · 329 lines · 50 tokens per session scan A abf3fb2b474f
binary-analysis is a skill published in the GitHub repository prime-radiant-inc/greenfield (270 stars, last pushed 29d ago), licensed Apache-2.0. It adds 50 tokens to every session and 3,202 once invoked, about $0.0003 per session on Opus 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-08-30.
Other skills, from other repositories
visual-debug
Compare reference vs implementation with AE/SSIM/pixel diff; find visual mismatches when UI looks off or doesn't match.
benchmark
Local-only regression / benchmark skill for ui-clone-skills maintainers. Drives the standard ui-reverse-engineering pipeline against the canonical reference site (https://realfood.gov) and records AE/SSIM, iteration count, gate fail counts, and outcome to benchmark/history.csv so prompt / sub-doc / model-version drift…
ui-capture
Capture website visuals and behavior: screenshots, scroll, hover, mouse, parallax, timers, and comparison evidence.
ui-reverse-engineering
Recreate a website/page/section visual design in code from a URL: layout, typography, colors, assets, responsive UI.
init
Interactive workflow for writing Speky specifications (requirements + test plan) for an existing project.
write-test-plans
Interactive workflow for writing new Speky test plans for requirements lacking coverage, guided by the Speky MCP server.