Skills for Real Engineers. Straight from my .agents directory.
ctf-ai-ml
Agent skill fromljagiello/ctf-skills
Provides AI and machine learning techniques for CTF challenges. Use when attacking ML models, crafting adversarial examples, performing model extraction, prompt injection, membership inference, training data poisoning, fine-tuning manipulation, neural network analysis, LoRA adapter exploitation, LLM jailbreaking, or solving AI-related puzzles.
How to install ctf-ai-ml
npx skills add ljagiello/ctf-skills# or add only this skill to Claude Code: copy the folder
ctf-ai-ml/
# into
~/.claude/skills/ctf-ai-ml/ (all projects)
.claude/skills/ctf-ai-ml/ (one project)
1# CTF AI/ML23Quick reference for AI/ML CTF challenges. Each technique has a one-liner here; see supporting files for full details.45## Prerequisites67**Python packages (all platforms):**8```bash9pip install torch transformers numpy scipy Pillow safetensors scikit-learn10```1112**Linux (apt):**13```bash14apt install python3-dev15```1617**macOS (Homebrew):**18```bash19brew install python@320```2122## Additional Resources2324- [model-attacks.md](model-attacks.md) - Model weight perturbation negation, model inversion via gradient descent, neural network encoder collision, LoRA adapter weight merging, model extraction via query API, membership inference attack25- [adversarial-ml.md](adversarial-ml.md) - Adversarial example generation (FGSM, PGD, C&W), adversarial patch generation, evasion attacks on ML classifiers, data poisoning, backdoor detection in neural networks26- [llm-attacks.md](llm-attacks.md) - Prompt injection (direct/indirect), LLM jailbreaking, token smuggling, context window manipulation, tool use exploitation2728---2930## When to Pivot3132- If the challenge becomes pure math, lattice reduction, or number theory with no ML component, switch to `/ctf-crypto`.33- If the task is reverse engineering a compiled ML model binary (ONNX loader, TensorRT engine, custom inference binary), switch to `/ctf-reverse`.34- If the challenge is a game or puzzle that merely uses ML as a wrapper (e.g., Python jail inside a chatbot), switch to `/ctf-misc`.3536## Quick Start Commands3738```bash39…
Excerpt shown under the repository's MIT license.
More skills in ctf-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
