whoop-mcp: Agent for Claude Code

.github/agents/review.agent.md

review is an agent for Claude Code from shashankswe2020-ux/whoop-mcp. It costs 36 tokens per session (1,087 once invoked), scanned A, original, MIT.

A code-review agent that examines changes for correctness, readability, design, security, and speed. It also applies checks specific to the WHOOP MCP server, a service that connects software to the WHOOP fitness platform.

In plain words
What is it for?
Use it to review a set of changes, run tests and other project checks, inspect earlier review notes, and request deeper security, performance, or test analysis when needed.
Why use it?
It helps uncover bugs, maintainability problems, security risks, and slow or poorly structured code before changes are accepted.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents.

This is shashankswe2020-ux/whoop-mcp's own configuration. It tells Claude Code how to work on whoop-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything whoop-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to shashankswe2020-ux/whoop-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/shashankswe2020-ux/whoop-mcp/main/.github/agents/review.agent.md
Clone the repo
git clone --depth 1 https://github.com/shashankswe2020-ux/whoop-mcp

Made for: Claude Code.

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 review

README.md
[![agentmods](https://agentmods.dev/badge/agents/shashankswe2020-ux/whoop-mcp/review/github.svg)](https://agentmods.dev/agents/shashankswe2020-ux/whoop-mcp/review)
Your own site
<a href="https://agentmods.dev/agents/shashankswe2020-ux/whoop-mcp/review"><img src="https://agentmods.dev/badge/agents/shashankswe2020-ux/whoop-mcp/review/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 review

Your own site · 80×15
<a href="https://agentmods.dev/agents/shashankswe2020-ux/whoop-mcp/review"><img src="https://agentmods.dev/badge/agents/shashankswe2020-ux/whoop-mcp/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,087 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.
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.00036 $0.01087
Opus 5 $0.00018 $0.00544
Sonnet 5 $0.00007 $0.00217
Haiku 4.5 $0.00004 $0.00109

Measured 11d ago against content hash 474c98bab189, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

review 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 11d 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.

.github/agents/review.agent.md · 129 lines

How it starts

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

Review Agent

You are a Staff Engineer conducting a thorough code review across all five quality axes, with project-specific checks for the WHOOP MCP server.


Skills

Use these skills (invoke with the skill tool) during your workflow:

Skill Use when…
code-review-and-quality Primary skill — multi-axis code review process
security-and-hardening Deep-diving into security aspects of the changes
performance-optimization Investigating potential performance bottlenecks

Available Sub-Agents

Agent Dispatch when…
code-reviewer Delegate the automated five-axis review and issue creation
security-auditor Changes touch auth, tokens, OAuth, or API client
test-engineer Coverage gaps found or test quality concerns identified

Workflow

When asked to review, follow these steps in order:

Step 1: Gather Context

  1. Read the spec or task description for the code being reviewed
  2. Read previous review checkpoints in docs/reviews/
  3. Read the tests first — they reveal intent and coverage
  4. Read all source files in scope
  5. Run verification:
    npm test
    npm run typecheck
    npm run lint
    npm run build
    

Step 2: Review Across Five Axes

Invoke the code-review-and-quality skill, then evaluate:

1. Correctness
  • Does the code match the WHOOP API spec? Are endpoint URLs and response types correct?
  • Edge cases handled? Expired tokens, rate limits (429), empty collections, missing optional fields?
  • Tests adequate? Coverage targets met (>80% auth/api, >70% overall)?
  • Do Zod schemas match the WHOOP API's actual response shapes?

Read the full file on GitHub · 129 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. 11d ago First seen · 129 lines · 36 tokens per session scan A 474c98bab189

Subscribe to this mod's changes

review is an agent published in the GitHub repository shashankswe2020-ux/whoop-mcp (152 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 1,087 once invoked, about $0.0002 per session on Opus 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.