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.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- strava-cycling-coach
- description
- 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.
02 资源文件 11
- 参考文档_meta.json299 B
- 参考文档README.txt1.9 KB
- 参考文档references/api.md2.8 KB
- 脚本scripts/analyze_and_notify.py7.2 KB
- 脚本scripts/analyze_rides.py7.3 KB
- 脚本scripts/auto_analyze_new_rides.sh1.3 KB
- 脚本scripts/cache_manager.py2.1 KB
- 脚本scripts/complete_auth.py2.0 KB
- 脚本scripts/get_latest_ride.py2.1 KB
- 脚本scripts/monitor_new_rides.py2.9 KB
- 脚本scripts/setup.sh1.3 KB
03 SKILL.md 正文
Strava Cycling Coach
Track cycling performance, analyze rides, and monitor fitness progression using the Strava API.
Setup
1. Create Strava API Application
Visit https://www.strava.com/settings/api and create an application:
- Application Name: Clawdbot (or your preferred name)
- Category: Data Importer
- Club: (leave blank)
- Website: http://localhost
- Authorization Callback Domain: localhost
Save your Client ID and Client Secret.
2. Run Setup Script
cd skills/strava
./scripts/setup.sh
You'll be prompted for:
- Client ID
- Client Secret
- Visit an OAuth URL to authorize
- Copy the authorization code and complete setup with:
./scripts/complete_auth.py YOUR_CODE_HERE
3. Configure Automatic Monitoring (Optional)
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
4. Test the Setup
Analyze your recent rides:
./scripts/analyze_rides.py --days 90 --ftp YOUR_FTP
Usage
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
Automatic Monitoring
The skill can automatically:
- Check for new rides every 30 minutes
- Analyze power, heart rate, and training load
- Send insights about performance and fitness trends
- Compare to recent training history
Metrics Analyzed
- Power: Average, normalized, max, variability index
- Heart rate: Average, max, time in zones
- Training load: TSS estimation, intensity factor
- Fitness progression: Trends over time
- Segments: PR achievements and efforts
- Comparative: vs recent rides, vs personal bests
Configuration
Edit ~/.config/strava/config.json to customize:
- Monitoring frequency
- Analysis preferences
- Notification settings
API Reference
See references/api.md for complete Strava API documentation.
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.