dithiothreitol

Trainctl — AI skill for Claude Code

AI community

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)

[![CI](https://github.com/dithiothreitol/trainctl/actions/workflows/ci.yml/badge.svg)](https://github.com/dithiothreitol/trainctl/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Node](https://img.shields.io/badge/node-%E2%89%A5%2022.18-brightgreen.svg)](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