agentleFS
RifteoRifteo/skills/ctf-writeup/SKILL.md

ctf-writeup

Skill37 starsChanged 5 months agoMITView on GitHub

Generates a clean, publishable CTF challenge writeup from solve notes suitable for HTB, CTFtime, personal blogs, and team wikis. Trigger when the user solved a CTF challenge and wants to document it, says "write up this challenge", "generate a writeup", or "document my solve", or wants a record of solutions for their team's internal wiki.

  • Sends data out

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask if not provided:

    line 17
  2. Distinctive:

    Keep the tone direct and technical — this is for peers, not a marketing audience

    line 66
  3. Distinctive:

    If the challenge involves a CVE or known technique, name it and link to the reference

    line 67
  4. Distinctive:

    Never publish writeups for active competitions where sharing is prohibited

    line 68

≈ “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 Writeup Generator

Turn solve notes, tool output, and scattered observations into a clean, publishable CTF writeup. Good writeups teach. Great writeups show the wrong turns too.

What You Need Before Starting

Ask if not provided:

  • Challenge name, category, and point value
  • CTF event name and date
  • The flag (for confirmation)
  • Key steps taken to solve it — notes, commands, payloads used
  • Any wrong turns worth documenting

Writeup Structure

Header

# [Challenge Name] — [CTF Event Name]
**Category:** [Web / Pwn / Crypto / Forensics / OSINT / Misc]
**Points:** [value]
**Difficulty:** [as rated by organizer or personal assessment]
**Flag:** [flag{...}]

Challenge Description

Paste the original challenge text or summarize it in 2-3 sentences. What was given? (URL, binary, file, hint?)

Initial Analysis

What did you notice first? What tools did you use to understand the challenge? Keep it honest — include the first (wrong) hypothesis if it's instructive.

Solution Walkthrough

Step-by-step. Number the steps. Show every command, payload, or key observation.

# Show actual commands
curl -X POST https://target/endpoint -d "param=payload"

Explain why each step worked — not just what happened. That's what makes a writeup worth reading.

Key Insight

One paragraph: what was the core trick? What would someone need to know to solve this without your writeup? This is the part other players will search for.

Flag

flag{the_actual_flag_here}

Takeaways (optional)

What did you learn? What tool or technique was new? What would you do differently?

Rules

  • Show real commands and payloads — vague writeups help nobody
  • Include wrong turns when they illustrate a useful lesson
  • Keep the tone direct and technical — this is for peers, not a marketing audience
  • If the challenge involves a CVE or known technique, name it and link to the reference
  • Never publish writeups for active competitions where sharing is prohibited

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.