reverse
Skill12 starsChanged 9 months agoMITView on GitHub
Solve CTF reverse engineering challenges: disassembly, decompilation, key/password finding, algorithm analysis, and anti-debug bypass. Use when given binaries to analyze statically — crackmes, keygens, obfuscated code. Triggers: .exe .elf .apk .jar .pyc files, "disassemble", "decompile", "keygen", "crackme", "find the password", "anti-debugging", radare2/Ghidra output, assembly code. Tools: radare2, Ghidra, objdump, ltrace, strace, jadx, uncompyle6. NOT for exploitation/pwn (use pwn) or malware triage (use forensics).
3 other projects use a version of this.
Adopted by
Most recently taken up by
- AsiaOstrich/EngramGraphtheir own version, first seen Nov 8, 2026
- Carchar91/recipient-aware-aitheir own version, first seen Nov 8, 2026
- AsiaOstrich/universal-dev-standardstheir own version, first seen Nov 1, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- AsiaOstrich/universal-dev-standards★ 84same name
- AsiaOstrich/EngramGraph★ 4same name
- Carchar91/recipient-aware-ai★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Use this command for challenges involving:
- Distinctive: line 57
ELF (Linux): Use radare2 or Ghidra for analysis
- Distinctive: line 58
PE (Windows): Check for .NET (use dnSpy)
- Distinctive: line 66
Write keygen or patch binary
- Very specific: line 88
When using /ctf-kit:team-solve with a reverse engineering challenge, the lead spawns 3 specialists:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CTF Reverse
Analyze and solve reverse engineering challenges.
When to Use
Use this command for challenges involving:
- ELF/PE binaries requiring analysis
- Algorithm understanding
- Key/password finding
- Malware analysis
- Obfuscated code
Bundled Scripts
- check-tools.sh — Verify required reversing tools are installed
- run-radare2.sh — Initial binary analysis with structured output. Lists functions, strings, and flags interesting functions (main, flag, win, check, verify, password, secret). Outputs JSON with function list and analysis suggestions.
Instructions
- First check tool availability:
bash scripts/check-tools.sh Start with radare2 analysis (outputs structured JSON):
bash scripts/run-radare2.sh $ARGUMENTS bash scripts/run-radare2.sh <binary> main # disassemble specific functionJSON output includes:
functions[]: all functions with address, size, nameinteresting_functions[]: functions matching CTF keywords (main, flag, win, check, verify, password, secret, decrypt)strings[]: strings found in binaryinfo: binary metadata (arch, format, etc.)
- Based on JSON findings, focus analysis:
interesting_functionsfound → decompile them:r2 -c "aa; pdc @ <function>" <binary>- Strings with flag patterns → trace cross-references
- Multiple check/verify functions → trace validation logic
For different binary types:
ELF (Linux): Use radare2 or Ghidra for analysis PE (Windows): Check for .NET (use dnSpy) Java/Android:
jadx app.jarorjadx app.apkPython:uncompyle6 file.pycorpycdc file.pyc
Analysis Workflow
run-radare2.sh binary→ identify interesting functions from JSON- Decompile target functions → understand algorithm
- Write keygen or patch binary
- Test solution
Common Patterns
| Pattern | Meaning |
strcmp, strncmp | String comparison |
memcmp | Memory comparison |
| XOR loop | Simple encryption |
check_, verify_ | Validation functions |
win, flag | Target functions |
macOS / Apple Silicon
For dynamic analysis of Linux ELF binaries on macOS, use the pwn skill's container
wrapper ../pwn/scripts/pwn-docker.sh. ltrace/strace and plain gdb do not work
under emulation; debug via qemu-x86_64 -g 1234 ./binary + pwndbg -ex 'target remote :1234' ./binary
and trace syscalls with qemu-x86_64 -strace ./binary.
Team Roles
When using /ctf-kit:team-solve with a reverse engineering challenge, the lead spawns 3 specialists:
| Role | Teammate Name | Focus | Tools | First Action |
| Static Analyst | static-reverser | Disassembly, decompilation, function listing, string analysis, control flow graphs | radare2, Ghidra, objdump, scripts/run-radare2.sh | List functions, find interesting ones (main, check, verify, flag), decompile them |
| Dynamic Analyst | dynamic-reverser | Runtime behavior, breakpoints, anti-debug bypass, library call tracing, input/output mapping | gdb, ltrace, strace, LD_PRELOAD | Run with ltrace/strace, set breakpoints on strcmp/memcmp, trace validation logic |
| Algorithm Solver | algo-solver | Keygen writing, constraint solving, algorithm reimplementation, z3 SAT solving, symbolic execution | python3, z3, sage | Reimplement the validation algorithm from decompiled code, write solver/keygen |
Workflow coordination
Reverse engineering has a natural pipeline:
- Static analyst maps the binary → identifies key functions and algorithm structure
- Dynamic analyst confirms behavior → finds actual values, bypasses anti-debug
- Algorithm solver writes the solution → uses both static and dynamic findings
But all 3 can start in parallel — static and dynamic analysis are independent.
When to broadcast
- Static: "Main calls check_password() which XORs input with key at 0x4020" — algo solver starts reimplementing
- Dynamic: "strcmp compares against runtime-computed string, anti-debug detected (ptrace)" — static analyst looks for the check
- Algo solver: "Constraint solver found valid input: PASSWORD" — others verify
- Any: "Found the flag" — immediate broadcast, all stop
Example Usage
/ctf-kit:reverse ./crackme
/ctf-kit:reverse ./challenge.exe
/ctf-kit:reverse app.apkDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

