agentleFS
Encod3d-SecEncod3d-Sec/TORCH/skills/workflow/ctf-category/SKILL.md

ctf-category

Skill329 starsChanged 4 months agoMITView on GitHub

CTF challenge router - fingerprint a challenge (file type / prompt / artifacts) into its category (pwn, rev, crypto, forensics, stego, web, osint, hash) and route to the matching wiki page, tools, and first moves. Wiki-first.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    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
  1. Very specific:

    If a category page is missing or thin for the technique used, add a ## <technique> section (or stub the page) before moving on, so the gap …

    line 34

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

CTF Category Router

Given a challenge file or description, identify the category, then read the matching wiki page and apply its methodology. Always file the artifact and read the prompt before choosing.

Fingerprint -> route

SignalCategoryWiki pageFirst moves / tools
ELF/PE binary + "get a shell" / nc to a portpwn[[binary-exploitation]]checksec; find offset (cyclic); [[pwntools]] template; leak libc
Binary + "find the flag" / crackme / no networkrev[[reverse-engineering]]file,strings,checksec; [[radare2]]/Ghidra; ltrace; angr
n,e,c / .pem / cipher / "encrypt" / base-looking blobcrypto[[cryptography-attacks]], [[crypto-ctf-workflow]]identify primitive; RsaCtfTool; padding/XOR/hash-ext; CyberChef
.sol file / ABI+bytecode / contract address / web3 RPC endpointblockchain[[smart-contract-web3-attacks]], [[defi-amm-exploitation]][[slither]] static analysis; Foundry/Hardhat local fork to reproduce; flash-loan/AMM economic-exploit sims for DeFi
.pcap / .raw memory / disk image / .E01forensics[[digital-forensics]]file,binwalk; [[volatility]] (mem); [[wiki/tools/tshark]]/Wireshark (pcap)
Innocuous image/audio / "look closer"stego[[steganography]]exiftool,binwalk,strings; zsteg/steghide/stegseek; spectrogram
URL / web appwebexisting hunt skillsauto-triggers (sqli/xss/ssrf/idor/injection...) via triggers.json
Cloud creds/console (Azure TAP+SP, *.core.windows.net, AWS keys, GCP) - no ports, only a REST/console surfacecloud[[cloud-moc]], [[cloud-iam-attacks]]Skill(hunt-cloud): whoami; enumerate storage/SAS/blob + Key Vault (incl. prior secret versions) / IMDS - NOT the network-box driver
$hash / NTLM / shadow / zip2johnhash/crack[[hash-capture-and-cracking]]identify (hashid); [[wiki/tools/hashcat]] mode; [[password-cracking]]
"find the account/person/leak" / no fileosint[[persona-tracing]], [[secret-hunting]], [[web-attack-surface]]person pivots + photo geolocation; [[git-exposure]] for repos
python >>> jail / restricted shell / filtered interpretermisc/jail[[ctf-jail-escapes]]builtins/mro recovery, format-string pyjail, GTFOBins rbash escape

Procedure

  1. file challenge.*; read the prompt; note the remote (nc host port) if any.
  2. Match the strongest signal above (multiple may apply -> start with the most specific).
  3. qmd_query "<category> <specific tech>" -> read the wiki page; apply its methodology + payloads.
  4. Re-fingerprint every extracted artifact (stego/forensics nest: image -> zip -> binary).
  5. Flag found -> note the technique. Novel trick -> Wiki Feedback: update the category page so it is captured.

Self-heal

If a category page is missing or thin for the technique used, add a ## <technique> section (or stub the page) before moving on, so the gap fills. Pages: crypto/[[cryptography-attacks]], rev/[[reverse-engineering]], forensics/[[digital-forensics]], stego/[[steganography]], pwn/[[binary-exploitation]] + heap/[[heap-exploitation]], misc-jail/[[ctf-jail-escapes]].

Report: category chosen + flag/blocker + any wiki update.

Download now (ZIP)

Does 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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.