4B2A

Codex Ghidra Headless — Development skill for Claude Code

Development community

A professional SKILL.md package designed for Codex/Cursor agents to automate headless Ghidra binary analysis, decompilation, and reverse engineering workflows directly within the terminal.

How to install Codex Ghidra Headless

This entry records only its repository, not the path inside it, so there is no exact command to give. Open 4B2A/codex-ghidra-headless and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Codex Ghidra Headless does

A professional SKILL.md package designed for Codex/Cursor agents to automate headless Ghidra binary analysis, decompilation, and reverse engineering workflows directly within the terminal.

Alternatives in Development

README

Codex Ghidra Headless Skill 🚀

A professional, high-quality, and production-ready `SKILL.md` automation package optimized for **Codex, Cursor, and Claude Code** agents. This skill enables AI agents to securely, efficiently, and flawlessly execute Ghidra headless binary analysis, disassembly, and decompilation workflows directly inside your terminal using your local workspace context.


📂 Project Integration Structure

To allow the AI agent to read the skill locally without fetching external GitHub repositories, place the folder directly into your active project root:

your-active-project/
├── target.elf               # The binary you want to analyze
├── codex-ghidra-headless/   # This skill package folder
│   ├── SKILL.md             # Local agent orchestration and workflow rules
│   ├── README.md            # Integration guide (This file)
│   └── references/
│       ├── api-reference.md # Command structures and headless flags
│       ├── scripts.md       # Guidelines for custom Java/Python Ghidra scripts
│       └── errors.md        # Advanced troubleshooting and error handling

🛠️ Installation & Setup

To integrate this skill package into your local project environment, follow the steps below:

1. Place the Skill Folder

Clone or move the `codex-ghidra-headless` directory directly into your current workspace root:

git clone https://github.com

2. Configure Environment Variables

Ensure Ghidra is installed on your host system and the environment path is correctly exported so your local agent can execute it:

# Linux/macOS
export GHIDRA_INSTALL_DIR="/path/to/your/ghidra_directory"

# Windows (PowerShell)
\$env:GHIDRA_INSTALL_DIR="C:\(\path\to\your\ghidra_directory\)\"

🚀 How to Use with Local AI Agents

Once the folder is present in your local workspace, Codex, Cursor, or Claude Code will automatically index and parse the `SKILL.md` file along with the `references/` directory.

Instructing t