OpenClaw Strava Integration for Openclaw

A robust integration to connect Strava workout data with OpenClaw for automated activity tracking and training summaries.

gavinchengcool
v0.1.1
Mar 13, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install openclaw-strava

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install openclaw-strava using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is OpenClaw Strava Integration?

The OpenClaw Strava skill is a specialized tool designed to bridge the gap between fitness tracking and AI-driven automation. By leveraging Openclaw Skills, developers can securely authorize Strava via OAuth2, retrieve detailed activity logs—such as runs, rides, and swims—and transform raw API data into clean, actionable insights for AI agents and wellness dashboards.

OpenClaw Strava Integration Use Cases

  • Automating the generation of daily or weekly training summaries for personal performance tracking.
  • Feeding normalized fitness data into a centralized Wellness hub for AI-driven health analysis.
  • Calculating mileage and activity metrics across specific date ranges for goal monitoring.
  • Integrating real-time fitness achievements into team communication channels or productivity dashboards.

How OpenClaw Strava Integration Works

  1. Configuration: Initialize the environment with your Strava API credentials, including Client ID and Secret.
  2. Authorization: Perform OAuth authentication using either the remote phone mode or desktop loopback mode to secure access and refresh tokens.
  3. Data Fetching: Execute the fetch script to retrieve raw activity data from the Strava API based on specific dates or ranges.
  4. Normalization: Transform raw JSON responses into a standardized format that adheres to the Wellness hub schema.
  5. Rendering: Output the normalized data into Markdown or other formats suitable for delivery across various channels.

OpenClaw Strava Integration Setup

To get started with this Openclaw Skills integration, configure your environment variables and run the authentication script:

# Required Environment Variables
export STRAVA_CLIENT_ID='your_client_id'
export STRAVA_CLIENT_SECRET='your_client_secret'
export STRAVA_REDIRECT_URI='your_redirect_uri'

# Run OAuth login (Phone/Remote mode recommended)
python3 scripts/strava_oauth_login.py

OpenClaw Strava Integration Data Schema & Taxonomy

The skill manages data through a lifecycle of raw extraction to normalized output. The structure is defined as follows:

Component Description
Raw JSON Direct, unmodified response from the Strava API endpoints.
Normalized JSON Data processed via strava_normalize_daily.py for downstream AI consumption.
Token Storage Secure JSON file (default: ~/.config/openclaw/strava/token.json) containing OAuth credentials.
Rendered Output Markdown or plain-text summaries formatted for specific communication channels.

OpenClaw Strava Integration Advanced Features

  • Multi-mode OAuth support allowing for flexible authorization in both local and remote server environments.
  • Automated token refresh management ensuring persistent connectivity without manual re-authentication.
  • Timezone customization via STRAVA_TZ to ensure activity timestamps align with the user's local context.
  • Channel-agnostic rendering, making it compatible with various messaging platforms and AI agent interfaces.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*