首页openclaw插件 › Openclaw Strava Plugin — Strava — 跑步教练插件

代码插件 扫描中

Openclaw Strava Plugin — Strava — 跑步教练插件

v0.1.1

将OpenClaw变成Strava感知跑步教练,连接Strava账户,让智能体能够查看活动、跟踪趋势并用您自己的数据回答训练问题。

0· 1·0 当前
下载插件包 项目主页
最后更新
2026/4/8
安全扫描
VirusTotal
Pending
查看报告
OpenClaw
扫描中
high confidence
该插件的代码、运行时指令和配置请求与OpenClaw的Strava OAuth集成一致,不请求无法解释的凭证或执行意外网络访问。
安全有层次,运行前请审查代码。

版本

latestv0.1.12026/4/5
● Pending

安装命令 点击复制

官方npx clawhub@latest install @alexd10s/openclaw-strava
镜像加速npx clawhub@latest install @alexd10s/openclaw-strava --registry https://cn.clawhub-mirror.com

插件文档

@alexd10s/openclaw-strava

Turn OpenClaw into a Strava-aware running coach in minutes.

This community plugin connects your Strava account to OpenClaw so your agent can review activities, track trends, and answer training questions with your own data.

What it provides

  • strava_auth_status to check whether your Strava account is connected
  • strava_activities to list recent activities
  • strava_activity_detail to inspect a single activity in depth
  • strava_stats to summarize recent, year-to-date, and all-time totals

Why this plugin

  • Personalized coaching context from your real Strava history
  • Fast setup with OAuth linking through your OpenClaw gateway
  • Practical tools for weekly reviews, progress checks, and activity deep dives

Plugin page

Install

Recommended (ClawHub):

openclaw plugins install clawhub:@alexd10s/openclaw-strava

Alternative (npm spec):

openclaw plugins install @alexd10s/openclaw-strava

Local development install:

openclaw plugins install /path/to/openclaw-strava-plugin

60-second setup

  1. Create a Strava API app at https://www.strava.com/settings/api.
  2. Set the Authorization Callback Domain to localhost (or your gateway domain).
  3. Configure credentials:
openclaw config set plugins.entries.strava.config.clientId "YOUR_CLIENT_ID"
openclaw config set plugins.entries.strava.config.clientSecret "YOUR_CLIENT_SECRET"
  1. Restart your gateway.
  2. Ask the agent for auth status, open the returned connect URL, and approve access.

Detailed setup

  1. Create a Strava API app at https://www.strava.com/settings/api.
  2. Set the Authorization Callback Domain to localhost for local use, or your gateway hostname if you use a public tunnel/domain.
  3. Configure the plugin:
openclaw config set plugins.entries.strava.config.clientId "YOUR_CLIENT_ID"
openclaw config set plugins.entries.strava.config.clientSecret "YOUR_CLIENT_SECRET"
  1. Restart the gateway.
  2. Ask the agent for Strava auth status. It will return a gateway connect URL. Open that URL in a browser already signed into your OpenClaw gateway to complete OAuth.

Example prompts

  • "Show my last 7 Strava activities and summarize pace trends."
  • "Compare this week vs last week total distance and elevation."
  • "Give me a short coaching note based on my last long run."

Publish to ClawHub

This scaffold assumes:

  • package name: @alexd10s/openclaw-strava
  • repo: AlexD10S/openclaw-strava-plugin

If you change either of those, update package.json before publishing.

npm i -g clawhub
clawhub login
clawhub package publish AlexD10S/openclaw-strava-plugin --dry-run
clawhub package publish AlexD10S/openclaw-strava-plugin

Security notes

  • OAuth tokens are stored with 0600 permissions.
  • OAuth state nonces are used to prevent CSRF during account linking.
  • The tool returns a gateway-authenticated connect URL instead of a raw Strava OAuth URL.

Local development

pnpm install
pnpm test
pnpm typecheck
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务