Borrowing it
Nothing to install: this file belongs to gtapps/hermitd. 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/gtapps/hermitd/main/CLAUDE.mdgit clone --depth 1 https://github.com/gtapps/hermitdWrote 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/gtapps/hermitd/claude-md)<a href="https://agentmods.dev/instructions/gtapps/hermitd/claude-md"><img src="https://agentmods.dev/badge/instructions/gtapps/hermitd/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/gtapps/hermitd/claude-md"><img src="https://agentmods.dev/badge/instructions/gtapps/hermitd/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.02696 | $0.02696 |
| Opus 5.5 | $0.01078 | $0.01078 |
| Sonnet 5.5 | $0.00539 | $0.00539 |
| Haiku 4.5 | $0.00270 | $0.00270 |
Grade D, and why
hermitd CLAUDE.md scanned grade D with 2 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.
Subtle steeringmediumPrompt injection
Instructions that bias recommendations or shape behaviour without the user noticing.
- **`/release` and `/fleet-release` are operator-initiated.** Never suggest them in plans, summaries, or next steps. `/release-status` is read-only and fine to suggest. Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- **`rm -rf` is a native deny.** Use `rm -r` for scratch cleanup. Obfuscated forms are classifier-watched, not a second permission engine. How it starts
The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.
hermitd (monorepo)
This repo is a multi-plugin Claude Code marketplace. Eight plugins ship from plugins/<slug>/, each with its own CLAUDE.md, CHANGELOG.md, and tests/. .claude-plugin/marketplace.json is the only marketplace; the root README is the canonical hermit pitch.
Always launch Claude Code from this repo's root. A plugin dir's own .claude-plugin/ would load the plugin under test as the project plugin.
Conventions
- Model-facing prose: Follow Anthropic's skill authoring guidance. After compaction Claude Code re-attaches only a skill's first 5,000 tokens, so the rules every run needs come first and conditional detail goes in supporting files linked directly from
SKILL.md. Evaluate skills on every model intended to use them. - Repository-wide tests: use
bun run testfrom the root with Bun 1.4 or newer. It handles plugin working directories, bounded parallelism, and shared root tests. For narrower changes, run the documented suite inside the plugin dir (bun testfor core, HA, Feed, and Connector;bash tests/run-all.shfor Dev, Fitness, Forge, and Scribe). - Independent versioning, tag
<slug>--v<X.Y.Z>. Domain plugins declare core compat asrequired_core_version: ">=X.Y.Z"in.claude-plugin/hermit-meta.json, mirrored byrequiresthere anddependenciesinplugin.json;required_core_versionis whatdoctor-check.tsreads. Update all three together. All hermit-internal manifest extensions (hermit.*) live in hermit-meta.json. - CC-version-gated work bumps the floor, never shims around it. When a change depends on Claude Code behavior introduced at a version, raise that plugin's
engines["claude-code"](a>=X.Y.Zrange) in plugin.json; no feature detection or fallback paths for older CC. - Dependency direction is one-way: domain plugins depend on core; core never imports a sibling, hardcodes a sibling slug in logic, or branches on one being installed. It discovers siblings generically (name-contains-
hermit) and consumes only what they declare inhermit-meta.json. Siblings can't import core either: shared logic ships as ahermitd-runverb behind arequired_core_versionfloor. - Reuse native Claude Code features before building. Check the docs (https://code.claude.com/docs) and plugin catalog for a feature that already covers a capability; on overlap, link to it instead of reimplementing.
- Ship mechanism, not policy (all plugins): contracts stay strict, content stays loose. An installed hermit belongs to its operator, so give skills data + goal + voice and let the model compose, and anything operator-editable must survive
hermit-evolve. Contract list, extension points, and how skill text is written:plugins/hermitd/CLAUDE.md§ Authorship layers. - Ship standard: default-on, research preview. Default off only for features needing an operator credential/config, real per-invocation spend, or that are destructive.
- Agent references in skill text use the full namespaced form (
<plugin>:<agent-name>). The harness namespaces bare names at load, so a bare name in skill text fails with "Agent type not found". - Domain plugins carry core-facing wording in
skills/,agents/,state-templates/, anddocs/; when core terminology changes, sweep all of them. - Token discipline (all plugins): hook stdout, skill-driven
Reads, helper-script output, and native tool results all land in the operator's context, and every tool call re-reads that context from cache, so cache traffic dominates an always-on hermit's spend. Print verdict-sized digests; front unbounded surfaces (JSONL logs, DBs) with a script that returns a bounded summary. Always-loaded files (this one, pluginCLAUDE.mds) are paid every session and re-seeded into every subagent, so a new bullet has to change behavior often enough to earn its place. Pattern and examples:plugins/hermitd/CLAUDE.md§ Development. - Skills never resolve config (all plugins): a fact the model needs on most turns goes in session-start context (core:
startup-context.ts, which re-injects it after compaction); a config-driven decision travels in the JSON of a script the skill already runs, naming the sibling file to read when the branch is long. Never add a tool call only to fetch a verdict, and keep settings that Claude Code or a hook enforces out of context. - Typed-only is for actions nothing else guards (all plugins):
disable-model-invocationremoves a skill from the model, routines, helpers and chat channels, leaving a terminal or the Claude app. Use it for managing the agent itself and for side effects no native ask or approval covers; a change already behind the settings gate or an approval stays model-invocable. - Helper-script output follows Claude Code's conventions (all plugins): exit 0 for every expected outcome, exit 1 only for a real failure (the Bash tool reports any other exit 1 as a failure). Data is one whole-stdout JSON object; keys,
statusvalues andreason/errortokens are snake_case. An alternative outcome is{"status":"<value>","reason":"<token>"}; a verb with nothing to report prints bareOK; a failure prints{"error":"<token>[:detail]"}. No positional pipe lines. Hooks keep the hook contract; Monitor and shell-parsed lines and operator-script protocols (routine gateSKIP/WAKE, expiry probes) keep their grammar.
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.
- yesterday Changed · +2 lines · +174 tokens per session 94c1923d4272
- 2d ago Changed · +1 lines · +119 tokens per session 5e22d76fbbd3
- 7d ago Changed · +2 tokens per session 4d0b7b8aab76
- 10d ago Changed daa2e76f5589
- 15d ago Changed · +9 tokens per session 219d80c160c1
- 25d ago Changed · +36 tokens per session 870c0230ffa1
- 1mo ago Changed · -10 tokens per session 8bdf343c15b6
- 1mo ago Changed · +1 lines · +158 tokens per session af01ce43332d
- 1mo ago First seen · 65 lines · 2,208 tokens per session scan D 33a2633af527
hermitd CLAUDE.md is an instructions file published in the GitHub repository gtapps/hermitd (87 stars, last pushed today), licensed MIT. It adds 2,696 tokens to every session, about $0.0108 per session on Opus 5.5. A static security scan graded it D with 2 findings (subtle steering, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.
hermitd CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hermitd CLAUDE.mdgtapps/hermitd | Instructions file | 87 | today | MIT | D | 2,696 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 289k | 2d ago | MIT | A | 4,393 | Codex, OpenCode |