hevy-cli

hevy-cli is a skill for Claude Code from chrisdoc/hevy-mcp. It costs 38 tokens per session (1,343 once invoked), scanned A, original, MIT.

A command-line tool for reading and managing Hevy workout data from a terminal. Hevy is an app for tracking workouts, exercises, routines, and body measurements.

In plain words
What is it for?
Use it to list or inspect workouts and routines, search exercises, review exercise history and measurements, view summaries, and create or update supported Hevy records.
Why use it?
It lets the agent work with training records from scripts or terminal commands without needing to use the app’s interface. It also keeps the API key in a dedicated environment variable.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the hevy-mcp plugin — 11 skills, 2 MCP servers shipped together

Good fit Use it to list or inspect workouts and routines, search exercises, review exercise history and measurements, view summaries, and create or update supported Hevy records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chrisdoc/hevy-mcp/hevy-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add chrisdoc/hevy-mcp --skill hevy-cli
Clone the repo
git clone --depth 1 https://github.com/chrisdoc/hevy-mcp

Made for: Claude Code.

Or install hevy-mcp, the plugin that ships this one along with the rest of its 11 skills, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hevy-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/chrisdoc/hevy-mcp/hevy-cli/github.svg)](https://agentmods.dev/skills/chrisdoc/hevy-mcp/hevy-cli)
Your own site
<a href="https://agentmods.dev/skills/chrisdoc/hevy-mcp/hevy-cli"><img src="https://agentmods.dev/badge/skills/chrisdoc/hevy-mcp/hevy-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hevy-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/chrisdoc/hevy-mcp/hevy-cli"><img src="https://agentmods.dev/badge/skills/chrisdoc/hevy-mcp/hevy-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,343 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 12 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 15
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 28
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 69
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 79
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 80
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 96
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 100
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 104
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 108
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 112
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 19
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 26
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.01343
Opus 5.5 $0.00015 $0.00537
Sonnet 5.5 $0.00008 $0.00269
Haiku 4.5 $0.00004 $0.00134

Measured 1mo ago against content hash 5792ba956899, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hevy-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/hevy-cli/SKILL.md · 151 lines

How it starts

The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hevy CLI

Use this skill to manage workouts in the Hevy app. The CLI supports reads, creates, and updates. Deletion is unsupported.

1. Install or run the published package

# One-off use; npm downloads the published package when needed.
npx @chrisdoc/hevy-cli --help

# Local project install.
npm i @chrisdoc/hevy-cli
npx hevy --help

# Persistent global install.
npm i -g @chrisdoc/hevy-cli
hevy --help

The package requires Node.js 24 or newer. Use npx --yes @chrisdoc/hevy-cli ... in non-interactive scripts. Installation is verified when npx @chrisdoc/hevy-cli --version or hevy --version prints a version.

2. Configure the API key

The CLI reads credentials only from HEVY_API_KEY:

export HEVY_API_KEY='<your-hevy-api-key>'

Keep the key out of command arguments, JSON payloads, URLs, shell history, screenshots, logs, and responses. --help and --version work without it.

3. Choose a route

Read routes:

  • user
  • workouts list, workouts get, workouts count, workouts events
  • routines list, routines get
  • exercises search, exercises get, exercises history
  • measurements list, measurements get
  • summary

Create/update routes:

  • workouts create, workouts update <workout-id>
  • routines create, routines update <routine-id>
  • exercises create
  • folders create
  • measurements create <YYYY-MM-DD>, measurements update <YYYY-MM-DD>

The CLI exposes no delete, update-exercise-template, or update-folder routes. If a user requests deletion of any resource, explain that deletion is not supported by the CLI or the Hevy API integration. Suggest a supported alternative, such as archiving the resource in Hevy if available or replacing it.

Run route help whenever a flag or argument is uncertain:

npx @chrisdoc/hevy-cli <command> --help

Use the narrowest read route and date/page range that answers the question. Use --json when output will be searched, filtered, or piped.

For exercise work, search first and use the exact returned template ID. Create a custom exercise only when the required movement is absent:

Read the full file on GitHub · 151 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 151 lines · 38 tokens per session scan A 5792ba956899

Subscribe to this mod's changes

hevy-cli is a skill published in the GitHub repository chrisdoc/hevy-mcp (523 stars, last pushed 2d ago), licensed MIT. It adds 38 tokens to every session and 1,343 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.