strava-cli
Interact with Strava via the strava-client-cli Python tool. Use for viewing activities, athlete profiles, stats, and exporting data. Covers setup (creating a Strava account, API app, and OAuth) and all CLI commands.
Why use this skill?
Seamlessly connect OpenClaw to your Strava account. View activity stats, analyze training metrics, and export workout data with ease using the strava-cli skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/geodeterra/strava-cliWhat This Skill Does
The strava-cli skill provides a command-line interface for the OpenClaw agent to interact directly with the Strava platform. It allows users to query athlete profiles, summarize athletic performance statistics, retrieve granular activity logs, and export workout data for external processing. By automating the authentication flow and data retrieval processes, this skill bridges the gap between raw Strava API endpoints and the agent's natural language capabilities.
Installation
You can install this skill directly via the OpenClaw ecosystem by running the following command in your terminal: clawhub install openclaw/skills/skills/geodeterra/strava-cli
Alternatively, if you prefer managing dependencies manually, ensure you have the strava-client-cli package installed via pip or uv. After installation, run strava auth to configure your API credentials (Client ID and Client Secret) obtained from the Strava developer portal.
Use Cases
- Activity Review: Quickly pull up details of your most recent run, ride, or swim to review performance metrics like pace, elevation, and heart rate.
- Data Archiving: Export your historical workout library in JSON format to perform custom data analysis or long-term backups outside of the Strava interface.
- Performance Tracking: Generate summaries of your seasonal stats to monitor training consistency without manually navigating through the Strava dashboard.
- Training Analysis: Filter activities by date or activity type to isolate specific training blocks for review.
Example Prompts
- "Can you show me a summary of my running stats for the year 2024?"
- "List my last 5 cycling activities and tell me the total distance covered."
- "Export all my activity data to a folder named 'strava_backups' in JSON format."
Tips & Limitations
- Token Management: The skill manages token refreshing automatically; however, if you encounter authentication errors, ensure your
~/.config/strava-cli/tokens.jsonfile has correct permissions and hasn't been corrupted. - API Limits: Be mindful of Strava's API rate limits, especially when running bulk export commands. If you have thousands of activities, the export might take a moment to complete.
- Single Athlete Limit: Remember that standard Strava API apps created by individual developers are restricted to a single connected athlete. If you need to manage multiple accounts, you will need to re-authenticate or use separate app credentials for each profile.
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-geodeterra-strava-cli": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, external-api