radare2
Skill by sickn33
Guides an AI assistant through the radare2 command line tools for binary triage, disassembly, function lookup, exports and small patches. It works without a GUI and is aimed at reverse engineers and analysts.
Install radare2
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/radare2 ~/.claude/skills/radare2Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/radare2 ~/.gemini/antigravity-cli/skills/radare2Antigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill teaches an AI assistant to drive the radare2 command line tools, including r2, rabin2, rasm2, radiff2, rahash2 and rax2. It covers quick reconnaissance with file info, strings, imports and exports, then interactive analysis with commands such as aaa, afl, iz and pdf. It also covers cross-reference lookups, hex and disassembly views, write-mode patching, and non-interactive runs with r2 -A -q -c.
The skill asks the assistant to check that the tools are installed before use. It sets rules for patching, such as opening files read-only by default and warning before write mode. It is written for analysts who want terminal-based binary analysis. The source is adapted from zhaoxuya520/reverse-skill under the MIT license.
Written from the project's SKILL.md and checked against it.
What it can do
- Environment checkRuns r2 -v and rabin2 -v to confirm the radare2 tools are installed.
- Binary triageUses rabin2 -I, -z, -i and -E to read file info, strings, imports and exports.
- Interactive analysisOpens a file in r2 and runs aaa, afl, iz, iS, is and pdf for functions and sections.
- Cross-reference lookupUses axt and grep-style filters such as afl~main and iz~error to find references.
- Memory and disassembly viewsShows hex and instructions with px, pd, psz and pxa at the current address.
- Binary patchingWrites assembly or raw bytes with wa and wx in write mode when the user asks.
- Non-interactive automationRuns a command string in one pass with r2 -A -q -c for repeatable output.
- Assembly, hashing and conversionShows rasm2 for assembly, rahash2 for hashes and rax2 for number and encoding conversion.
- Binary diffingShows radiff2 usage for comparing an old and a new binary.
What you need
- radare2 tools (r2, rabin2, rasm2, radiff2) installed and on PATH
- PowerShell for the Windows command examples
- Optional: the upstream repo for the external recon.ps1 script, which is not bundled
Try asking
- Use radare2 to triage this exe: show format, strings and imports.
- Find which function references this error string using axt.
- Diff old.exe and new.exe with radiff2 and summarize the changes.
Good to know
- The recon.ps1 script and re-agent-workflow.md are not included in this copy.
- Patching needs an explicit user request and write mode, and the original should be backed up first.
- The skill requires import table evidence to be recorded before deeper analysis.
- Dynamic analysis steps are external and unavailable in this bundle.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/radare2/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md15 KB -
references/cheatsheet.md2 KB
Alternatives to radare2
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
radare2: common questions
Does this skill need a GUI?
No. The skill is written for radare2 used from the command line without a GUI.
Can it patch a binary?
Yes, but only when the user explicitly asks. The skill opens the file in write mode and recommends backing up the original first.
Where does this skill come from?
It is adapted from zhaoxuya520/reverse-skill and distributed under the MIT license.
How do I install radare2?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is radare2 free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is radare2 safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to radare2?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
