hevy_rules

hevy_rules is a cursor rule for Cursor from rwestergren/hevy-mcp. It costs 242 tokens per session, scanned A, original, MIT.

A set of rules for managing Hevy workouts, routines, folders, and exercise templates, with guidance for testing the related API integration. Hevy is a workout-tracking app.

In plain words
What is it for?
Use it to create and update workout sessions, organize training plans, search exercises, and write or maintain tests for Hevy API calls.
Why use it?
It keeps workout data organized and sets expectations for reliable integration tests, including checking that API responses have the expected structure.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions Cursor.

Good fit Use it to create and update workout sessions, organize training plans, search exercises, and write or maintain tests for Hevy API calls.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/rwestergren/hevy-mcp/hevy_rules
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.

Clone the repo
git clone --depth 1 https://github.com/rwestergren/hevy-mcp

Made for: Cursor.

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_rules

README.md
[![agentmods](https://agentmods.dev/badge/rules/rwestergren/hevy-mcp/hevy_rules/github.svg)](https://agentmods.dev/rules/rwestergren/hevy-mcp/hevy_rules)
Your own site
<a href="https://agentmods.dev/rules/rwestergren/hevy-mcp/hevy_rules"><img src="https://agentmods.dev/badge/rules/rwestergren/hevy-mcp/hevy_rules/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_rules

Your own site · 80×15
<a href="https://agentmods.dev/rules/rwestergren/hevy-mcp/hevy_rules"><img src="https://agentmods.dev/badge/rules/rwestergren/hevy-mcp/hevy_rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 242 This file is loaded in full into every session.
When invoked 242 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00242 $0.00242
Opus 5.5 $0.00097 $0.00097
Sonnet 5.5 $0.00048 $0.00048
Haiku 4.5 $0.00024 $0.00024

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

Security

Grade A, and why

hevy_rules 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.cursor/rules/hevy_rules.mdc · 21 lines

What it actually says

Cursor Rule: hevy-mcp Integration Test Best Practices

  1. Always re-run relevant tests after making any change to a test file.

    • This ensures that changes are immediately validated and no regressions are introduced.
  2. When fixing or updating integration tests:

    • Use the correct method signatures and argument types for SDK/client calls.
    • Add or update Zod schema validation for API responses to ensure type safety and contract adherence.
    • Remove any debug or console.log statements before finalizing changes, unless explicitly requested otherwise.
  3. When adding new tests or updating existing ones:

    • Prefer validating response data with Zod schemas that match the expected output structure.
    • Ensure all test assertions are meaningful and reflect the actual API contract.
  4. If a test fails:

    • Add temporary debug output (e.g., console.log) only as needed to diagnose the issue, and remove it once resolved.
    • Investigate the actual response structure before updating assertions or schemas.
  5. Keep integration tests clean and production-ready:

    • No unnecessary debug output.
    • All code should be idiomatic, concise, and maintainable.
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 · 21 lines · 242 tokens per session scan A 074da33dfd66

Subscribe to this mod's changes

hevy_rules is a cursor rule published in the GitHub repository rwestergren/hevy-mcp (0 stars, last pushed 5mo ago), licensed MIT. It adds 242 tokens to every session, about $0.0010 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-31.