Skip to content

Headless Ghidra toolkit that decompiles binaries and exports functions, strings, symbols, and call graphs.

CCM score
66 of 100
skills.sh installs
711
GitHub stars
3.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers binary reverse engineering through analyzeHeadless, with a wrapper script that handles project creation and cleanup
  • Includes 6 export scripts (ExportAll.java, ExportDecompiled.java, ExportFunctions.java, ExportStrings.java, ExportCalls.java, ExportSymbols.java) that write JSON and text reports
  • Provides processor presets for x86, ARM, AARCH64, MIPS, and PowerPC, plus timeout and memory controls for large inputs
  • Designed for analysts who need scriptable, GUI-free binary triage, including firmware and malware samples

Install

$ npx -y skills add mitsuhiko/agent-stuff --skill ghidra -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Ghidra Headless Analysis Skill

Perform automated reverse engineering using Ghidra's analyzeHeadless tool. Import binaries, run analysis, decompile to C code, and extract useful information.

Quick Reference

TaskCommand
Full analysis with all exportsghidra-analyze.sh -s ExportAll.java -o ./output binary
Decompile to C codeghidra-analyze.sh -s ExportDecompiled.java -o ./output binary
List functionsghidra-analyze.sh -s ExportFunctions.java -o ./output binary
Extract stringsghidra-analyze.sh -s ExportStrings.java -o ./output binary
Get call graphghidra-analyze.sh -s ExportCalls.java -o ./output binary
Export symbolsghidra-analyze.sh -s ExportSymbols.java -o ./output binary
Find Ghidra pathfind-ghidra.sh

Prerequisites

  • Ghidra must be installed. On macOS: brew install --cask ghidra
  • Java (OpenJDK 17+) must be available

The skill automatically locates Ghidra in common installation paths. Set GHIDRA_HOME environment variable if Ghidra is installed in a non-standard location.


Main Wrapper Script

./scripts/ghidra-analyze.sh [options] <binary>

Details

Repository
github.com/mitsuhiko/agent-stuff
Category
Security
First seen
Jun 3, 2026

Questions

What does the ghidra skill do?

The ghidra skill reverse engineers binaries with Ghidra's headless analyzer, without a GUI. It can decompile executables and extract functions, strings, symbols, and call graphs. Results are written to files in an output directory you choose.

How do I install the ghidra skill?

Run npx -y skills add mitsuhiko/agent-stuff --skill ghidra -y in your project. Once installed, the agent can run Ghidra analysis on the binaries you point it at.

What do I need before using the ghidra skill?

Ghidra must be installed, and on macOS you can use brew install --cask ghidra. Java OpenJDK 17 or newer must also be available. Set the GHIDRA_HOME environment variable if Ghidra sits in a non-standard location.

Where does the ghidra skill sit in the Security category?

The ghidra skill is in the Security category on Claude Marketplaces, alongside azure-compliance, entra-agent-id, firebase-security-rules-auditor, security-audit and cloudflare-one. Its focus is binary reverse engineering through headless Ghidra analysis, which sets it apart from those skills.

More from mitsuhiko/agent-stuff

All 6

Similar to Ghidra

More Security