agentleFS
Wang200935Wang200935/security-agent-skills/skills/ctf/ctf-training-loop/SKILL.md

ctf-training-loop

Skill4 starsChanged 3 months agoMITView on GitHub

Practical CTF training workflow for systematically learning challenge

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use when the goal is not just to answer a single CTF challenge, but to build durable practical capability across CTF categories.

    line 20
  2. Distinctive:

    Do not stop at taxonomy, notes, or theory.

    line 28
  3. Distinctive:

    Create only the minimal files/scripts needed to solve.

    line 33
  4. Distinctive:

    Run the script and verify the flag/expected output.

    line 35
  5. Distinctive:

    Do not claim mastery from reading.

    line 39
  6. Distinctive:

    Verify the flag or intended primitive.

    line 63
  7. Distinctive:

    After a training batch, produce:

    line 76

≈ “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.

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

CTF Training Loop

Use when the goal is not just to answer a single CTF challenge, but to build durable practical capability across CTF categories.

Trigger conditions

  • User asks Hermes to "learn CTF" or "practice CTF"
  • User wants broad coverage across challenge families
  • User wants reusable methods, scripts, and knowledge solidified into Hermes

Core principle

Do not stop at taxonomy, notes, or theory. User explicitly wants Hermes to learn by real CTF practice. A technique is not learned until Hermes has solved or reproduced it hands-on with runnable artifacts.

Mandatory loop:

  1. Classify the challenge family/subfamily.
  2. Perform low-cost triage and artifact inventory.
  3. Create only the minimal files/scripts needed to solve; full scaffolding is optional, not mandatory.
  4. Solve or reproduce the primitive with executable scripts/exploits/extractors.
  5. Run the script and verify the flag/expected output.
  6. Record the decisive observation/technique when useful.
  7. Patch or create the relevant skill so the technique is reusable next time.

Do not claim mastery from reading. Use archived CTF tasks, local reproductions, or user-provided challenges to build practical evidence.

Coverage map

Minimum practical areas:

  • Web Exploitation
  • Cryptography
  • Forensics
  • Reverse Engineering
  • Pwn / Binary Exploitation
  • Misc / Jail
  • OSINT
  • Mobile
  • Cloud / DevOps
  • Blockchain
  • Hardware / RF / ICS
  • Game / Protocol
  • AI / ML

Execution pattern

For each domain:

  1. Load the domain skill if it exists.
  2. Pick representative challenge types.
  3. Build or reuse triage scripts.
  4. Solve with reproducible commands/code.
  5. Verify the flag or intended primitive.
  6. Extract a stable playbook insight.
  7. Save the improved process back into Hermes skills.

Benchmark mindset

Capability means being able to:

  • recognize patterns quickly
  • test hypotheses cheaply
  • automate repeated checks
  • produce a solver/exploit, not only an explanation
  • carry forward new tactics into persistent skills

Deliverables

After a training batch, produce:

  • solved/attempted challenge list
  • scripts/exploits written
  • notable techniques learned
  • skill patches or new references added

Pitfalls

  • Over-indexing on theory and not solving real tasks
  • Jumping to one category before performing inventory
  • Failing to preserve newly learned attack patterns into skills
  • Treating writeups as sufficient without reusable scripts

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.