binary-analysis

binary-analysis is a skill for Claude Code, Codex from magnus919/agent-skills. It costs 111 tokens per session (3,339 once invoked), scanned A, original, MIT.

A guide for examining unknown compiled program files, such as Windows PE, Linux ELF, or Apple Mach-O binaries, with Ghidra's static-analysis engine. Static analysis inspects a file without running it.

In plain words
What is it for?
Use it to inspect imported system functions, decompile functions, follow call paths, compare binaries, or produce a structured triage report.
Why use it?
It helps determine what a binary contains and may do when you only have the compiled file and need traceable evidence.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/magnus919/agent-skills/binary-analysis
Any agent
npx skills add magnus919/agent-skills --skill binary-analysis
Clone the repo
git clone --depth 1 https://github.com/magnus919/agent-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin binary-analysis/plugin install binary-analysis after adding the marketplace above.

Wrote 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.

agentmods badge for binary-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/magnus919/agent-skills/binary-analysis.svg)](https://agentmods.dev/skills/magnus919/agent-skills/binary-analysis)
Your own site
<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>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,339 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 5d ago against content hash 9e0d6f7c541e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 45 executable files (scripts/binary_analysis/__init__.py, scripts/binary_analysis/adapters/__init__.py, scripts/binary_analysis/adapters/base.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

binary-analysis/SKILL.md · 317 lines

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.

Read the full file on GitHub · 317 lines

Files

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.

Changes

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.

  1. 5d ago First seen · 317 lines · 111 tokens per session scan A 9e0d6f7c541e

Subscribe to this mod's changes

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.

Related

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 ].

Snowflake-Labs/cocoplus · 57 tokens

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…

Snowflake-Labs/cocoplus · 68 tokens

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.

Snowflake-Labs/cocoplus · 53 tokens

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.

Snowflake-Labs/cocoplus · 54 tokens

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.

Snowflake-Labs/cocoplus · 59 tokens

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.

Snowflake-Labs/cocoplus · 47 tokens