claude-code-hermit CLAUDE.md

claude-code-hermit CLAUDE.md is an instructions file for coding agents from gtapps/claude-code-hermit. It costs 3,889 tokens per session, scanned C, original, MIT.

Repository instructions for a marketplace containing several Claude Code add-ons in one monorepo, meaning one repository that houses multiple related projects. They explain where each add-on lives, where its tests are, and how to work from the repository root.

In plain words
What is it for?
Use them when editing, testing, branching, or releasing any add-on in this marketplace, especially when working with its separate project instructions and test suites.
Why use it?
They prevent changes and tests from being run in the wrong add-on directory, which can load the wrong project settings or produce misleading results.

Instructions file

Install

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.

agentmods
npx agentmods add instructions/gtapps/claude-code-hermit/claude-md
Clone the repo
git clone --depth 1 https://github.com/gtapps/claude-code-hermit
Per session 3,889 This file is loaded in full into every session.
When invoked 3,889 The same file — it is already loaded in full.
Security scan C 1 finding. Scan, not verified.
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 $0.03889 $0.03889
Opus 5 $0.01945 $0.01945
Sonnet 5 $0.00778 $0.00778
Haiku 4.5 $0.00389 $0.00389

Measured yesterday against content hash 4f6006db1c57, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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
CLAUDE.md · 80 lines

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-discovers tests/*.test.ts; HA keeps Python only as a test fixture, nothing shipped runs it); dev/fitness/scribe/forge use bash 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.json bumps on its own cadence. Domain plugins declare core compat via required_core_version: ">=X.Y.Z" (semver range, not pin).
  • Dependency fields: required_core_version and requires live in .claude-plugin/hermit-meta.json (hermit-internal, validator-invisible). dependencies is the native Claude Code resolver field in plugin.json. required_core_version is authoritative — read by plugins/claude-code-hermit/scripts/doctor-check.ts from hermit-meta.json. requires mirrors 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, bump required_core_version to 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_version in .claude-plugin/hermit-meta.json to 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 at hermit-evolve Step 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.json hermit.*). 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 a hermit-run verb behind a required_core_version floor.
  • 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 skill Read an 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.)

Read the full file on GitHub · 80 lines

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 · -127 tokens per session 4f6006db1c57
  2. 3d ago First seen · 80 lines · 4,016 tokens per session scan C ac2eb40c1a3e

Subscribe to this mod's changes

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.

Related

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).

microsoft/vscode · 6,785 tokens

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.

github/spec-kit · 7,104 tokens

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.

openai/codex · 5,182 tokens

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.

langchain-ai/langchain · 4,345 tokens

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).

microsoft/vscode · 5,001 tokens

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.

vercel/next.js · 7,296 tokens