Skip to content

radare2 Binary Analysis

Analyze, disassemble and lightly patch binaries from the command line using radare2

Stars
43,969
Licence
MIT
Files
3 files

What it does

This skill teaches an AI agent to use radare2, a command-line reverse engineering toolkit, to inspect compiled programs (such as exe, dll, so, elf and apk files) without a graphical interface. The agent follows a staged routine: first basic triage (file format, strings, imports, exports), then function listing, disassembly, cross-reference lookup and optionally patching a binary. It also ships a reconnaissance script that runs these checks in one go.

Great for

  • Security researchers or students learning static analysis of unknown executables
  • Developers who want a command-line workflow for inspecting binaries on Windows or Linux
  • Reverse engineers who want an agent to run routine radare2 triage and explain the output

Skip it if

  • Users who need a GUI or IDA/Hex-Rays style decompilation, since the skill is explicitly CLI-focused and points to other skills for those tasks
  • Analysis of web JavaScript, which the skill itself says belongs to a different skill
  • Modifying or running suspicious binaries without care: patching overwrites files and the skill describes dynamic debugging of samples, which can execute malware

Try asking

  • “Analyze this unknown exe with radare2 and tell me what it does”
  • “Find which function triggers the error string 'access denied' in this binary”
  • “Show me the imports of sample.dll and flag any networking or injection APIs”
  • “Compare old.exe and new.exe with radiff2 and summarize the changes”
Step-by-step guide: how to use radare2 Binary AnalysisInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 3 original files, the MIT licence and an attribution note.

    radare2.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip radare2.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip radare2.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Work on a copy of the sample and keep the original backed up before any patch step
  • Ask for triage first (file info, strings, imports) before requesting deep analysis, which the skill itself recommends
  • Run the bundled recon script for a quick overview, then ask for specific cheatsheet commands for follow-up

What's inside

  • references/cheatsheet.md
  • scripts/recon.sh
  • SKILL.md

Redistributed unmodified from zhaoxuya520/reverse-skill under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.