ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified utilities Safety 4/5

trainingpeaks

Pull real-time training plans, workouts, fitness metrics (CTL/ATL/TSB), and personal records from TrainingPeaks. Uses cookie-based authentication (no API key needed). Use in conjunction with other endurance, cycling, running or swimming triathlon coach skills for best results.

Why use this skill?

Integrate TrainingPeaks with your OpenClaw agent to pull workout data, track CTL/ATL/TSB fitness metrics, and analyze personal records automatically.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/rubengarciam/trainingpeaks
Or

What This Skill Does

The TrainingPeaks skill for OpenClaw provides a command-line interface and automation layer for interacting with the TrainingPeaks internal API. It allows agents to pull real-time endurance data including training plans, specific workout details, fitness metrics like CTL/ATL/TSB, and personal bests. By using cookie-based authentication, this skill bypasses the need for complex API key management, enabling seamless integration into your existing training ecosystem.

Installation

To install this skill, run the following command in your terminal: clawhub install openclaw/skills/skills/rubengarciam/trainingpeaks

Once installed, you must authenticate by logging into your TrainingPeaks account in a browser, copying the Production_tpAuth cookie value from your DevTools (Application > Cookies), and running: python3 scripts/tp.py auth "<your_cookie_here>"

Use Cases

  • Automated Coaching Reviews: Use the agent to summarize weekly training load (TSS) and compare planned versus completed workouts automatically.
  • Performance Tracking: Ask your agent to monitor your fitness trends over the last 90 or 365 days to detect plateaus or overtraining indicators.
  • PR Analysis: Quickly query your best power or speed records across different sports to prepare for upcoming races.
  • Workflow Integration: Combine this skill with other cycling or running tools to generate reports or adjust training schedules based on real-time fitness data.

Example Prompts

  1. "Check my TrainingPeaks data for this week and tell me if I met my target TSS for my bike rides."
  2. "What is my current fitness (CTL) and fatigue (ATL) trend over the last 90 days?"
  3. "Show me my top 3 20-minute power records on the bike from the last year."

Tips & Limitations

  • Authentication Security: The Production_tpAuth cookie acts as your session key. Keep this file secure and never share it. The skill stores credentials in ~/.trainingpeaks/ with 0600 permissions for your safety.
  • Dependencies: This skill is written in pure Python standard library, ensuring high reliability and zero dependency bloat.
  • Rate Limiting: As this interacts with the web API, excessive automated requests may be rate-limited by the server. Ensure your automation logic remains reasonable.
  • Scope: This skill is designed for data retrieval. If you need to manipulate or create workouts, check the tool documentation to see if those features have been exposed via the API interface yet.

Metadata

Stars1133
Views0
Updated2026-02-18
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-rubengarciam-trainingpeaks": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#fitness#cycling#running#triathlon#automation
Safety Score: 4/5

Flags: file-read, file-write, external-api