技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
strava-cycling-coach【数据与研究】Track and analyze cycling performance from Strava. Use when analyzing ride data, reviewing fitness trends, understanding workout performance, or providing insights on cycling training. Automatically monitors new rides and provides performance analysis.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Track cycling performance, analyze rides, and monitor fitness progression using the Strava API.
Visit https://www.strava.com/settings/api and create an application:
Save your Client ID and Client Secret.
cd skills/strava
./scripts/setup.sh
You'll be prompted for:
./scripts/complete_auth.py YOUR_CODE_HERE
To receive automatic ride analysis after each workout:
# Set your Telegram chat ID
export STRAVA_TELEGRAM_CHAT_ID="your_telegram_chat_id"
# Add to your shell profile for persistence
echo 'export STRAVA_TELEGRAM_CHAT_ID="your_telegram_chat_id"' >> ~/.bashrc
# Set up cron job (checks every 30 minutes)
crontab -l > /tmp/cron_backup.txt
echo "*/30 * * * * $(pwd)/scripts/auto_analyze_new_rides.sh" >> /tmp/cron_backup.txt
crontab /tmp/cron_backup.txt
Analyze your recent rides:
./scripts/analyze_rides.py --days 90 --ftp YOUR_FTP
Get latest ride:
scripts/get_latest_ride.py
Analyze specific ride:
scripts/analyze_ride.py <activity-id>
Monitor for new rides (runs in background):
scripts/monitor_rides.sh
The skill can automatically:
Edit ~/.config/strava/config.json to customize:
See references/api.md for complete Strava API documentation.