
ljagiello/ctf-skills
11 skills67k installs32.1k starsGitHub
Install
npx skills add https://github.com/ljagiello/ctf-skillsSkills in this repo
1Ctf ReverseProvides reverse engineering techniques for CTF challenges. Use when the main job is to understand how a compiled, obfuscated, packed, or virtualized target works before exploiting or solving it, including binaries, APKs, WASM, firmware, custom VMs, bytecode, game clients, malware-like loaders, and anti-debug or anti-analysis logic. Do not use it when the vulnerability is already understood and th --- name: ctf-reverse description: Provides reverse engineering techniques for CTF challenges. Use when the main job is to understand how a compiled, obfuscated, packed, or virtualized target works before exploiting or solving it, including binaries, APKs, WASM, firmware, custom VMs, bytecode, game clients, malware-like loaders, and anti-debug or anti-analysis logic. Do not use it when the vulnerability is already understood and the remaining task is exploitation; use pwn instead. Do not use it for pure web workflows, log or disk forensics, or standalone crypto problems unless reversing the implementation is the real blocker.7kinstalls2Ctf Webctf-web is a routing and execution skill for web-heavy CTF challenges, directing an agent through reconnaissance, bug classification, and exploit construction across HTTP applications, APIs, browser clients, template engines, auth flows, and smart-contract frontends. Developers and security researchers invoke it when the primary attack surface is web-based, spanning injection classes (SQLi, SSTI, SSRF, XXE, command injection), client-side flaws (XSS, CSP bypass, prototype pollution, request smuggling), and auth/identity weaknesses (JWT manipulation, OAuth/OIDC, SAML, IDOR). The skill organises work into a five-step first-pass workflow: map the trust boundary, capture baseline requests, enumerate hidden functionality, classify the bug family, and build the smallest primitive before chaining. It delegates to roughly 20 referenced sub-documents covering Java/PHP/Python deserialization, race conditions, Node.js sandbox escapes, Web3, and CVE-shaped playbooks, and provides pivot rules to companion skills (ctf-pwn, ctf-crypto, ctf-reverse, ctf-forensics, ctf-osint) when the web vector is not the primary path.6.7kinstalls3Ctf PwnProvides binary exploitation techniques for CTF challenges. Use when you already have a vulnerable native target or service and need to turn memory corruption or low-level primitives into code execution or privilege escalation, such as buffer overflows, format strings, heap bugs, ROP, ret2libc, shellcode, kernel exploitation, seccomp bypass, sandbox escape, or Windows/Linux exploit chains. Do not --- name: ctf-pwn description: Provides binary exploitation techniques for CTF challenges. Use when you already have a vulnerable native target or service and need to turn memory corruption or low-level primitives into code execution or privilege escalation, such as buffer overflows, format strings, heap bugs, ROP, ret2libc, shellcode, kernel exploitation, seccomp bypass, sandbox escape, or Windows/Linux exploit chains. Do not use it when the main blocker is understanding what the binary does; use reverse engineering first. Do not use it for pure web bugs, disk or packet forensics, or standalone crypto/math challenges.6.5kinstalls4Ctf CryptoProvides cryptography attack techniques for CTF challenges. Use when attacking encryption, hashing, signatures, ZKP, PRNG, or mathematical crypto problems involving RSA, AES, ECC, lattices, LWE, CVP, number theory, Coppersmith, Pollard, Wiener, padding oracle, GCM, key derivation, or stream/block cipher weaknesses. --- name: ctf-crypto description: Provides cryptography attack techniques for CTF challenges. Use when attacking encryption, hashing, signatures, ZKP, PRNG, or mathematical crypto problems involving RSA, AES, ECC, lattices, LWE, CVP, number theory, Coppersmith, Pollard, Wiener, padding oracle, GCM, key derivation, or stream/block cipher weaknesses. license: MIT compatibility: Requires filesystem-based agent (Claude Code or similar) with bash, Python 3, and internet access for tool installation. allowed-tools: Bash Read Write Edit Glob Grep Task WebFetch WebSearch metadata: user-invocable: "false" --- # CTF Cryptography Quick reference for crypto CTF challenges. Each technique has a one-liner here; see supporting files for full details with code.6.3kinstalls5Ctf OsintProvides open source intelligence techniques for CTF challenges Use when gathering information from public sources social media geolocation DNS records username enumeration reverse image search Google dorking Wayback Machine Tor relays FEC filings or identifying unknown data like hashes and coordinates name ctf-osint description Provides open source intelligence techniques for CTF challenges Use when gathering information from public sources social media geolocation DNS records username enumeration reverse image search Google dorking Wayback Machine Tor relays FEC filings or identifying unknown data like hashes and coordinates license MIT compatibility Requires filesystem-based agent Claude Code or similar with bash Python 3 and internet access for OSINT lookups allowed-tools Bash Read Write Edit Glob Grep Task WebFetch WebSearch metadata user-invocable false CTF OSINT Quick reference for OSINT CTF challenges Each technique has a one-liner here see supporting files for full details Prerequisites Python packages all platforms bash pip install shodan Pillow Linux apt bash apt install whois dnsutils nmap libimage-exiftool-perl imagemagick curl macOS Homebrew bash brew install whois b.6.3kinstalls6Ctf ForensicsProvides digital forensics and signal analysis techniques for CTF challenges. Use when analyzing disk images, memory dumps, event logs, network captures, cryptocurrency transactions, steganography, PDF analysis, Windows registry, Volatility, PCAP, Docker images, coredumps, side-channel power traces, DTMF audio spectrograms, packet timing analysis, CD audio disc images, or recovering deleted files --- name: ctf-forensics description: Provides digital forensics and signal analysis techniques for CTF challenges. Use when analyzing disk images, memory dumps, event logs, network captures, cryptocurrency transactions, steganography, PDF analysis, Windows registry, Volatility, PCAP, Docker images, coredumps, side-channel power traces, DTMF audio spectrograms, packet timing analysis, CD audio disc images, or recovering deleted files and credentials. license: MIT compatibility: Requires filesystem-based agent (Claude Code or similar) with bash, Python 3, and internet access for tool installation. allowed-tools: Bash Read Write Edit Glob Grep Task WebFetch WebSearch metadata: user-invocable: "false" --- # CTF Forensics & Blockchain Quick reference for forensics CTF challenges.6.2kinstalls7Solve ChallengeSolves CTF challenges by performing first-pass triage, identifying the dominant category, and routing execution to the right specialized ctf-* skill. Use when the user gives you a challenge bundle, a remote service, a suspicious file, or only a vague challenge description and you must determine where to start. Do not use it when the category is already clear and a specialized skill can be invoked --- name: solve-challenge description: Solves CTF challenges by performing first-pass triage, identifying the dominant category, and routing execution to the right specialized ctf-* skill. Use when the user gives you a challenge bundle, a remote service, a suspicious file, or only a vague challenge description and you must determine where to start. Do not use it when the category is already clear and a specialized skill can be invoked directly; this is the dispatcher and recon entrypoint, not the deepest reference for category-specific techniques.6kinstalls8Ctf MiscProvides miscellaneous CTF challenge techniques for problems that do not cleanly fit the main categories. Use for encoding puzzles, pyjails, bash jails, RF/SDR, DNS oddities, unicode tricks, esoteric languages, QR or audio puzzles, constraint solving, game theory, unusual sandbox escapes, and hybrid logic puzzles. Prefer a more specific skill first when the challenge is mainly web, pwn, reverse, f --- name: ctf-misc description: Provides miscellaneous CTF challenge techniques for problems that do not cleanly fit the main categories. Use for encoding puzzles, pyjails, bash jails, RF/SDR, DNS oddities, unicode tricks, esoteric languages, QR or audio puzzles, constraint solving, game theory, unusual sandbox escapes, and hybrid logic puzzles. Prefer a more specific skill first when the challenge is mainly web, pwn, reverse, forensics, malware, OSINT, or crypto. Treat this as the fallback skill for genuine cross-category or edge-case challenges, not the default starting point.6kinstalls9Ctf MalwareCTF Malware provides reference techniques and tools for analyzing malicious code in capture-the-flag contexts. It covers obfuscated JavaScript/PowerShell deobfuscation, PE and .NET binary analysis, C2 traffic reconstruction from PCAP files, custom cryptography protocol reverse engineering (RC4, AES, ChaCha20), memory forensics with Volatility, anti-analysis evasion detection (VM checks, debugger detection, API hashing), and YARA-based malware detection. Developers use this skill when reversing suspicious executables, decoding encrypted network communications, extracting malware configurations, analyzing shellcode, and identifying indicators of compromise across obfuscated payloads and trojanized packages. --- name: ctf-malware description: Provides malware analysis and network traffic techniques for CTF challenges. Use when analyzing obfuscated scripts, malicious packages, custom crypto protocols, C2 traffic, PE/.NET binaries, RC4/AES encrypted communications, YARA rules, shellcode analysis, memory forensics for malware (Volatility malfind, process injection detection), anti-analysis techniques (VM/sandbox detection, timing evasion, API hashing, process injection, environment chec.5.9kinstalls10Ctf WriteupThe ctf-writeup skill generates a single standardized submission-style CTF writeup for competition handoff and organizer review. Use after solving a CTF challenge to document the solution steps, tools used, and lessons learned in a structured format.. CTF Write-up Generator Generate a standardized submission-style CTF writeup for a solved challenge. Default behavior: - During an active competition, optimize for speed, clarity, and reproducibility - Keep writeups short enough that a teammate or organizer can validate the solve quickly - Always produce a submission -style writeup - Prefer one complete solve script from challenge data to final flag Workflow Step 1: Gather Information Collect the following from the current session, challenge files, and user input: 1. Challenge metadata - name, CTF event, category, difficulty, points, flag format 2. Solution artifacts - exploit scripts, payloads, screenshots, command output 3. Timeline - key steps taken, dead ends, pivots Step 2: Generate Write-up Write the writeup file as writeup.md (or writeup-<challenge-name .md ) using the submission template below. --- Templates Submission Format Guidance: - Prefer5.1kinstalls11Ctf Ai MlThe ctf-ai-ml skill is a quick reference for AI and ML capture-the-flag challenges with one-liner techniques and deep reference files. Prerequisites install torch, transformers, numpy, scipy, Pillow, safetensors, and scikit-learn. Quick start commands inspect model.pt, safetensors, HuggingFace directories, LoRA adapters, weight diffs, remote LLM prompt injection curls, and adversarial input ranges. Model weight analysis covers perturbation negation via two times W_orig minus W_chal, LoRA adapter merging, model inversion via gradient descent, and neural network encoder collision attacks. Adversarial sections document FGSM, PGD, C and W attacks, adversarial patches, and data poisoning backdoors. LLM attacks include direct and indirect prompt injection, jailbreaking, token smuggling, and tool use exploitation. Model extraction and membership inference techniques query APIs to reconstruct boundaries or detect training set presence. Pivot rules route pure crypto to ctf-crypto, compiled ML binaries to ctf-reverse, and non-ML puzzle wrappers to ctf-misc. Supporting files are model-attacks.md, adversarial-ml.md, and llm-attacks.md.5kinstalls