Section 11 — Open Protocol for AI Endurance Coaching (ChatGPT, Claude, Grok, Mistral)

I’ve been working on a structured protocol that makes AI endurance coaching consistent, reliable, and moveable, that works with any AI/LLM and is free.

Sharing it here since it builds on ideas from this community.

Section 11 — a deterministic protocol that forces AI systems to fetch your Intervals.icu data, follow evidence-based frameworks, and give auditable recommendations.

What it does: * Auto-fetches your training data via JSON mirror (Also manual option) * Structured response format: session details → training load context → interpretation * Works across ChatGPT, Claude, Grok, Mistral (tested)

What’s included: * SECTION_11.md — The complete protocol (11 A/B/C) * DOSSIER_TEMPLATE.md — Your athlete profile template * sync.py — Script to sync Intervals.icu → GitHub JSON * Setup guides for auto-sync and manual export

Quick start: 1. Fork the repo 2. Add your Intervals.icu API key as GitHub secret 3. Enable the sync workflow 4. Copy instructions into ChatGPT/Claude Project 5. Ask “How was today’s workout?”

Full setup: GitHub - CrankAddict/section-11: Evidence-based AI endurance coaching protocol. Deterministic guidance for any LLM (ChatGPT, Claude, Gemini, Grok, Mistral, etc.) with Intervals.icu integration.

11 Likes

Bug fix in sync.py: Fixed an issue where CTL/ATL/TSB values were showing projected numbers (including planned workouts) instead of your actual current fitness state. The script now calculates your true baseline by fetching yesterday’s values and applying the correct PMC decay formula.

OpenClaw (ClawdBot, MoltBot) compatibility: If you’re using OpenClaw (the viral open-source AI agent), Section 11 works well with it. The combination of OpenClaw’s persistent memory + autonomous execution + Section 11’s structured validation makes for a surprisingly capable coaching setup.

OpenClaw Skill: Section 11: Endurance Training Coach (Intervals.icu) — ClawHub

1 Like

Update: Section 11 v11.2 / v11.3

Two updates since last post:

Metrics Extension (v11.2)

Added new metrics:

  • Phase Detection Criteria — deterministic triggers for Base/Build/Peak/Taper/Recovery/Overreached
  • Zone Distribution Metrics per Seiler — Grey Zone % (Z3, minimize this) and Quality Intensity % (Z4+, the work that matters), plus hard days/week for high-volume athletes where time-in-zone gets misleading
  • Metric Hierarchy — Tier 1 (RI, HRV, RHR, Feel) → Tier 2 (load metrics) → Tier 3 (diagnostics). Secondary never overrides primary readiness
  • Benchmark Index — FTP tracking with seasonal context
  • Durability Sub-Metrics, W′ Balance, Plan Adherence Monitoring, extended validation schema

All additive — nothing existing was changed.

Output Format & Report Templates (v11.3)

Rewrote the Communication Style section and added Output Format Guidelines so AI coaches produce consistent, scannable reports:

  • Post-workout: structured line-by-line per session (not bullets) — power, HR, zone breakdowns, Grey Zone %, Quality Z4+%, decoupling, VI, TSS actual vs planned. Weekly totals block (Polarization, CTL, ATL, TSB, ACWR, hours, TSS). Coach note at the end
  • Pre-workout: readiness assessment, load context, Go/Modify/Skip recommendation
  • Report templates and examples in the repo: examples/reports/

sync.py

Updated to support the new metrics — Grey Zone %, Quality Intensity %, Polarisation Index, Benchmark Index, and phase detection are now calculated and included in the JSON output. Also added FTP history tracking (ftp_history.json) for indoor/outdoor FTP changes over time, used by Benchmark Index.

Repo & Docs

Overhauled the README and SETUP’s, Should be easier to get started now.

Repo: github.com/CrankAddict/section-11

I really wish I had started with this. My engine is now extremely competent and complex, but I have done A LOT of redirection and bug fixing on the way. This would have helped a lot.

1 Like

Thanks I had a quick look at your repo and some MD files. Is there any opportunity to make some YT videos to show it in action? It would be helpful for anyone like me trying to learn AI tools and how to apply to endurance training.

1 Like

It does help if you have a basic understanding of IDEs, repos, GitHub and the like. Tons of videos out there about those topics.

Once I spent a little time doing that setting up Section11was pretty straightforward with the provided instructions:

3 Likes

Update: sync.py v3.3.0 — Longitudinal History + Update Notifications

Two additions to the data pipeline:

Longitudinal History (history.json)

The sync script now generates a second JSON file with your full training history, tiered by granularity:

  • Daily — last 90 days
  • Weekly — last 180 days
  • Monthly — up to 3 years

Includes period summaries, FTP timeline, and data gap detection. Generated automatically on first run, regenerates when outdated. Give both latest.json and history.json to your AI coach and it can do proper trend analysis — CTL progression, seasonal patterns, volume periodization over years. You can always create a full daily history json, of any length with json-manual.

Update Notifications

The sync workflow now checks for updates automatically. When a updated/new file is released, a GitHub Issue is created in your data repo with a summary of changes. No automatic update, just a notification.

Docs

Updated all READMEs and setup guides to reflect the new files. Also added a DATA_REPO_README.md template in examples/json-auto-sync/ — copy it into your data repo for a working sync badge and auto-updating timestamp.

If you’re already running the auto-sync, grab the latest sync.py and auto-sync.yml from the repo and re-run to generate the new versions/files.

Repo: github.com/CrankAddict/section-11

1 Like

Update: sync.py v3.3.4 + Report Templates

Several updates since v3.3.0:

Smart Fitness Metrics — CTL/ATL/TSB now use decayed values when planned workouts aren’t completed yet, so no more inflated numbers. eFTP, W’, P-max pulled directly from the API.

Hard Day Classification — Zone ladder per Seiler/Foster: higher zones need less time to qualify (z3+ ≥ 30min down to z7 ≥ 1min). Phase detection now uses both time-in-zone and hard day count — fixes false “Base” for high-volume athletes.

Multi-Sport Monotony — Cross-training was inflating monotony scores. Now auto-detects primary sport and alerts trigger on per-sport monotony instead of total.

Seiler TID + Polarization Index — Proper 3-zone classification (Polarized/Pyramidal/Threshold/HIIT/Base) with Treff PI calculation. sync.py now calculates correctly from raw zones. Dual all-sport + primary-sport.

Report Templates — All four updated with TID classification, Recovery Index, and monotony context. Per-session “Session profile” label catches when planned endurance rides go pyramidal.

Docs, SETUP guides, and OpenClaw skill also updated.

Repo: GitHub - CrankAddict/section-11: Evidence-based AI endurance coaching protocol. Deterministic guidance for any LLM (ChatGPT, Claude, Gemini, Grok, Mistral, etc.) with Intervals.icu integration.

Update: Section 11 v11.5 + sync.py v3.4.0

New capability metrics — aggregate views of data that were previously only available per session.

Aggregate Durability — Tracks HR–Power decoupling trends across your steady-state sessions (7d vs 28d rolling windows). Spots declining endurance, alerts fire automatically when trends regress.

Dual-Timeframe TID — Compares your last 7 days of intensity distribution against your 28-day baseline. Catches grey zone drift and acute depolarization.

Both feed into the AI coach’s alert system and report templates at every level (pre-workout through block reports).

Protocol bumped to v11.5, sync.py to v3.4.0. All templates, examples, and docs updated.
Repo: GitHub - CrankAddict/section-11: Evidence-based endurance coaching protocol for AI and LLMs. Deterministic training guidance with Intervals.icu integration.

1 Like

I got that sorted now, VSC with WSL locally and Git access. It would help if some videos would be created to show practical use of your tool and what can be done with real athele data.

(post deleted by author)

No videos planned — Section 11 is a text-first protocol, not a GUI tool or walkthrough product. The README and setup docs already provide step-by-step instructions plus a simple test command to verify your environment.

The project assumes you’re comfortable with GitHub, markdown, and basic tooling. If that fits, the existing documentation should be sufficient.

If you encounter a specific issue, post the exact error and what you’ve tried. I’ll fix mistakes or clarify the docs as needed. General tooling tutorials or video requests are out of scope.

1 Like