reverse-skill is a routing layer for AI coding agents (Claude Code, Codex, Cursor, OpenCode, or similar clients) that handles reverse engineering, penetration testing, and CTF work. Instead of an agent guessing which tool to use for an APK, a binary, obfuscated JS, or a pentest target, this repo maps the task to a documented methodology and a repeatable workflow. It's built for security researchers and red-teamers who use AI agents as part of their tooling and want consistent, checked routing rather than ad-hoc command guessing.
The core is a single structured routing configuration (skills/config/routing.json) with 41 rules (R0-R40), validated against a 163-case regression benchmark on both Windows and Ubuntu CI. Scenario-specific skill folders cover APK/Android, iOS/mobile, binary reverse (IDA/radare2), .NET, frontend JS deobfuscation, malware/YARA, firmware/IoT, patch diffing, pwn/exploit dev, EDR bypass, API/GraphQL, supply chain/SBOM, and LLM security, plus a 42-module CTF sandbox orchestrator.
case-init and scope.md enforce authorization and network profile checks before any active task starts.Prerequisites: Java/JDK (for jadx and apktool), Node.js 22.12+ (for JS toolchain and MCP servers), Python 3.x (for Frida and helper scripts), and a compatible AI code client (Claude Code, Codex, Cursor, OpenCode, etc.).
Clone the repo:
git clone https://github.com/zhaoxuya520/reverse-skill.git
Refresh the local tool index for your platform:
# Windows
powershell -File skills/scripts/refresh-tool-index.ps1
# Linux / macOS
bash skills/scripts/refresh-tool-index.sh
# Kali Linux
bash kali/scripts/refresh-tool-index.sh
Check skills/tool-index.md to see what tools were detected on your machine. Platform-specific setup notes live in kali/README-kali.md, docs/platforms/linux.md, and docs/platforms/macos.md.
After any change to routing or config, run the test suite:
powershell -NoProfile -ExecutionPolicy Bypass -File skills/scripts/test-routing.ps1
powershell -NoProfile -ExecutionPolicy Bypass -File skills/scripts/verify-routing-coherence.ps1
powershell -NoProfile -ExecutionPolicy Bypass -File skills/scripts/smoke.ps1
powershell -NoProfile -ExecutionPolicy Bypass -File skills/scripts/extract-summaries.ps1 -Check
AI agents should start from README_AI.md, which contains bootstrap instructions and configuration for agent integration.