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/gtapps/claude-code-hermit/claude-mdgit clone --depth 1 https://github.com/gtapps/claude-code-hermitWhat 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.03889 | $0.03889 |
| Opus 5 | $0.01945 | $0.01945 |
| Sonnet 5 | $0.00778 | $0.00778 |
| Haiku 4.5 | $0.00389 | $0.00389 |
Grade C, and why
claude-code-hermit 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 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.
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** (`Bash(rm -rf *)` and the flag-order / path-prefixed siblings in `permissions.deny`). Use `rm -r` (no `-f`) for scratch cleanup. The native engine does not fold whitespace/`$IFS`/backslash How it starts
The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
claude-code-hermit (monorepo)
This repo is a multi-plugin Claude Code marketplace. Seven plugins ship from plugins/<slug>/:
claude-code-hermit (core), claude-code-dev-hermit, claude-code-homeassistant-hermit, claude-code-fitness-hermit, hermit-scribe, laravel-forge-hermit, feed-hermit.
Each plugin has its own CLAUDE.md, CHANGELOG.md, and tests/ — read those for plugin-specific context.
The top-level .claude-plugin/marketplace.json is the only marketplace. The README at the repo root is the canonical hermit pitch.
Always launch Claude Code from this repo's root, not from inside a plugin dir. Auto-memory is keyed by CWD, and plugin dirs contain their own .claude-plugin/ (launching there can load the plugin under test as the project plugin). Per-plugin CLAUDE.md files load on demand when you touch their files.
Conventions
- Per-plugin paths: every plugin lives at
plugins/<slug>/. Tests, scripts, skills, agents, hooks, state-templates, docs, CHANGELOG, CLAUDE.md all live inside that dir. - Tests run from inside the plugin dir: core and HA are pure
bun test(auto-discoverstests/*.test.ts; HA keeps Python only as a test fixture, nothing shipped runs it); dev/fitness/scribe/forge usebash tests/run-all.sh(forge also needs a composer/PHP step). Helpers use CWD-relative paths and break if invoked from repo root. - Tag format:
<slug>--v<X.Y.Z>(double-dash, e.g.claude-code-hermit--v1.0.20). - Independent versioning: each plugin's
plugin.jsonbumps on its own cadence. Domain plugins declare core compat viarequired_core_version: ">=X.Y.Z"(semver range, not pin). - Dependency fields:
required_core_versionandrequireslive in.claude-plugin/hermit-meta.json(hermit-internal, validator-invisible).dependenciesis the native Claude Code resolver field inplugin.json.required_core_versionis authoritative — read byplugins/claude-code-hermit/scripts/doctor-check.tsfromhermit-meta.json.requiresmirrors it for documentation. Update all three when the core version requirement changes. All hermit-internal manifest extensions (hermit.*, etc.) belong in hermit-meta.json. When a domain hatch depends on new core runtime behavior, bumprequired_core_versionto the first compatible core version. - CC-version-gated work bumps the floor, never shims around it. When a fix or feature depends on Claude Code CLI behavior introduced at a specific version (a new tool, hook payload shape, flag, or harness fix), bump that plugin's
min_claude_code_versionin.claude-plugin/hermit-meta.jsonto the version that introduces it — don't write feature-detection, version branches, or fallback code paths to keep the change working on older CC. The floor is the contract (enforced athermit-evolveStep 0); raise it instead of carrying legacy compatibility code. - Marketplace.json bumps: only the matching plugin's entry. The release skill takes a slug arg:
/release <plugin-slug>. - Dependency direction is one-way: domain plugins depend on core; core never depends on them.
plugins/claude-code-hermit/must not import a sibling, hardcode a sibling slug in logic, or branch on one being installed — it discovers siblings generically (sibling-scan + name-contains-hermit) and consumes only what they declare (hermit-meta.jsonhermit.*). Naming a plugin as an example in prose, docs, or a recommendation list is fine; conditioning behavior on it is not. Reverse direction too: siblings can't import core — shared logic ships as ahermit-runverb behind arequired_core_versionfloor. - Ship mechanism, not policy (all plugins): contracts stay strict, content stays loose — an installed hermit belongs to its operator, give skills data + goal + voice and let the model compose (don't hardcode content or operator-workflow opinions), and anything operator-editable must survive
hermit-evolve. Contract list and extension points:plugins/claude-code-hermit/CLAUDE.md§ Authorship layers. - Ship standard: default-on, research preview. A new feature ships enabled by default, not behind an opt-in toggle defaulted off — treat it as a research preview to iterate on from real usage, not something held back by a conservative default. Default off only when the feature needs an operator-supplied credential/config it can't have yet, costs real spend per invocation, or is destructive/irreversible.
- Token discipline (all plugins): hook stdout, skill-driven
Reads, and helper-script output are injected into the operator's context — print verdict-sized digests, and never have a skillReadan unbounded surface (JSONL event logs, DBs) directly; front it with a script that returns a bounded summary. The atom of cost is the API call, not the prompt: every tool call re-reads the full accumulated context from cache, so cache traffic is ≈85-90% of an always-on hermit's spend, measured live. Full pattern and examples:plugins/claude-code-hermit/CLAUDE.md§ Development constraints. (This file is itself the costliest token surface in the repo — loaded every session and re-seeded into every subagent — so keep additions here terse.)
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 · -127 tokens per session 4f6006db1c57
- 3d ago First seen · 80 lines · 4,016 tokens per session scan C ac2eb40c1a3e
claude-code-hermit CLAUDE.md is an instructions file published in the GitHub repository gtapps/claude-code-hermit (73 stars, last pushed yesterday), licensed MIT. It adds 3,889 tokens to every session, about $0.0194 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-30.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.