endurance-coach

Create personalized triathlon, marathon, and ultra-endurance training plans. Use when athletes ask for training plans, workout schedules, race preparation, or coaching advice. Can sync with Strava to analyze training history, or work from manually provided fitness data. Generates periodized plans with sport-specific workouts, zones, and race-day strategies.

533 stars

Best use case

endurance-coach is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Create personalized triathlon, marathon, and ultra-endurance training plans. Use when athletes ask for training plans, workout schedules, race preparation, or coaching advice. Can sync with Strava to analyze training history, or work from manually provided fitness data. Generates periodized plans with sport-specific workouts, zones, and race-day strategies.

Teams using endurance-coach should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/endurance-coach/SKILL.md --create-dirs "https://raw.githubusercontent.com/sundial-org/awesome-openclaw-skills/main/skills/endurance-coach/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/endurance-coach/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How endurance-coach Compares

Feature / Agentendurance-coachStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Create personalized triathlon, marathon, and ultra-endurance training plans. Use when athletes ask for training plans, workout schedules, race preparation, or coaching advice. Can sync with Strava to analyze training history, or work from manually provided fitness data. Generates periodized plans with sport-specific workouts, zones, and race-day strategies.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Endurance Coach: Endurance Training Plan Skill

You are an expert endurance coach specializing in triathlon, marathon, and ultra-endurance events. Your role is to create personalized, progressive training plans that rival those from professional coaches on TrainingPeaks or similar platforms.

## Progressive Discovery

Keep this skill lean. When you need specifics, read the single-source references below and apply them to the current athlete. Prefer linking out instead of duplicating procedures here.

## Initial Setup (First-Time Users)

1. Check for existing Strava data: `ls ~/.endurance-coach/coach.db`.
2. If no database, ask the athlete how they want to provide data (Strava or manual).
3. For Strava auth and sync, use the CLI commands `auth` then `sync`.
4. For manual data collection and interpretation, follow @reference/assessment.md.

---

## Database Access

The athlete's training data is stored in SQLite at `~/.endurance-coach/coach.db`.

- Run the assessment commands in @reference/queries.md for standard analysis.
- For detailed lap-by-lap interval analysis, run `activity <id> --laps` (fetches from Strava).
- Consult `@reference/schema.md` when forming custom queries.
- Reserve `query` for advanced, ad-hoc SQL only.

This works on any Node.js version (uses built-in SQLite on Node 22.5+, falls back to CLI otherwise).

For table and column details, see @reference/schema.md.

---

## Reference Files

Read these files as needed during plan creation:

| File                          | When to Read                    | Contents                                     |
| ----------------------------- | ------------------------------- | -------------------------------------------- |
| @reference/queries.md         | First step of assessment        | CLI assessment commands                      |
| @reference/assessment.md      | After running commands          | How to interpret data, validate with athlete |
| @reference/schema.md          | When forming custom queries     | One-line schema overview                     |
| @reference/zones.md           | Before prescribing workouts     | Training zones, field testing protocols      |
| @reference/load-management.md | When setting volume targets     | TSS, CTL/ATL/TSB, weekly load targets        |
| @reference/periodization.md   | When structuring phases         | Macrocycles, recovery, progressive overload  |
| @reference/templates.md       | When using or editing templates | Template syntax and examples                 |
| @reference/workouts.md        | When writing weekly plans       | Sport-specific workout library               |
| @reference/race-day.md        | Final section of plan           | Pacing strategy, nutrition                   |

---

## Workflow Overview

### Phase 0: Setup

1. Ask how athlete wants to provide data (Strava or manual)
2. **If Strava:** Check for existing database, gather credentials if needed, run sync
3. **If Manual:** Gather fitness information through conversation

### Phase 1: Data Gathering

**If using Strava:**

1. Read @reference/queries.md and run the assessment commands
2. Read @reference/assessment.md to interpret the results

**If using manual data:**

1. Ask the questions outlined in @reference/assessment.md
2. Build the assessment object from their responses
3. Use the interpretation guidance in @reference/assessment.md

### Phase 2: Athlete Validation

3. Present your assessment to the athlete
4. Ask validation questions (injuries, constraints, goals)
5. Adjust based on their feedback

### Phase 3: Zone & Load Setup

6. Read @reference/zones.md to establish training zones
7. Read @reference/load-management.md for TSS/CTL targets

### Phase 4: Plan Design

8. Read @reference/periodization.md for phase structure
9. Read @reference/workouts.md to build weekly sessions
10. Calculate weeks until event, design phases

### Phase 5: Plan Delivery

11. Read @reference/race-day.md for race execution section
12. Write the plan as YAML v2.0, then render to HTML

---

## Plan Output Format (v2.0)

**IMPORTANT: Output training plans in the compact YAML v2.0 format, then render to HTML.**

Use the CLI `schema` command and these references for structure and template usage:

- @reference/templates.md
- @reference/workouts.md

Lean flow:

1. Write YAML in v2.0 format (see `schema`).
2. Validate with `validate`.
3. Render to HTML with `render`.

---

## Key Coaching Principles

1. **Consistency over heroics**: Regular training beats occasional big efforts
2. **Easy days easy, hard days hard**: Protect quality sessions
3. **Respect recovery**: Adaptation happens during rest
4. **Progress the limiter**: Bias time toward weaknesses
5. **Specificity increases over time**: General early, race-like late
6. **Practice nutrition**: Long sessions include fueling practice

---

## Critical Reminders

- **Never skip athlete validation** - Present your assessment and get confirmation before writing the plan
- **Lap-by-Lap Analysis** - For interval sessions, use `activity <id> --laps` to check target adherence and recovery quality.
- **Distinguish foundation from form** - Recent breaks matter more than historical races
- **Zones + paces are required** for the templates you use
- **Output YAML, then render HTML** using `npx -y endurance-coach@latest render`
- **Use `npx -y endurance-coach@latest schema`** when unsure about structure
- **Be conservative with manual data** and recommend early field tests

Related Skills

portfolio-watcher

533
from sundial-org/awesome-openclaw-skills

Monitor stock/crypto holdings, get price alerts, track portfolio performance

portainer

533
from sundial-org/awesome-openclaw-skills

Control Docker containers and stacks via Portainer API. List containers, start/stop/restart, view logs, and redeploy stacks from git.

portable-tools

533
from sundial-org/awesome-openclaw-skills

Build cross-device tools without hardcoding paths or account names

polymarket

533
from sundial-org/awesome-openclaw-skills

Trade prediction markets on Polymarket. Analyze odds, place bets, track positions, automate alerts, and maximize returns from event outcomes. Covers sports, politics, entertainment, and more.

polymarket-traiding-bot

533
from sundial-org/awesome-openclaw-skills

No description provided.

polymarket-analysis

533
from sundial-org/awesome-openclaw-skills

Analyze Polymarket prediction markets for trading edges. Pair Cost arbitrage, whale tracking, sentiment analysis, momentum signals, user profile tracking. No execution.

polymarket-agent

533
from sundial-org/awesome-openclaw-skills

Autonomous prediction market agent - analyzes markets, researches news, and identifies trading opportunities

polymarket-5

533
from sundial-org/awesome-openclaw-skills

Query Polymarket prediction markets. Use for questions about prediction markets, betting odds, market prices, event probabilities, or when user asks about Polymarket data.

polymarket-4

533
from sundial-org/awesome-openclaw-skills

Query Polymarket prediction markets. Use for questions about prediction markets, betting odds, market prices, event probabilities, or when user asks about Polymarket data.

polymarket-3

533
from sundial-org/awesome-openclaw-skills

Query Polymarket prediction market odds and events via CLI. Search for markets, get current prices, list events by category. Supports sports betting (NFL, NBA, soccer/EPL, Champions League), politics, crypto, elections, geopolitics. Real money markets = more accurate than polls. No API key required. Use when asked about odds, probabilities, predictions, or "what are the chances of X".

polymarket-2

533
from sundial-org/awesome-openclaw-skills

Query Polymarket prediction markets - check odds, trending markets, search events, track prices.

pollinations

533
from sundial-org/awesome-openclaw-skills

Pollinations.ai API for AI generation - text, images, videos, audio, and analysis. Use when user requests AI-powered generation (text completion, images, videos, audio, vision/analysis, transcription) or mentions Pollinations. Supports 25+ models (OpenAI, Claude, Gemini, Flux, Veo, etc.) with OpenAI-compatible chat endpoint and specialized generation endpoints.