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/magnus919/agent-skills/binary-analysisnpx skills add magnus919/agent-skills --skill binary-analysisgit clone --depth 1 https://github.com/magnus919/agent-skillsWrote 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/magnus919/agent-skills/binary-analysis)<a href="https://agentmods.dev/skills/magnus919/agent-skills/binary-analysis"><img src="https://agentmods.dev/badge/skills/magnus919/agent-skills/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.00111 | $0.03339 |
| Opus 5 | $0.00056 | $0.01670 |
| Sonnet 5 | $0.00022 | $0.00668 |
| Haiku 4.5 | $0.00011 | $0.00334 |
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 — 317 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Binary Analysis — Agent Skill
Analyze unknown binary files with a deterministic, non-interactive CLI backed by
Ghidra's static-analysis engine. The skill teaches you how to reason about
binaries: when to triage versus deep-dive, how to interpret canonical evidence,
and how to produce auditable reports. All observable operations happen through
the binary CLI — you never call Ghidra APIs directly.
When to Use
Load this skill when any of the following conditions match:
- A user provides a binary file (PE, ELF, Mach-O, firmware image) and asks what it does, what APIs it imports, or whether it is suspicious.
- A user asks for decompilation, disassembly, call-graph exploration, or cross-reference analysis of a specific function or address.
- A user wants a structured triage report, suspicious-API analysis, or capability map for an unknown binary.
- A user asks to compare two binaries, verify export tables, or extract strings matching a pattern.
- A user wants to set up the analysis toolchain (
binary doctor,binary bootstrap) or manage analysis projects.
When Not to Use
Do not load this skill for:
- Runtime or dynamic analysis — debugging, strace/dtrace, sandbox execution, process monitoring. This skill is static-analysis only (V1).
- Binary patching or modification — hex-editing, resource editing, repackaging. The analysis harness is read-only by design.
- Binaries you already fully understand — if the user is asking for documentation or explanation of known code, use a general-purpose skill.
- Source-code analysis — C, C++, Rust, or assembly source files. Use a language-specific or general code-analysis skill instead.
- Network forensics or packet capture — PCAP analysis, protocol reverse engineering at the wire level. Use a network-focused skill.
- Live memory forensics — process memory dumps, heap analysis. Static analysis of memory-mapped regions from files is in scope; live-process introspection is not.
What ships with it
60 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.
- .coveragerc 317 B
- evals/evals.json 7.0 KB
- README.md 5.0 KB
- references/binary-formats.md 15 KB
- references/cli-reference.md 20 KB
- references/evidence-and-confidence.md 11 KB
- references/firmware.md 10 KB
- references/function-analysis.md 14 KB
- references/installation.md 9.6 KB
- references/packed-and-obfuscated.md 11 KB
- references/reporting.md 10 KB
- references/security.md 12 KB
- references/triage-workflow.md 13 KB
- references/troubleshooting.md 11 KB
- scripts/binary 489 B
- scripts/binary_analysis/__init__.py 130 B runs code
- scripts/binary_analysis/adapters/__init__.py 634 B runs code
- scripts/binary_analysis/adapters/base.py 21 KB runs code
- scripts/binary_analysis/adapters/fake.py 62 KB runs code
- scripts/binary_analysis/adapters/ghidra/__init__.py 550 B runs code
- scripts/binary_analysis/adapters/ghidra/adapter.py 14 KB runs code
- scripts/binary_analysis/adapters/ghidra/bridge.py 8.7 KB runs code
- scripts/binary_analysis/bootstrap/__init__.py 249 B runs code
- scripts/binary_analysis/bootstrap/deps.py 11 KB runs code
- scripts/binary_analysis/cli/__init__.py 528 B runs code
- scripts/binary_analysis/cli/binary_ops.py 37 KB runs code
- scripts/binary_analysis/cli/bootstrap.py 13 KB runs code
- scripts/binary_analysis/cli/doctor.py 2.8 KB runs code
- scripts/binary_analysis/cli/functions.py 32 KB runs code
- scripts/binary_analysis/cli/helpers.py 7.9 KB runs code
- scripts/binary_analysis/cli/main.py 27 KB runs code
- scripts/binary_analysis/cli/project.py 25 KB runs code
- scripts/binary_analysis/cli/references.py 24 KB runs code
- scripts/binary_analysis/cli/reporting.py 13 KB runs code
- scripts/binary_analysis/cli/search.py 19 KB runs code
- scripts/binary_analysis/cli/security.py 32 KB runs code
- scripts/binary_analysis/cli/structural.py 28 KB runs code
- scripts/binary_analysis/cli/version.py 1.3 KB runs code
- scripts/binary_analysis/cli/worker.py 8.6 KB runs code
- scripts/binary_analysis/domain/__init__.py 2.8 KB runs code
- scripts/binary_analysis/domain/entities.py 10 KB runs code
- scripts/binary_analysis/domain/enums.py 2.5 KB runs code
- scripts/binary_analysis/domain/errors.py 6.3 KB runs code
- scripts/binary_analysis/domain/schemas.py 11 KB runs code
- scripts/binary_analysis/domain/selectors.py 8.4 KB runs code
- scripts/binary_analysis/projects/__init__.py 2.4 KB runs code
- scripts/binary_analysis/projects/atomic.py 4.4 KB runs code
- scripts/binary_analysis/projects/cache.py 6.1 KB runs code
- scripts/binary_analysis/projects/diagnostics.py 4.5 KB runs code
- scripts/binary_analysis/projects/lock.py 8.0 KB runs code
- scripts/binary_analysis/projects/manifest.py 5.9 KB runs code
- scripts/binary_analysis/projects/path_security.py 8.5 KB runs code
- scripts/binary_analysis/projects/state_machine.py 5.5 KB runs code
- scripts/binary_analysis/projects/workspace.py 6.5 KB runs code
- scripts/binary_analysis/reporting/__init__.py 1.1 KB runs code
- scripts/binary_analysis/reporting/audit.py 4.8 KB runs code
- scripts/binary_analysis/reporting/generator.py 36 KB runs code
- scripts/binary_analysis/rules/__init__.py 788 B runs code
- scripts/binary_analysis/rules/capabilities.py 27 KB runs code
- scripts/binary_analysis/rules/engine.py 33 KB runs code
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 · 317 lines · 111 tokens per session scan A 9e0d6f7c541e
binary-analysis is a skill published in the GitHub repository magnus919/agent-skills (67 stars, last pushed today), licensed MIT. It adds 111 tokens to every session and 3,339 once invoked, about $0.0006 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
cocoreview
CocoReview — structured code review with six-severity findings vocabulary, progressive disclosure architecture, and universal anti-pattern baseline. Invoked via $review [file] [--complexity] [--security] [--architecture] [--language ].
cocoharvest
Decompose an approved plan into parallel workstreams, assign specialist personas, classify stages as HITL or AFK (CocoLens), generate flow.json stages with checkpoints and dual-file state, and create per-stage prompt files. Includes adaptive parallelism, stall detection, shell identity injection, and consecutive…
spec
Enter the Spec phase of CocoBrew. Guides the developer through structured requirements capture: goal, success criteria, constraints, personas involved, data sources, and deliverables. Writes spec.md to .cocoplus/lifecycle/ and creates a git commit.
discuss
Run a structured decision-capture dialogue before $plan — locks implementation choices (model, evaluation methodology, accuracy threshold, scope boundaries) into discuss.md to prevent silent decision drift during planning. Supports --red-team flag for adversarial post-PASS challenge session.
cocoscout
Relevance-ranked context loading — Tier 2 async subagent (Haiku, <5s) that fires after Tier 1 deterministic checks in UserPromptSubmit. Injects ranked context from CocoGrove, CocoContext, Environment Inspector, Prompt Studio, and CocoDream.
bloom
Run a structured four-question working-backwards dialogue before $spec — commits the developer to the outcome (beneficiary, core capability, constraints, press release) before specification begins, anchoring all downstream phases to the original intent.