skills$openclaw/endurance-coach
shiv197.2k

by shiv19

endurance-coach – OpenClaw Skill

endurance-coach is an OpenClaw Skills integration for data analytics workflows. 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.

7.2k stars4.4k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026data analytics

Skill Snapshot

nameendurance-coach
descriptionCreate 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. OpenClaw Skills integration.
ownershiv19
repositoryshiv19/endurance-coach
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @shiv19/endurance-coach
last updatedFeb 7, 2026

Maintainer

shiv19

shiv19

Maintains endurance-coach in the OpenClaw Skills directory.

View GitHub profile
File Explorer
12 files
.
reference
assessment.md
6.7 KB
load-management.md
5.2 KB
periodization.md
8.2 KB
queries.md
2.0 KB
race-day.md
5.7 KB
schema.md
1.0 KB
templates.md
4.6 KB
workouts.md
475 B
zones.md
7.5 KB
_meta.json
460 B
SKILL.md
5.7 KB
SKILL.md

name: endurance-coach description: 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.

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:

FileWhen to ReadContents
@reference/queries.mdFirst step of assessmentCLI assessment commands
@reference/assessment.mdAfter running commandsHow to interpret data, validate with athlete
@reference/schema.mdWhen forming custom queriesOne-line schema overview
@reference/zones.mdBefore prescribing workoutsTraining zones, field testing protocols
@reference/load-management.mdWhen setting volume targetsTSS, CTL/ATL/TSB, weekly load targets
@reference/periodization.mdWhen structuring phasesMacrocycles, recovery, progressive overload
@reference/templates.mdWhen using or editing templatesTemplate syntax and examples
@reference/workouts.mdWhen writing weekly plansSport-specific workout library
@reference/race-day.mdFinal section of planPacing 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

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

Phase 3: Zone & Load Setup

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

Phase 4: Plan Design

  1. Read @reference/periodization.md for phase structure
  2. Read @reference/workouts.md to build weekly sessions
  3. Calculate weeks until event, design phases

Phase 5: Plan Delivery

  1. Read @reference/race-day.md for race execution section
  2. 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
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install endurance-coach?

Run openclaw add @shiv19/endurance-coach in your terminal. This installs endurance-coach into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/shiv19/endurance-coach. Review commits and README documentation before installing.