Query workout data from Hevy including workouts, routines, exercises, and history. Use when user asks about their workouts, gym sessions, exercise progress, or fitness routines.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install hevy或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install hevy⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/hevy/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: hevy description: Query workout data from Hevy including workouts, routines, exercises, and history. Use when user asks about their workouts, gym sessions, exercise progress, or fitness routines. homepage: https://hevy.com metadata: clawdbot: emoji: "🏋️" requires: bins: ["hevy"] env: ["HEVY_API_KEY"] ---
CLI for the Hevy workout tracking API. Query workouts, routines, exercises, and track progress.
Requires Hevy Pro subscription for API access.
export HEVY_API_KEY="your-key"# Check configuration and connection
hevy status
# List recent workouts (default 5)
hevy workouts
hevy workouts --limit 10
# Fetch all workouts
hevy workouts --all
# Show detailed workout
hevy workout <workout-id>
# JSON output
hevy workouts --json
hevy workout <id> --json
# Show weights in kg (default is lbs)
hevy workouts --kg
# List all routines
hevy routines
# Show detailed routine
hevy routine <routine-id>
# JSON output
hevy routines --json
# List all exercise templates
hevy exercises
# Search by name
hevy exercises --search "bench press"
# Filter by muscle group
hevy exercises --muscle chest
# Show only custom exercises
hevy exercises --custom
# JSON output
hevy exercises --json
# Show history for specific exercise
hevy history <exercise-template-id>
hevy history <exercise-template-id> --limit 50
# JSON output
hevy history <exercise-template-id> --json
# Create routine from JSON (stdin)
echo '{"routine": {...}}' | hevy create-routine
# Create routine from file
hevy create-routine --file routine.json
# Create a routine folder
hevy create-folder "Push Pull Legs"
# Update existing routine
echo '{"routine": {...}}' | hevy update-routine <routine-id>
# Create custom exercise (checks for duplicates first!)
hevy create-exercise --title "My Exercise" --muscle chest --type weight_reps
# Force create even if duplicate exists
hevy create-exercise --title "My Exercise" --muscle chest --force
⚠️ Duplicate Prevention: create-exercise checks if an exercise with the same name already exists and will error if found. Use --force to create anyway (not recommended).
Routine JSON format:
{
"routine": {
"title": "Push Day 💪",
"folder_id": null,
"notes": "Chest, shoulders, triceps",
"exercises": [
{
"exercise_template_id": "79D0BB3A",
"notes": "Focus on form",
"rest_seconds": 90,
"sets": [
{ "type": "warmup", "weight_kg": 20, "reps": 15 },
{ "type": "normal", "weight_kg": 60, "reps": 8 }
]
}
]
}
}
# Total workout count
hevy count
# List routine folders
hevy folders
User asks "What did I do at the gym?"
hevy workouts
User asks "Show me my last chest workout"
hevy workouts --limit 10 # Find relevant workout ID
hevy workout <id> # Get details
User asks "How am I progressing on bench press?"
hevy exercises --search "bench press" # Get exercise template ID
hevy history <exercise-id> # View progression
User asks "What routines do I have?"
hevy routines
hevy routine <id> # For details
User asks "Find leg exercises"
hevy exercises --muscle quadriceps
hevy exercises --muscle hamstrings
hevy exercises --muscle glutes
User asks "Create a push day routine"
# 1. Find exercise IDs
hevy exercises --search "bench press"
hevy exercises --search "shoulder press"
# 2. Create routine JSON with those IDs and pipe to create-routine
create-exercise checks for existing exercises with the same name before creating. Use --force to override (not recommended).Full API docs: https://api.hevyapp.com/docs/
GET /v1/workouts - List workouts (paginated)GET /v1/workouts/{id} - Get single workoutGET /v1/workouts/count - Total workout countGET /v1/routines - List routinesGET /v1/routines/{id} - Get single routineGET /v1/exercise_templates - List exercisesGET /v1/exercise_templates/{id} - Get single exerciseGET /v1/exercise_history/{id} - Exercise historyGET /v1/routine_folders - List foldersPOST /v1/workouts - Create workoutPUT /v1/workouts/{id} - Update workoutPOST /v1/routines - Create routinePUT /v1/routines/{id} - Update routinePOST /v1/exercise_templates - Create custom exercisePOST /v1/routine_folders - Create folderThe CLI focuses on read operations. Write operations are available via the API client for programmatic use.
安装 Hevy 后,可以对 AI 说这些话来触发它
Help me get started with Hevy
Explains what Hevy does, walks through the setup, and runs a quick demo based on your current project
Use Hevy to query workout data from Hevy including workouts, routines, exercise...
Invokes Hevy with the right parameters and returns the result directly in the conversation
What can I do with Hevy in my data & analytics workflow?
Lists the top use cases for Hevy, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/hevy/ 目录(个人级,所有项目可用),或 .claude/skills/hevy/(项目级)。重启 AI 客户端后,用 /hevy 主动调用,或让 AI 根据上下文自动发现并使用。
Hevy 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Hevy 可免费安装使用。请查阅仓库了解许可证信息。
Query workout data from Hevy including workouts, routines, exercises, and history. Use when user asks about their workouts, gym sessions, exercise progress, or fitness routines.
Hevy 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using Hevy
Identifies repetitive steps in your workflow and sets up Hevy to handle them automatically