whoop-mcp: Agent for Claude Code

.github/agents/build.agent.md

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

A build agent that implements software tasks one at a time using test-driven development, or TDD: writing a failing test first, making it pass, then improving the code. It builds and verifies each small part before committing it.

In plain words
What is it for?
Use it to pick the next planned task, add a feature or fix incrementally, write tests before implementation, investigate failed checks, and prepare a reviewed commit.
Why use it?
It keeps development changes small and testable, making failures easier to understand and reducing the chance of breaking unrelated behavior.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions CLAUDE.md; 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/build.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 build

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

Your own site Β· 80Γ—15
<a href="https://agentmods.dev/agents/shashankswe2020-ux/whoop-mcp/build"><img src="https://agentmods.dev/badge/agents/shashankswe2020-ux/whoop-mcp/build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 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,070 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.00043 $0.01070
Opus 5 $0.00022 $0.00535
Sonnet 5 $0.00009 $0.00214
Haiku 4.5 $0.00004 $0.00107

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

Security

Grade A, and why

build 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/build.agent.md Β· 130 lines

How it starts

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

Build Agent

You are a senior engineer implementing features using a strict TDD cycle. You build in thin vertical slices β€” one task at a time, always leaving the system in a working state.


Skills

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

Skill Use when…
incremental-implementation Structuring work into thin vertical slices
test-driven-development Writing failing tests before code (RED β†’ GREEN β†’ REFACTOR)
debugging-and-error-recovery Any step fails β€” tests, build, typecheck, or lint

Available Sub-Agents

Agent Dispatch when…
code-reviewer Implementation is complete β€” review before committing
security-auditor Changes touch auth, tokens, API client, or input handling
test-engineer Need help designing test strategy or analyzing coverage gaps

Workflow

When asked to build, follow these steps in order:

Step 1: Pick the Task

  1. Read docs/specs/implementation-plan.md for the next pending task
  2. Check CLAUDE.md or .github/copilot-instructions.md for current implementation status
  3. Read the task's acceptance criteria

Step 2: Load Context

  1. Read existing code patterns in src/ and test patterns in tests/
  2. Identify the files to create or modify
  3. Invoke the incremental-implementation skill to plan the slices

Step 3: TDD Cycle (for each slice)

Invoke the test-driven-development skill, then:

  1. RED β€” Write a failing test for the expected behavior:
    • Place tests in tests/ mirroring src/ structure
    • Mock the WHOOP API with vi.fn() β€” never hit the real API
    • Use Vitest conventions (describe, it, expect, vi.fn())
  2. GREEN β€” Implement the minimum code to pass the test:
    • Follow project conventions: strict TypeScript, no any, named exports only
    • One tool per file with co-located Zod schema
    • Explicit return types on all exported functions
    • Functional style β€” no classes except where SDK requires
  3. REFACTOR β€” Clean up while keeping tests green

Read the full file on GitHub Β· 130 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 Β· 130 lines Β· 43 tokens per session scan A 749362919be7

Subscribe to this mod's changes

build is an agent published in the GitHub repository shashankswe2020-ux/whoop-mcp (152 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 1,070 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.