New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Standardized submission-style CTF writeup generator that documents solve steps, tools, and flags for organizer review.

skills.sh installs
8.6K
GitHub stars
3.8K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers metadata, a concise solution path, and a single complete solving script that ends by printing the flag
  • Provides a submission template with front matter for event, category, difficulty, points, and flag format
  • Enforces brevity with 1 to 3 steps, no dead-end tangents, and one clean solve path rather than alternatives
  • Designed for competition handoff after solving a challenge, with a checklist covering reproducibility and attribution

Install

$ npx -y skills add ljagiello/ctf-skills --skill ctf-writeup -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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
# Scan for exploit scripts and artifacts
find . -name '*.py' -o -name '*.sh' -o -name 'exploit*' -o -name 'solve*' | head -20
# Check for flags in output files
grep -rniE '(flag|ctf|eno|htb|pico)\{' . 2>/dev/null

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

Details

Repository
github.com/ljagiello/ctf-skills
Categories
Security, Debugging, Technical Documentation
First seen
Apr 16, 2026

More from ljagiello/ctf-skills

All 11

Similar to Ctf Writeup

More Security