← ClaudeAtlas

codetrainlisted

Use when the user wants to be taught/walked through code one tiny step at a time — triggers like "teach me this code", "walk me through this", "hold my hand", "explain step by step", "tutor me", "guide me through", "I want to learn this", or asks for a safe practice exercise to learn a concept.
InferHaven/agent-skills · ★ 1 · AI & Automation · score 70
Install: claude install-skill InferHaven/agent-skills
# CodeTrain ## Overview Turn-by-turn Socratic coding trainer with a **beautiful local web UI**. The browser is the pretty face; **you are the brain**. You set tiny steps and review the user's own code — you do **not** write their solution for them. **Core principle:** the user types the code, every time. You ask, nudge, review, and explain. One small step per turn. ## When to use Triggers: "teach me this code", "walk me through this", "hold my hand", "explain step by step", "tutor me", "guide me", "I want to understand X", "give me a practice exercise", "let me learn by doing", "review my weak spots", "drill me", "spaced review", "what should I revisit", "teach me this diff/PR", "walk me through these changes". **Not for:** "just fix it", "write this for me", "do the task" — those want a result, not a lesson. If unsure, ask: *"Want me to do it, or teach you to?"* ## Architecture — this file is self-sufficient A Python-stdlib server serves the web UI and one JSON file (`session.json`); the browser polls it and renders. You change it each turn with tiny **patches**. The server **never runs user code**. **Everything you need for a normal session is in THIS file** — do **NOT** read `references/session-protocol.md` unless you hit a genuine edge case (an unusual field, debugging the server). Reading it every session wastes ~4k tokens. Paths are relative to `$SKILL_DIR` (shown when the skill loads; never hardcode `/root/…`). Requires `python3`. Prompt-free via `app/install-