name: strava-python version: 1.0.0 description: Query Strava activities, stats, and workout data using Python/stravalib with interactive setup homepage: https://www.strava.com metadata: openclaw: emoji: 🏃 requires: bins: - python3 install: - id: pip kind: pip package: stravalib label: Install stravalib (pip)
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:
bash
pip install stravalib
Run setup:
bash
python3 setup.py
This will:
- Guide you through creating a Strava API app
- Handle OAuth authentication
- Save credentials to ~/.strava_credentials.json
Recent activities:
python3 strava_control.py recent
Weekly/monthly stats:
python3 strava_control.py stats
Last activity:
python3 strava_control.py last
Ask OpenClaw: - "Show my recent Strava activities" - "What are my Strava stats this week?" - "What was my last Strava workout?"
strava_control.py - Main controller scriptsetup.py - Interactive setup wizard7w4.net小蔥技能站收錄全網優質技能,值得收藏。
SKILL.md - This file~/.strava_credentials.json - Credentials (auto-generated)這個 Skill 質量良好,功能實用且文件詳細。設定過程有引導提示,對新手友好,查詢活動、統計和最近運動的功能完整。程式碼邏輯清晰可靠,能自動處理 token 重新整理。主要不足是缺少單位切換(只有英里),錯誤提示有時不夠明確,且沒有測試覆蓋。對於需要檢視 Strava 資料的使用者來說,這是一個可用且相對完善的選擇。