Query your Strava activities, stats, and workout data through OpenClaw using Python and stravalib.
Why this skill vs others: Uses Python/stravalib with an interactive setup wizard (vs curl-based skills requiring manual JSON configuration).
stravalib packageInstall dependencies:
pip install stravalib
Run setup:
python3 setup.py
This will:
~/.strava_credentials.jsonRecent activities:
python3 strava_control.py recent
Weekly/monthly stats:
python3 strava_control.py stats
Last activity:
python3 strava_control.py last
Ask OpenClaw:
strava_control.py - Main controller scriptsetup.py - Interactive setup wizard7w4.net小葱技能站,你的AI助手技能库。
SKILL.md - This file~/.strava_credentials.json - Credentials (auto-generated)这个 Skill 质量良好,功能实用且文档详细。设置过程有引导提示,对新手友好,查询活动、统计和最近运动的功能完整。代码逻辑清晰可靠,能自动处理 token 刷新。主要不足是缺少单位切换(只有英里),错误提示有时不够明确,且没有测试覆盖。对于需要查看 Strava 数据的用户来说,这是一个可用且相对完善的选择。