← 返回 Skills 市场
nsampre

Hevy

作者 nsampre · GitHub ↗ · v0.0.1
cross-platform ⚠ suspicious
1774
总下载
1
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install hevycli
功能描述
Access and analyze your Hevy fitness data via CLI to view workouts, routines, exercises, export JSON data, and track fitness progress.
使用说明 (SKILL.md)

Hevy CLI Skill

Description

Access and analyze Hevy fitness tracking data including workouts, routines, and exercise templates via the command line.

When to Use

Use this skill when the user asks to:

  • View their workout history or recent workouts
  • Get details about a specific workout
  • Check their total workout count
  • List or view their workout routines
  • Browse exercise templates
  • Export workout data as JSON
  • Analyze their fitness progress over time

Prerequisites

  • User must have hevycli installed (go install github.com/nsampre/hevycli@latest)
  • User must have configured their Hevy API key (hevycli config set-api-key \x3Ckey>)
  • User must have a Hevy Pro subscription

Available Commands

Configuration

# Set API key
hevycli config set-api-key \x3Capi-key-uuid>

# View current config
hevycli config show

Workouts

# 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 \x3Cworkout-id>

# Get total workout count
hevycli workouts count

Routines

# 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 \x3Croutine-id>

Exercises

# List exercise templates
hevycli exercises list [--page N] [--page-size N] [--format json|table]

# Get exercise template details
hevycli exercises get \x3Ctemplate-id>

Global Flags

  • --format - Output format: table (default) or json
  • --debug - Enable debug output for API requests

Usage Examples

Example 1: View Recent Workout History

hevycli workouts list --page-size 5

Example 2: Get Detailed Workout with Sets and Reps

# Using short ID (first 8 characters)
hevycli workouts get f75e9c13

# Or using full UUID
hevycli workouts get f75e9c13-32d7-407d-9715-011f5d5698fa

Example 3: Export Data for Analysis

# Export all workouts as JSON
hevycli workouts list --format json > workouts.json

# Export routines
hevycli routines list --format json > routines.json

Example 4: Check Progress

# View total workouts completed
hevycli workouts count

# List exercise templates to find specific exercise IDs
hevycli exercises list

Tips for Claude

  1. Use JSON format for analysis: When helping users analyze their data, use --format json to get structured data that can be parsed and analyzed.

  2. Short IDs are supported: Users can copy short IDs from workouts list output and use them directly in workouts get commands.

  3. Pagination: API max page size is 10. Use pagination (--page N) to access older workouts.

  4. Error handling: If a command fails:

    • Check if API key is configured (hevycli config show)
    • Verify the user has Hevy Pro subscription
    • Check if the ID exists or is valid
  5. Data insights: After retrieving workout data, you can:

    • Calculate training volume (weight × reps × sets)
    • Track progression over time
    • Identify patterns in workout frequency
    • Suggest rest day intervals

Example Interaction

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

Notes

  • The tool reads data only - it does not create or modify workouts
  • All timestamps are in ISO 8601 format
  • Weights are always displayed in kilograms
  • Distances are in meters, durations in seconds
  • Table output handles emoji in workout titles (may have minor alignment issues depending on terminal)
安全使用建议
Before installing or using this skill: 1) Be aware the SKILL.md expects you to install a third-party Go package (github.com/nsampre/hevycli) — review that repository's source and releases to ensure you trust it. 2) The skill needs your Hevy API key (sensitive). Confirm how `hevycli` stores that key locally and avoid sharing it; do not enable `--debug` unless necessary. 3) The registry metadata is incomplete (it should list the hevycli binary and required credential). Treat this mismatch as a packaging/attention-to-detail problem — it may be harmless, but verify the upstream code and read the CLI's config/storage behavior before providing secrets. 4) If possible, prefer installing a pinned release (not @latest) and inspect the code/build artifacts for unexpected network or file-access behavior.
功能分析
Type: OpenClaw Skill Name: hevycli Version: 0.0.1 The skill bundle is benign, providing instructions for an AI agent to interact with the `hevycli` command-line tool for fitness data analysis. All commands and instructions in `Skill.md` are directly related to querying and analyzing Hevy fitness data, including listing workouts, routines, and exercises, and exporting data to local files. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or harmful prompt injection attempts against the agent. The `go install` command for `hevycli` is a standard prerequisite setup step, not a malicious action by the skill itself.
能力评估
Purpose & Capability
The skill's runtime instructions clearly target the hevycli command-line tool and a Hevy API key to read a user's workout data. However, the registry metadata declares no required binaries, no required environment variables, and no primary credential. That mismatch (instructions require a binary and API key but metadata lists none) is incoherent.
Instruction Scope
The SKILL.md stays within the stated purpose (listing/getting workouts, routines, templates, exporting JSON). It does instruct the agent/user to run `go install github.com/nsampre/hevycli@latest` and to configure an API key via `hevycli config set-api-key`. It does not ask the agent to read unrelated files or exfiltrate data. Minor caution: using `--debug` may expose request details (potentially including sensitive tokens) in logs.
Install Mechanism
There is no registry install spec (instruction-only), but SKILL.md instructs the user to run `go install` against a GitHub repo. Fetching and building code from a remote repository is normal for Go CLIs but requires trusting that GitHub source — the skill does not provide a vetted install artifact or pinned release in the metadata.
Credentials
The instructions require a Hevy API key and a Hevy Pro subscription, yet the skill metadata declares no credentials or required env vars. The absence of declared credentials is inconsistent and hides that an API key (sensitive secret) must be provided and stored locally by the CLI. The SKILL.md also advises using debug output which could surface sensitive data.
Persistence & Privilege
The skill does not request always:true or any persistent system-wide privileges. It is user-invocable and allows normal autonomous invocation. It does not declare modifying other skills or system configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hevycli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hevycli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.1
Initial release of hevycli skill — command-line access and analysis for Hevy fitness data. - View and export workout history, details, and totals with filters and JSON output. - List and inspect workout routines and exercise templates. - Analyze user fitness progress over time (volume, patterns, frequency). - Supports short IDs, pagination (max 10/page), and debug mode. - Requires Hevy Pro and API key configuration. - Data is read-only; outputs support table and JSON formats.
元数据
Slug hevycli
版本 0.0.1
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Hevy 是什么?

Access and analyze your Hevy fitness data via CLI to view workouts, routines, exercises, export JSON data, and track fitness progress. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1774 次。

如何安装 Hevy?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hevycli」即可一键安装,无需额外配置。

Hevy 是免费的吗?

是的,Hevy 完全免费(开源免费),可自由下载、安装和使用。

Hevy 支持哪些平台?

Hevy 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Hevy?

由 nsampre(@nsampre)开发并维护,当前版本 v0.0.1。

💬 留言讨论