ghidra

Automate binary reverse engineering workflows with Ghidra's headless analyzer.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/bytes032/agentkit --skill ghidra-bytes032
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ghidra
Source: https://github.com/bytes032/agentkit/tree/main/skills/ghidra
Command: npx skills add https://github.com/bytes032/agentkit --skill ghidra-bytes032

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Automating complex, GUI-dependent reverse-engineering tasks to speed up binary analysis and data extraction.

Core Features & Use Cases

  • Headless analysis: Import binaries and run analysis without GUI using analyzeHeadless.
  • Post-analysis exports: Decompile code, list functions, extract strings, and map calls via built-in export scripts.
  • Batch/project management: Wrapper handles project creation, cleanup, and batch analyses for multiple binaries.

Quick Start

Run ghidra-analyze.sh with a target binary to generate all exports and an analysis log.

Frequently Asked Questions about ghidra

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate reverse engineering and binary analysis without using a GUI?

Automating reverse engineering without a GUI involves running Ghidra's headless analyzer on binary executables. This approach allows you to extract functions, strings, symbols, and call graphs across architectures in automated or batch-analysis scenarios.

What is the best way to batch analyze multiple binaries and extract decompiled code?

Batch analyzing multiple binaries requires a wrapper to manage Ghidra projects and run shipped Export scripts. This headless analysis method automatically imports binaries, runs analysis, decompiles code, and maps calls without GUI intervention.

Do I need a specific environment setup to run Ghidra headless analysis?

Running Ghidra headless analysis requires a local Ghidra installation with the analyzeHeadless tool and a properly configured environment. This setup provides a wrapper to manage projects, run shipped Export scripts, and generate outputs.

Can I extract strings and call graphs from binary executables across different architectures?

Extracting strings and call graphs from binary executables across architectures is supported by applying Ghidra's headless analyzer. The process runs built-in export scripts to decompile code, list functions, extract strings, and map calls.

How do I manage project creation and cleanup when running automated binary analysis?

Managing project creation and cleanup during automated binary analysis is handled by a dedicated wrapper. This wrapper manages batch analyses for multiple binaries, runs shipped Export scripts, and generates a comprehensive analysis log.