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 agentmods add instructions/capabilityhostprotocol/chp-core/claude-mdgit clone --depth 1 https://github.com/capabilityhostprotocol/chp-coreWhat 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 | $0.02586 | $0.02586 |
| Opus 5 | $0.01293 | $0.01293 |
| Sonnet 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 2d 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.
- 2d 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 6d ago), licensed Apache-2.0. It adds 2,586 tokens to every session, about $0.0129 per session on Opus 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.
Other instructions, from other repositories
research-os AGENTS.md
Instructions for lxinfei5/research-os, covering researchos — constitution, §0 what this is, §1 directory discipline, §2 half-life (innovation 1) — memory design and §3 behavior pillars (innovations 2–5).
agentic-workflow CLAUDE.md
Instructions for gtrabanco/agentic-workflow, covering claude.md, repository layout, working rules, authoring a skill and hand off, don't compose across a model/effort boundary.
skills CLAUDE.md
Instructions for capawesome-team/skills, covering claude.md, project overview, repository structure, skill.md format and writing agent-optimized skills.
aeon CLAUDE.md
Instructions for aeonfun/aeon, covering aeon, how aeon works, strategy, voice and soul file hierarchy (read in this order).
aiworkspace AGENTS.md
Instructions for a-tokyo/aiworkspace, covering ai workspace, structure, key commands, conventions and code quality.
agent-skills AGENTS.md
Instructions for powabase-ai/agent-skills, covering agents.md, repository structure, prerequisites & commands, writing skill.md files and frontmatter (required).