ctf-writeup
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.
Security Assessment
About ctf-writeup
The `ctf-writeup` skill is designed to streamline the process of creating standardized, submission-ready writeups for Capture The Flag (CTF) competitions. After solving a challenge, users can leverage this skill to document their solution in a concise, reproducible format suitable for both team handoff and organizer review. By focusing on clarity and speed, it reduces the overhead associated with manually preparing writeups, ensuring that essential details are captured without unnecessary verbosity.
This skill supports a structured workflow that includes gathering challenge metadata, solution artifacts, and key steps taken during the solving process. It generates a Markdown writeup in a submission template that includes a summary, detailed solution steps, and the final flag. The skill emphasizes concise steps, minimal yet complete scripts for reproducing the solution, and proper attribution. Users are guided to avoid splitting core solving steps into multiple fragments and are reminded to redact sensitive data only when explicitly requested. The skill also encourages best practices such as ensuring metadata completeness, runnable code, reproducibility, and concise writeup length.
Ideal for CTF competitors, team leads, and educators in cybersecurity, this skill is suitable for anyone needing to document solutions efficiently and clearly. It is compatible with filesystem-based agents capable of running Bash and Python 3, and can utilize common tools such as file reading, writing, editing, globbing, grepping, and web search/fetch. By reducing manual effort and standardizing writeups, it helps teams maintain consistent documentation quality and accelerates verification and review processes.
FAQ
How do I generate a writeup for a solved CTF challenge?
After completing a challenge, invoke the skill with the challenge name. It will gather relevant artifacts and metadata, then generate a standardized Markdown writeup including summary, solution steps, and flag.
Which platforms or agents are compatible with this skill?
The skill requires a filesystem-based agent such as Claude Code or similar, capable of running Bash and Python 3 scripts.
Can I include multiple solution approaches in the writeup?
No. The skill recommends selecting a single clean solving path. Only alternative solves that are essential for understanding a pivot should be included.
Is the skill safe to use with sensitive challenge data?
Yes, as long as users follow guidance to redact sensitive information like credentials, API keys, or private infrastructure details.
What tools can the skill use during writeup generation?
It can use Bash commands, file read/write operations, editing, globbing, grep, task management, web fetch, and web search functionalities to collect and process solution artifacts.
Install ctf-writeup
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
ljagiello/ctf-skills