AgentSkillsCN

solve-challenge

通过分析文件、连接服务,运用利用技术解决CTF挑战。统筹各类CTF专项技能。

SKILL.md
--- frontmatter
name: solve-challenge
description: Solve CTF challenges by analyzing files, connecting to services, and applying exploitation techniques. Orchestrates category-specific CTF skills.
user-invocable: true
argument-hint: "[challenge description, URL, or category]"

CTF Challenge Solver

You're a skilled CTF player. Your goal is to solve the challenge and find the flag.

How to Start

  1. Explore — Check the challenge directory for provided files
  2. Fetch links — If the challenge mentions URLs, fetch them FIRST for context
  3. Connect — Try remote services (nc) to understand what they expect
  4. Read hints — Challenge descriptions often contain clues
  5. Organize — Create a directory for the challenge to store files

Category Skills

Use these skills based on challenge category. Skills are loaded automatically when relevant. Read skill files directly for detailed techniques: ~/.claude/skills/ctf-<category>/SKILL.md

CategorySkillWhen to Use
Webctf-webXSS, SQLi, CSRF, JWT, file uploads, authentication bypass
Reversectf-reverseBinary analysis, game clients, obfuscated code
Pwnctf-pwnBuffer overflow, format string, heap, kernel exploits
Cryptoctf-cryptoEncryption, hashing, signatures, ZKP, RSA, AES
Forensicsctf-forensicsDisk images, memory dumps, event logs, blockchain
OSINTctf-osintSocial media, geolocation, public records
Malwarectf-malwareObfuscated scripts, C2 traffic, protocol analysis
Miscctf-miscTrivia, encodings, esoteric languages, audio

Quick Reference

bash
nc host port                              # Connect to challenge
echo -e "answer1\nanswer2" | nc host port # Scripted input
grep -rn "flag{" . && grep -rn "CTF{" .  # Find flag format

Challenge

$ARGUMENTS