Trainctl — AI skill for Claude Code
Running coach CLI + MCP server for AI agents (Claude Code, Codex): research-backed marathon and half-marathon training plans as code in git.
How to install Trainctl
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open dithiothreitol/trainctl and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Trainctl does
Running coach CLI + MCP server for AI agents (Claude Code, Codex): research-backed marathon and half-marathon training plans as code in git. Garmin sync, no account.
Alternatives in AI
- Post Training — ai-research-skills GRPO, RLHF, DPO, SimPO 5.4k ★
- Modular Context Obsidian Plugin — Modular Context Karpathy LLM Knowledge Base + Gmail & G-Cal — multi-account MCP server for Claude Code, encryp 96 ★
- Medical Illustration — 面向 Codex、Claude Code 等 AI Agent 的医学绘图 Skill,基于可信证据制作医学插画、科普漫画与科研示意图,提供可编辑成果与审核记录 81 ★
README
trainctl — running coach in your terminal (CLI + MCP server)
[](https://github.com/dithiothreitol/trainctl/actions/workflows/ci.yml) [](LICENSE) [](package.json)
**A running coach that lives in your terminal.** A plan-generating engine with a CLI and an MCP server: your marathon or half-marathon training plan is a YAML file in a git repository, every session cites the research behind it, and your AI agent (Claude Code, Codex, any MCP client) gets the coach as a tool. Workouts go to Garmin, Coros or Wahoo through intervals.icu or as FIT files; what you ran comes back from FIT, TCX and GPX exports. Cycling and swimming plans live in the same profile.
$ trainctl today
2026-08-04 · Tuesday
week 1/17 · base · 117 days to race
────────────────────────────
╭─ intervals · 8 km ───────────────────────────────────────────────────────────
│ 3 km warm-up + 4 × 1 km @ 4:32/km, 2 min walk recovery. 1 km cool-down jog
│ to finish.
╰──────────────────────────────────────────────────────────────────────────────
→ why this session: trainctl why --date 2026-08-04
No account, no database, no backend. Everything is files in the current directory — `trainctl.yaml`, `plan/`, `log.jsonl` — so the history of your training is your git history.
New in **0.9.0**: a running engine checked against a coaching corpus (season shape, a long-run track, accents that progress, a return after a break), season, week and day views on one row layout, `review` against each workout's targets from laps, miles and a heart-rate ceiling as view options, and the session plan as the default model, on par with the running plan. [Release notes](CHANGELOG.md#090--2026-11-12).
trainctl init --agent claude # profile + plugin setup for your agent
trainctl pull --fr
Related Skills
Treningsagent
AI training agent for climbing and running. Logs sessions in plain language, tracks progression and cross-spor
Seucorre
ai-powered running coach platform. generates and adapts personalized training plans using Claude, with domain-
Ba Coach Pro
AI-powered Business Analysis coaching platform — 53 skills, 7 learning tracks, live interview simulator, voice
2026 Coach
Executive coaching skill for planning your 2026 using research-backed process goals. Works with Claude Code an
AI Coach
A coaching harness for Claude Code: team memory, evidence-backed prompt coaching, injection defense, onboardin
Gmcoach
AI coaching plugin for Speediance Gym Monster (GM1, GM2). Plans strength workouts in Codex, ChatGPT and Claude
Related Agents
Coach Load
Training-load and injury-risk analyst on the Garmin coaching team. Use when the head coach (garmin-coach skill
Karr Ref Worker
App::karr Git/ref storage worker — Git::Native and CLI fallback, refs-backed BoardStore persistence, CAS, lock
MCP Owner
Owns mcp/ — the live MCP brain over stdio and the ai-os CLI. Use for work on the server, the Vault door, the t