toolhive-catalog: Instructions file for Claude Code

CLAUDE.md

toolhive-catalog CLAUDE.md is an instructions file for Claude Code from stacklok/toolhive-catalog. It costs 377 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for ToolHive Catalog, a curated directory of MCP servers and skills. They describe the registry layout, validation commands, and rules for adding catalog entries.

In plain words
What is it for?
Use them when adding or reviewing MCP servers or skills, validating catalog files, building catalog output, or running Go tests and linters.
Why use it?
They help an agent make catalog changes that match the repository’s structure and pass its checks.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is stacklok/toolhive-catalog's own configuration. It tells Claude Code how to work on toolhive-catalog 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 toolhive-catalog configures →

Reuse

Borrowing it

Nothing to install: this file belongs to stacklok/toolhive-catalog. 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/stacklok/toolhive-catalog/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/stacklok/toolhive-catalog

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 toolhive-catalog CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/stacklok/toolhive-catalog/claude-md/github.svg)](https://agentmods.dev/instructions/stacklok/toolhive-catalog/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/stacklok/toolhive-catalog/claude-md"><img src="https://agentmods.dev/badge/instructions/stacklok/toolhive-catalog/claude-md/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 toolhive-catalog CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/stacklok/toolhive-catalog/claude-md"><img src="https://agentmods.dev/badge/instructions/stacklok/toolhive-catalog/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 377 This file is loaded in full into every session.
When invoked 377 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.00377 $0.00377
Opus 5.5 $0.00151 $0.00151
Sonnet 5.5 $0.00075 $0.00075
Haiku 4.5 $0.00038 $0.00038

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

Security

Grade A, and why

toolhive-catalog CLAUDE.md 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.

CLAUDE.md · 42 lines

What it actually says

toolhive-catalog

Curated registry of MCP (Model Context Protocol) servers and skills for ToolHive.

Skills

  • /add-mcp-server — use when adding a new server entry to the catalog
  • /mcp-review — use when reviewing a PR that adds or updates a server entry

Key commands

Uses Taskfile, not Make:

task catalog:validate   # validate all server.json files
task catalog:build      # build the catalog output
task test               # run Go tests
task lint               # run linters

Registry structure

Each server lives at registries/toolhive/servers/<name>/ containing:

  • server.json — server definition (see docs/adding-entries-llm.md for full schema)
  • icon.svg — server icon

Each skill lives at registries/toolhive/skills/<name>/ containing:

  • skill.json — skill definition (uses Skill type from toolhive-core)
  • icon.svg — skill icon
  • skill/ — subfolder with installable content (SKILL.md, scripts/, references/, assets/)
    • The packages[].subfolder in skill.json points here so only skill content is installed, not registry metadata

Non-obvious gotchas

  • The _meta extension key must exactly match packages[0].identifier or remotes[0].url
  • metadata.* and tool_definitions are auto-populated by CI — never add them manually
  • Commits require a Signed-off-by trailer (DCO)

Go code

CLI entry point: cmd/catalog/. Packages: internal/. Requires Go 1.25+.

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. 2mo ago First seen · 42 lines · 377 tokens per session scan A cca1dedb9611

Subscribe to this mod's changes

toolhive-catalog CLAUDE.md is an instructions file published in the GitHub repository stacklok/toolhive-catalog (25 stars, last pushed yesterday), licensed Apache-2.0. It adds 377 tokens to every session, about $0.0015 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.

Related

toolhive-catalog CLAUDE.md compared with instructions from other repositories

toolhive-catalog CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
toolhive-catalog CLAUDE.mdstacklok/toolhive-catalogInstructions file25yesterdayApache-2.0A377Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode