stravacli for Openclaw

A terminal-based skill for accessing Strava data, including athlete metrics, activity history, and route management.

brainsoft-raxat
v2.2.98
Mar 2, 2026
0
978
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install stravacli

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 stravacli 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 stravacli?

The stravacli skill is a specialized interface designed for developers and fitness enthusiasts who need to interact with the Strava API directly from their terminal. By leveraging the power of Openclaw Skills, users can programmatically retrieve athlete statistics, list recent activities, and manage gear without the need for a web browser. This skill bridges the gap between raw fitness data and developer workflows, providing a structured way to handle activities, segments, and routes.

Built on top of a robust external CLI, this skill focuses on efficiency and data portability. It allows for detailed inspection of activity streams and laps, making it a perfect choice for those who want to build custom analytics or automation scripts around their physical performance.

stravacli Use Cases

  • Monitoring personal fitness progress through athlete stats and zones.
  • Exporting route files in GPX format for use in third-party navigation devices.
  • Automating the upload of FIT or TCX files to Strava directly from a local directory.
  • Listing and filtering recent activities to generate training summaries or reports.
  • Exploring starred segments and local club information for social integration.

How stravacli Works

  1. The AI agent identifies a request for Strava data or activity management.
  2. The skill executes the stravacli binary with specific subcommands like activities list or athlete stats.
  3. The --json flag is used to ensure the output is returned in a structured, machine-readable format.
  4. For write operations like uploading, the skill prompts for user confirmation before execution.
  5. The agent parses the JSON response to provide the user with a concise summary or to proceed with further logic in the Openclaw Skills environment.

stravacli Setup

To get started with this Openclaw Skills integration, ensure the stravacli binary is installed and available in your PATH.

go install github.com/Brainsoft-Raxat/strava-cli/cmd/stravacli@latest

Once installed, you must authenticate your account. For local machines, use:

stravacli auth login

For remote or headless environments, use the remote flag and follow the instructions to complete the OAuth flow. Verify your authentication status with stravacli auth status before proceeding with data commands.

stravacli Data Schema & Taxonomy

The skill utilizes the following structured data entities from the Strava API:

Entity Key Data Points
Activity ID, name, distance, moving time, type, total elevation gain
Athlete ID, username, bio, follower count, shoe/bike gear details
Route ID, name, distance, elevation, map geometry, file format
Stats All-time totals (distance, time, elevation) for running, cycling, and swimming
Segment ID, name, average grade, distance, star count

stravacli Advanced Features

  • Headless and VPS authentication support for server-side automations.
  • Granular activity stream extraction for detailed telemetry analysis.
  • Geographic exploration of segments using SW/NE coordinate bounds.
  • Bulk metadata updates for activities including name and description modification.
  • Integrated route exporting to .gpx format for seamless navigation workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*