Hmbown/CodeWhale is an open-source coding agent that runs in the terminal and is written in Rust. Developers use it to inspect repositories, edit files, run commands, and coordinate work with configurable model providers, skills, MCP servers, and approval controls; the catalogue entries extend its available workflows.
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.
npx skills add Hmbown/CodeWhale --skill mcp-discoverygit clone --depth 1 https://github.com/Hmbown/CodeWhaleWrote 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/hmbown/codewhale/mcp-discovery)<a href="https://agentmods.dev/skills/hmbown/codewhale/mcp-discovery"><img src="https://agentmods.dev/badge/skills/hmbown/codewhale/mcp-discovery/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/hmbown/codewhale/mcp-discovery"><img src="https://agentmods.dev/badge/skills/hmbown/codewhale/mcp-discovery.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.00036 | $0.00723 |
| Opus 5.5 | $0.00014 | $0.00289 |
| Sonnet 5.5 | $0.00007 | $0.00145 |
| Haiku 4.5 | $0.00004 | $0.00072 |
Grade A, and why
mcp-discovery 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 2mo 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 — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
mcp-discovery
The public MCP Registry ships hundreds of ready-made stdio servers (filesystems, databases, browsers, media processing, developer utilities, cloud APIs, SaaS integrations, …). This skill is how you reach one when the session is genuinely missing a capability.
It is a fallback, not a first step. Discovery costs a tool_search to load the
deferred tools, a query, an approval, and an install — spend that only when it
buys a capability you do not have.
When to use
- An available tool, a project script or test, or a few lines of local code cannot do the job.
- The task needs an external service, database, or protocol client that this session has no access to.
- You would otherwise install a package or reimplement a well-known converter or client by hand.
When not to use
- Ordinary work: writing and editing files, reading fixtures, running repo commands, and checking your own output. Do those directly.
- A capability an already-loaded tool covers, even partially — try it first.
- A near-miss row in a result list. A scored match is a suggestion; the missing capability is what decides.
Workflow
- Name the gap. State the capability you lack before searching. If you cannot name one, you do not need the Registry.
- Load and query.
registry_syncandstart_registry_mcp_serverare deferred: load one withtool_searchand use the returned schema. If a call only loads the schema without executing, retry once with that schema. Then callregistry_sync {query: "<the missing capability>"}. It scores a host-side snapshot and returns at most eight matches; the full index never enters the conversation. Packages declaring any environment variable (including API keys/tokens) are excluded and never written to the cache. - Judge the matches. Take a server when it covers the gap you named. If nothing does, refine the query once, then continue with local tools.
- Install + run transactionally. Call
start_registry_mcp_server {registry_name: "<exact name>", arguments: {...}}. Supply only values listed inrequired_args; omitargumentswhen none are required. Never install or launch the package through the shell. Starting a server requires approval. - Solve the task with the new tools. Their complete schemas are added to the current turn immediately after a successful connection; call the exact names returned by the start result.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago Changed · +4 lines · +4 tokens per session 39adb7d80b35
- 3mo ago First seen · 64 lines · 32 tokens per session scan A b7ecdccf9dc9
mcp-discovery is a skill published in the GitHub repository Hmbown/CodeWhale (41,222 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 723 once invoked, about $0.0001 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.
mcp-discovery compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mcp-discoveryHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 36 | Claude Code, Codex |
| cw-landHmbown/Codewhale | Skill | 41k | 1mo ago | MIT | A | 44 | Claude Code, Codex |
| cw-sliceHmbown/Codewhale | Skill | 41k | 1mo ago | MIT | A | 47 | Claude Code, Codex |
| cw-dogfoodHmbown/Codewhale | Skill | 41k | 1mo ago | MIT | A | 52 | Claude Code, Codex |
| cw-gatesHmbown/Codewhale | Skill | 41k | 1mo ago | MIT | A | 48 | Claude Code, Codex |
| cw-handoffHmbown/Codewhale | Skill | 41k | 1mo ago | MIT | A | 50 | Claude Code, Codex |
| cw-orientHmbown/Codewhale | Skill | 41k | 1mo ago | MIT | A | 43 | Claude Code, Codex |