Borrowing it
Nothing to install: this file belongs to hhopke/intervals-icu-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.
curl -O https://raw.githubusercontent.com/hhopke/intervals-icu-mcp/main/.claude/skills/add-tool/SKILL.mdgit clone --depth 1 https://github.com/hhopke/intervals-icu-mcpWrote 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.
[](https://agentmods.dev/skills/hhopke/intervals-icu-mcp/add-tool)<a href="https://agentmods.dev/skills/hhopke/intervals-icu-mcp/add-tool"><img src="https://agentmods.dev/badge/skills/hhopke/intervals-icu-mcp/add-tool/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.
<a href="https://agentmods.dev/skills/hhopke/intervals-icu-mcp/add-tool"><img src="https://agentmods.dev/badge/skills/hhopke/intervals-icu-mcp/add-tool.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.03365 |
| Opus 5 | $0.00030 | $0.01682 |
| Sonnet 5 | $0.00012 | $0.00673 |
| Haiku 4.5 | $0.00006 | $0.00336 |
Grade A, and why
add-tool 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.
How it starts
The opening of the file, as written. The whole thing — 284 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What you're producing
An MCP tool is an LLM-consumed artifact. The tool's name and description are
read by every Claude/GPT/etc. model that connects to this server, on every
session, before the user has typed anything. Be ruthless about clarity and
length. Write for the model, not for human readers (humans read docs/tools.md
and the README).
Prerequisites
Before starting:
- Verify the Intervals.icu API endpoint exists in
openapi-spec.json— check the request/response schema, enum values, and required fields. - Decide the tier the tool belongs to:
core(daily-use, exposed by default) orfull(specialty/coach, opt-in viaINTERVALS_ICU_TOOLSET=full). When tier work lands per issue #27, tag accordingly. - Check for confusable names in the existing tool surface. If your tool name shares a prefix or noun with another tool (e.g.
get_activity_*,*_event,create_*), the opening sentence of the description MUST lead with the distinguishing access pattern, not the shared concept. - Decide whether a new API client method is needed in
client.py.
Steps
1. Add the API client method (if needed)
File: src/intervals_icu_mcp/client.py
Add an async method to ICUClient following the existing pattern. Type the local variable so pyright doesn't widen Any:
async def get_something(self, athlete_id: str | None = None) -> list[dict[str, Any]]:
"""Fetch something from the API."""
athlete_id = athlete_id or self.config.intervals_icu_athlete_id
response = await self._request("GET", f"/athlete/{athlete_id}/something")
result: list[dict[str, Any]] = response.json()
return result
Trust the API contract — don't add if isinstance(data, list) else [] defensive ternaries unless there's a real reason. Pydantic models are preferred when the response shape is stable; raw dicts are fine for variable-shape endpoints (e.g. custom_items.content).
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.
- 11d ago First seen · 284 lines · 61 tokens per session scan A aee1db03f6a3
add-tool is a skill published in the GitHub repository hhopke/intervals-icu-mcp (64 stars, last pushed today), licensed MIT. It adds 61 tokens to every session and 3,365 once invoked, about $0.0003 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.
Other skills, from other repositories
scraperapi-python-sdk
Best-practices reference for the ScraperAPI Python SDK (scraperapi-sdk package). Consult whenever the user is writing, debugging, or reviewing Python code that calls ScraperAPI. Use when user asks: "scrape a website with Python and ScraperAPI", "how do I use ScraperAPIClient", "ScraperAPI Python render example"…
x402
Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing…
django-patterns
Django architecture patterns, REST API design with DRF, ORM best practices, caching, signals, middleware, and production-grade Django apps.
fastapi-patterns
FastAPI patterns for async APIs, dependency injection, Pydantic request and response models, OpenAPI docs, tests, security, and production readiness.
mem0-status
Diagnoses mem0 connectivity, API key validity, and memory read/write functionality. Use when memory operations fail, searches return empty, addmemory errors occur, or to verify the plugin is working correctly.
status
Show whether Mem0 memory is working in this repository, covering configuration, capture state, pending flushes, and whether the Mem0 API key is valid. Use when the user asks whether memory is on, why a memory is missing, or anything looks broken.