binary-analysis

binary-analysis is a skill for Claude Code, Codex from magnus919/agent-skills. It costs 117 tokens per session (3,514 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

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect imported system functions, decompile functions, follow call paths, compare binaries, or produce a structured triage report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/magnus919/agent-skills/binary-analysis
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.

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/github.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/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.

agentmods 80×15 button for binary-analysis

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,514 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00117 $0.03514
Opus 5.5 $0.00047 $0.01406
Sonnet 5.5 $0.00023 $0.00703
Haiku 4.5 $0.00012 $0.00351

Measured 17d ago against content hash e38b926a737d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 17d 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 · 333 lines

How it starts

The opening of the file, as written. The whole thing — 333 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Binary Analysis — Agent Skill

Plan analysis of unknown binary files through a deterministic, non-interactive CLI intended for Ghidra; see the implementation limitation below. 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.

Implementation status

This release does not provide live Ghidra analysis. Import, analyze, metadata, structural/function queries, search, triage, and report generation stop with an explicit backend error. Installing dependencies cannot make the unfinished adapter operational. Project administration and dependency diagnostics remain available. The production CLI does not load or select FakeAdapter; tests inject it explicitly. There is no fixture/demo CLI switch or environment override.

The workflow below describes the intended interface, not runnable analysis in this release. Stop at the backend error and explain the limitation. Do not cite old fixture-derived reports as evidence about a user's binary, even if an old project is marked READY. A future live backend needs verification on distinct known binaries before results can be treated as observations.

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.

Read the full file on GitHub · 333 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. 17d ago Changed · +16 lines · +6 tokens per session e38b926a737d
  2. 1mo 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 (147 stars, last pushed yesterday), licensed MIT. It adds 117 tokens to every session and 3,514 once invoked, about $0.0005 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-08-30.