Borrowing it
Nothing to install: this file belongs to capabilityhostprotocol/chp-core. 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/capabilityhostprotocol/chp-core/main/CLAUDE.mdgit clone --depth 1 https://github.com/capabilityhostprotocol/chp-coreWrote 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/instructions/capabilityhostprotocol/chp-core/claude-md)<a href="https://agentmods.dev/instructions/capabilityhostprotocol/chp-core/claude-md"><img src="https://agentmods.dev/badge/instructions/capabilityhostprotocol/chp-core/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.
<a href="https://agentmods.dev/instructions/capabilityhostprotocol/chp-core/claude-md"><img src="https://agentmods.dev/badge/instructions/capabilityhostprotocol/chp-core/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.02586 | $0.02586 |
| Opus 5.5 | $0.01034 | $0.01034 |
| Sonnet 5.5 | $0.00517 | $0.00517 |
| Haiku 4.5 | $0.00259 | $0.00259 |
Grade C, and why
chp-core CLAUDE.md scanned grade C with 1 finding 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Blocks `rm -rf` outside `/tmp` How it starts
The opening of the file, as written. The whole thing — 211 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This repository is a GENERATED PUBLIC MIRROR of the private
chp-devrepo. Do not hand-edit generated content (packages/,spec/,schemas/,conformance/,examples/,docs/,registry/,provenance/). Make the change in chp-dev and publish it withscripts/sync-to-public.sh --publish, which opens a PR into protectedmain(gated by the Python reference host check) plus a signed Radicle patch;--land <pr#>merges the PR and mirrors rad. Two backstops enforce this: a local pre-commit guard rejects hand-edits to generated paths, and the Mirror provenance CI check (.github/workflows/mirror-provenance.yml) rejects any PR that changes them from a non-sync/*branch. Mirror-native files (this file,.github/,README,LICENSE) may be edited here via a normal PR.
Commands
# Tests
cd packages/python && python -m pytest tests/ -m "not slow" -q --no-cov # fast suite (~6s)
cd packages/python && python -m pytest tests/ -q --no-cov # full suite
# Install CHP hooks into Claude Code (PostToolUse + Stop)
PYTHONPATH=packages/python chp hooks install
PYTHONPATH=packages/python chp hooks install --with-precommit # also installs git pre-commit hook
PYTHONPATH=packages/python chp hooks install --with-prepush # also installs git pre-push RC guard
PYTHONPATH=packages/python chp hooks status
# Session evidence (MCP tools available in-loop — prefer these over CLI)
PYTHONPATH=packages/python python -m tools.chp_inspector --store .chp/claude-code-sessions.sqlite sessions
PYTHONPATH=packages/python python -m tools.chp_inspector --store .chp/claude-code-sessions.sqlite breakdown
PYTHONPATH=packages/python python -m tools.chp_inspector --store .chp/claude-code-sessions.sqlite show <session_id>
# Policy
PYTHONPATH=packages/python chp policy lint .chp/policy.json
PYTHONPATH=packages/python chp ci check --store .chp/claude-code-sessions.sqlite --policy .chp/policy.json
# CI visibility
PYTHONPATH=packages/python chp ci status # show latest GitHub Actions runs (uses gh CLI)
PYTHONPATH=packages/python chp ci status --limit 10 # show last 10 runs
# Development governance (emit events to .chp/codex-self-observation.sqlite)
PYTHONPATH=packages/python chp work check-alignment --repo-root . # 41 spec/schema/type checks
PYTHONPATH=packages/python chp work vc precommit --check tests --check alignment --repo-root .
PYTHONPATH=packages/python chp work conformance-matrix --repo-root .
PYTHONPATH=packages/python chp work vc diff --repo-root .
# Web dashboard
PYTHONPATH=packages/python python -m tools.chp_dashboard --store .chp/claude-code-sessions.sqlite
# Conformance runner (direct)
PYTHONPATH=packages/python python conformance/runner.py
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 First seen · 211 lines · 2,586 tokens per session scan C 3e8e66de2015
chp-core CLAUDE.md is an instructions file published in the GitHub repository capabilityhostprotocol/chp-core (1 stars, last pushed 27d ago), licensed Apache-2.0. It adds 2,586 tokens to every session, about $0.0103 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
chp-core CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| chp-core CLAUDE.mdcapabilityhostprotocol/chp-core | Instructions file | 1 | 27d ago | Apache-2.0 | C | 2,586 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |