Install
openclaw skills install hevycliAccess and analyze your Hevy fitness data via CLI to view workouts, routines, exercises, export JSON data, and track fitness progress.
openclaw skills install hevycliAccess and analyze Hevy fitness tracking data including workouts, routines, and exercise templates via the command line.
Use this skill when the user asks to:
hevycli installed (go install github.com/nsampre/hevycli@latest)hevycli config set-api-key <key>)# Set API key
hevycli config set-api-key <api-key-uuid>
# View current config
hevycli config show
# List recent workouts
hevycli workouts list [--page N] [--page-size N] [--format json|table]
# Get detailed workout information (accepts full UUID or 8-char short ID)
hevycli workouts get <workout-id>
# Get total workout count
hevycli workouts count
# List routines
hevycli routines list [--page N] [--page-size N] [--format json|table]
# Get routine details (accepts full UUID or 8-char short ID)
hevycli routines get <routine-id>
# List exercise templates
hevycli exercises list [--page N] [--page-size N] [--format json|table]
# Get exercise template details
hevycli exercises get <template-id>
--format - Output format: table (default) or json--debug - Enable debug output for API requestshevycli workouts list --page-size 5
# Using short ID (first 8 characters)
hevycli workouts get f75e9c13
# Or using full UUID
hevycli workouts get f75e9c13-32d7-407d-9715-011f5d5698fa
# Export all workouts as JSON
hevycli workouts list --format json > workouts.json
# Export routines
hevycli routines list --format json > routines.json
# View total workouts completed
hevycli workouts count
# List exercise templates to find specific exercise IDs
hevycli exercises list
Use JSON format for analysis: When helping users analyze their data, use --format json to get structured data that can be parsed and analyzed.
Short IDs are supported: Users can copy short IDs from workouts list output and use them directly in workouts get commands.
Pagination: API max page size is 10. Use pagination (--page N) to access older workouts.
Error handling: If a command fails:
hevycli config show)Data insights: After retrieving workout data, you can:
User: "Show me my last 3 workouts"
Claude:
hevycli workouts list --page-size 3
User: "Get details on the first workout"
Claude:
# Using the short ID from the list output
hevycli workouts get f75e9c13
User: "How many total workouts have I completed?"
Claude:
hevycli workouts count