cli: Instructions file for Claude Code

CLAUDE.md

cli CLAUDE.md is an instructions file for Claude Code from getmcpm/cli. It costs 210 tokens per session, scanned A, original, MIT.

Project instructions for an open-source command-line package manager for MCP servers. MCP servers are small programs that give AI clients access to tools or data; this project lets developers search, install, audit, publish, and update them.

In plain words
What is it for?
Use them when working on the CLI, MCP package registry, server installation and updates, publishing, or audits that detect unsafe commands and arguments.
Why use it?
They explain the product's purpose and current project context to coding agents. This helps agents make changes that fit the registry and its security checks.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

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

Reuse

Borrowing it

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

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 cli CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/getmcpm/cli/claude-md"><img src="https://agentmods.dev/badge/instructions/getmcpm/cli/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 210 This file is loaded in full into every session.
When invoked 210 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. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
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.00210 $0.00210
Opus 5.5 $0.00084 $0.00084
Sonnet 5.5 $0.00042 $0.00042
Haiku 4.5 $0.00021 $0.00021

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

Security

Grade A, and why

cli 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 yesterday.

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 · 18 lines

What it actually says

Claude Code entry point

@AGENTS.md

Shared contributor instructions live in AGENTS.md; keep this file a thin import. Claude project skills under .claude/skills/ refer to the canonical repo-owned .agents/skills/ workflows. Read their linked SKILL.md when selected; do not import the historical archive into session context. See loading and current context.

Claude terminal tools need Node.js ^22.22.2 || ^24.15.0 || >=26.0.0 and pnpm 10. This range remains explicit here for the existing engines documentation check.

If gstack is installed, prefer its /browse workflow for browsing; do not use mcp__claude-in-chrome__*. gstack is optional, not a contributor dependency. For an existing local gstack installation, follow its own setup/help if needed; do not install plugins or change global permissions as part of an unrelated task.

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. yesterday Changed · -655 lines · -48,116 tokens per session scan E → A bb5455d4b700
  2. 1mo ago Changed · +1 lines · +1,385 tokens per session d39a52f2b562
  3. 1mo ago Changed · +9 lines · +3,422 tokens per session 539dc12bfcad
  4. 2mo ago Changed · +1 lines · +1,338 tokens per session 591f185eeb44
  5. 2mo ago Changed · +1 lines · +1,803 tokens per session ada906d33d66
  6. 2mo ago Changed · +7 lines · +5,058 tokens per session c2646de488eb
  7. 2mo ago First seen · 654 lines · 35,320 tokens per session scan E 1a53a78f304e

Subscribe to this mod's changes

cli CLAUDE.md is an instructions file published in the GitHub repository getmcpm/cli (3 stars, last pushed yesterday), licensed MIT. It adds 210 tokens to every session, about $0.0008 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-31.

Related

cli CLAUDE.md compared with instructions from other repositories

cli CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cli CLAUDE.mdgetmcpm/cliInstructions file3yesterdayMITA210Claude Code
plugin-files-modegriddynamics/rosettaInstructions file370yesterdayApache-2.0A236GitHub Copilot
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