nike-run-club
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseNike Run Club Skill
Nike Run Club Skill
Overview
概述
Enables Claude to use Nike Run Club for running tracking including viewing run history, achievements, challenges, and training program progress.
让Claude能够使用Nike Run Club进行跑步追踪,包括查看跑步历史、成就、挑战以及训练计划进度。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/nike-run-club/install.sh | bashOr manually:
bash
cp -r skills/nike-run-club ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/nike-run-club/install.sh | bash或手动安装:
bash
cp -r skills/nike-run-club ~/.canifi/skills/Setup
设置
Configure via canifi-env:
bash
undefined通过canifi-env进行配置:
bash
undefinedFirst, ensure canifi-env is installed:
First, ensure canifi-env is installed:
curl -sSL https://canifi.com/install.sh | bash
curl -sSL https://canifi.com/install.sh | bash
canifi-env set NIKE_EMAIL "your-email@example.com"
canifi-env set NIKE_PASSWORD "your-password"
undefinedcanifi-env set NIKE_EMAIL "your-email@example.com"
canifi-env set NIKE_PASSWORD "your-password"
undefinedPrivacy & Authentication
隐私与认证
Your credentials, your choice. Canifi LifeOS respects your privacy.
你的凭据,由你掌控。 Canifi LifeOS尊重你的隐私。
Option 1: Manual Browser Login (Recommended)
选项1:手动浏览器登录(推荐)
If you prefer not to share credentials with Claude Code:
- Complete the Browser Automation Setup using CDP mode
- Login to the service manually in the Playwright-controlled Chrome window
- Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭据:
- 使用CDP模式完成浏览器自动化设置
- 在Playwright控制的Chrome窗口中手动登录该服务
- Claude将使用你的已认证会话,且永远不会看到你的密码
Option 2: Environment Variables
选项2:环境变量
If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果你愿意共享凭据,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"注意:存储在canifi-env中的凭据仅能在你的本地机器上访问,绝不会被传输。
Capabilities
功能
- View running history
- Check achievement badges
- Access run statistics
- View monthly/yearly totals
- Check challenge progress
- Access guided run history
- 查看跑步历史
- 查看成就徽章
- 访问跑步统计数据
- 查看月度/年度总里程
- 查看挑战进度
- 访问指导跑步历史
Usage Examples
使用示例
Example 1: Check Running Stats
示例1:查看跑步统计数据
User: "How many miles have I run this month?"
Claude: I'll check your monthly mileage.
1. Opening Nike Run Club via Playwright MCP
2. Accessing activity history
3. Summing this month's runs
4. Reporting total distance用户:"我这个月跑了多少英里?"
Claude:我将查询你的月度里程。
1. 通过Playwright MCP打开Nike Run Club
2. 访问活动历史
3. 汇总本月的跑步记录
4. 报告总距离Example 2: View Achievements
示例2:查看成就
User: "What running achievements have I unlocked?"
Claude: I'll show your achievements.
1. Navigating to achievements
2. Listing unlocked badges
3. Showing recent achievements
4. Noting next milestones用户:"我解锁了哪些跑步成就?"
Claude:我将为你展示你的成就。
1. 导航至成就页面
2. 列出已解锁的徽章
3. 展示近期成就
4. 标注下一个里程碑Example 3: Check Recent Run
示例3:查看最近一次跑步记录
User: "How was my last run?"
Claude: I'll review your last run.
1. Accessing activity feed
2. Finding most recent run
3. Viewing pace and distance
4. Summarizing performance用户:"我上一次跑步的情况如何?"
Claude:我将查看你的上一次跑步记录。
1. 访问活动动态
2. 找到最近一次跑步记录
3. 查看配速和距离
4. 总结表现Authentication Flow
认证流程
- Navigate to nike.com via Playwright MCP
- Click "Sign In" and enter email
- Enter password
- Handle 2FA if required (via iMessage)
- Maintain session for data access
- 通过Playwright MCP导航至nike.com
- 点击“登录”并输入邮箱
- 输入密码
- 若需要,处理双因素认证(通过iMessage)
- 维持会话以访问数据
Error Handling
错误处理
- Login Failed: Retry up to 3 times, notify via iMessage
- Session Expired: Re-authenticate automatically
- Rate Limited: Implement exponential backoff
- 2FA Required: Send iMessage notification
- Sync Pending: Wait for app sync
- Run Not Found: Check activity history
- 登录失败:最多重试3次,通过iMessage通知
- 会话过期:自动重新认证
- 请求受限:实现指数退避策略
- 需要双因素认证:发送iMessage通知
- 同步待处理:等待应用同步
- 未找到跑步记录:检查活动历史
Self-Improvement Instructions
自我更新说明
When Nike Run Club updates:
- Document new achievement types
- Update challenge features
- Track guided run additions
- Log interface changes
当Nike Run Club更新时:
- 记录新的成就类型
- 更新挑战功能
- 追踪新增的指导跑步内容
- 记录界面变化
Notes
说明
- Free running app
- Audio guided runs
- Global challenges
- Personal records tracking
- Integration with Nike ecosystem
- 免费跑步应用
- 音频指导跑步
- 全球挑战
- 个人记录追踪
- 与Nike生态系统集成