codetrain SKILL.md skillA
codetrain from inferhaven/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add inferhaven/agent-skills/codetrain@git:20261011.620a839Pins git:20261011.620a839 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- inferhaven/agent-skills
- Path
codetrain/SKILL.md- Versions recorded
- 10
- Latest version
- git:20261011.620a839, committed Oct 11, 2026
- First version recorded
- Jun 24, 2026
- Size
- 20,579 bytes
- Repository stars
- 3
- License
- Apache-2.0
CodeTrain is an open-source Socratic coding tutor with a local lesson page where the learner writes every line while the agent sets small steps, gives hints and reviews the work without putting the solution into the lesson. 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…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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 …
Read the whole file at its exact version.
How to install
mdr add inferhaven/agent-skills/codetrain@sha256:224e9ed8c3a40a14The line at the top of this page pins the label git:20261011.620a839, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_lz325gkzneqhhaoh)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 10 versions of this file, between Jun 24, 2026 and Oct 11, 2026, about one every 12 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261011.620a839 latest | 2026-10-11 | 620a839 | 20,579 B | A | view · diff |
| git:20261011.2e52ab0 | 2026-10-11 | 2e52ab0 | 20,216 B | A | view · diff |
| git:20261006.3f90a6f | 2026-10-06 | 3f90a6f | 18,614 B | A | view · diff |
| git:20261006.1778939 | 2026-10-06 | 1778939 | 17,896 B | A | view · diff |
| git:20261006.e6be689 | 2026-10-06 | e6be689 | 17,023 B | A | view · diff |
| git:20260930.fe17183 | 2026-09-30 | fe17183 | 16,417 B | A | view · diff |
| git:20260630.c3a4e43 | 2026-06-30 | c3a4e43 | 16,001 B | A | view · diff |
| git:20260625.472de15 | 2026-06-25 | 472de15 | 15,964 B | A | view · diff |
| git:20260625.d47616b | 2026-06-25 | d47616b | 15,971 B | A | view · diff |
| git:20260624.d0212f7 | 2026-06-24 | d0212f7 | 15,206 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (20579 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
inferhaven/agent-skills · 3 stars · license Apache-2.0 · pushed 2026-10-13 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_lz325gkzneqhhaoh GET https://markdownregistry.com/api/v1/resolve?ref=inferhaven/agent-skills/codetrain GET https://markdownregistry.com/api/v1/blob/224e9ed8c3a40a14e632743d4aa8bb4045f1e323d07999654e37c43feb3bbcae
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.