hermitd
CLAUDE.md84 starsChanged 5 days agoMITView on GitHub
This repo is a multi-plugin Claude Code marketplace. Seven 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.
- Reads credentials
- Deletes or force-pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- gtapps/claude-code-hermitword for word, first seen Nov 7, 2026
Other versions1 project uses a version of this.
Word for word · 1
- gtapps/claude-code-hermit★ 84100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bump-core-reqSkill
- claude-harness-canarySkill
- commitSkill
- docs-driftSkill
- downstream-impactSkill
- fleet-releaseSkill
- pipeline-digestSkill
- pre-release-reviewSkill
- pricing-refreshSkill
- releaseSkill
- release-statusSkill
- routine-test-pingSkill
- stale-proposalsSkill
- tackle-issueSkill
- test-runSkill
- bump-core-reqSkill
- commitSkill
- docs-driftSkill
- downstream-impactSkill
- fleet-releaseSkill
- pipeline-digestSkill
- pre-release-reviewSkill
- pricing-refreshSkill
- releaseSkill
- release-statusSkill
- routine-test-pingSkill
- stale-proposalsSkill
- test-runSkill
The file
We split this CLAUDE.md into the rules it gives an agent
10 rules. About 0 are common, 4 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 5
Always launch Claude Code from this repo's root.
- Distinctive: line 14
Reuse native Claude Code features before building: Check the docs (https://code.claude.com/docs) and plugin catalog for a feature that …
- Distinctive: line 16
Ship standard: default-on, research preview: Default off only for features needing an operator credential/config, real per-invocation …
- Very specific: line 26
/releaseand/fleet-releaseare operator-initiated: Never suggest them in plans, summaries, or next steps. - Very specific: line 27
Proposals (
PROP-NNN) are local bookkeeping: Never mention one in a CHANGELOG entry, commit, PR, or branch name. - Very specific: line 44
Refresh with
bun run graph: after a pull or when the graph predates the last commit: a stale graph answers confidently about deleted code. - Very specific: line 51
rm -rfis a native deny: Use rm -r for scratch cleanup. - Distinctive: line 63
Always use Context7 for library/API documentation, code generation, and setup/configuration steps, without waiting for an explicit request.
- Distinctive: line 64
Don't overengineer: the minimum change that solves the task, nothing speculative.
- Very specific: line 65
This hermit is the plugin-dev special case: When judging the utility of a feature in plugins/hermitd/, don't use this hermit's session …
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
hermitd (monorepo)
This repo is a multi-plugin Claude Code marketplace. Seven 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, and Feed;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
min_claude_code_versionin hermit-meta.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. - 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.
Commits
/commitaccumulates[Unreleased]CHANGELOG entries;/release <slug>promotes them and is the ship event. Root-scope edits and docs-only changes (README,docs/,CLAUDE.md, comments) get no CHANGELOG bullet; a bundled docs correction goes in the commit message instead.- Changelog style: terse like Claude Code's CHANGELOG.
### Added / Changed / Fixedheaders, plain sentence-case bullets with no leading verb or component prefix, backticks for commands and paths, no### Files affectedtables. Rationale goes in the commit and PR. Only### Upgrade Instructionsis verbose: the evolve-runner model executes it step by step, so write steps the runner performs, with an**Operator action required:**line only for what the agent cannot do and operator-facing lines saying "agent", never "hermit". /releaseand/fleet-releaseare operator-initiated. Never suggest them in plans, summaries, or next steps./release-statusis read-only and fine to suggest.- Proposals (
PROP-NNN) are local bookkeeping. Never mention one in a CHANGELOG entry, commit, PR, or branch name; describe the change on its own terms. - Never publish Claude Code session URLs (session, share, or session-tied artifact links) in any externally visible surface. This is a public repo.
Branching
- PR
fix/<N>-<slug>/feat/<N>-<slug>/chore/<slug>branches tomain,<N>the GH issue number (omit if none). Regular merge. - Main is safe as staging.
/plugin updateonly fires whenversioninplugin.jsonchanges (docs), so commits onmainbetween releases are invisible to installed operators. Brand-new installers and--plugin-dirtesters getmainHEAD, so don't leave it knowingly broken for long. - Worktree discipline (
claude --worktree). The repo root is the worktree (git rev-parse --show-toplevel). Nevercdinto, edit, orgit -Cthe main checkout or a sibling worktree. The one shared main-rooted path is.hermit/(gitignored hermit state). The dev-hermitworktree-boundary-guardhook hard-blocks escapes.
Layout gotchas
- Sibling-scan pattern:
${CLAUDE_PLUGIN_ROOT}/../*/.claude-plugin/plugin.jsonresolves toplugins/*/...and finds every fleet plugin. - Old standalone repos are redirect-only zombies:
gtapps/claude-code-dev-hermitandgtapps/claude-code-homeassistant-hermitredirect here viagit-subdir. Do not push code there.
graphify
- Single-plugin questions (most) pass
--graph plugins/<name>/graphify-out/graph.json. The root graph is dominated by core's test harness and never reaches a single-plugin answer. Use the root graph only forscripts/,tests/cross-plugin/,marketplace.json, or cross-plugin questions. - Refresh with
bun run graphafter a pull or when the graph predates the last commit: a stale graph answers confidently about deleted code. - Worktrees start with no graph on purpose (a copied graph would predate the branch work);
hook-guardno-ops and grep is always correct.graphify update .inside a long-lived worktree builds one that includes the branch.bun run graphrefuses to run in a worktree.
Environment quirks
- Secrets: env vars →
.env; secret files (.pemetc.) →.claude.local/. Both gitignored. Never.claude/, which is checked in. - Docker paths mirror the host (
${PWD}:${PWD}mount): absolute paths are identical inside the container. rm -rfis a native deny. Userm -rfor scratch cleanup. Obfuscated forms are classifier-watched, not a second permission engine.- Subtree imports are unsquashed:
git log --first-parentfor the monorepo-only view. - CI is path-filtered per plugin under
.github/workflows/; root-file changes (package.json,bun.lock,tsconfig.json) trigger every suite. - Shell
cdpersists across Bash calls. Plugin test runners end insideplugins/<slug>/, and CWD-relative scripts likeheartbeat-precheck.ts .hermitthen fail silently. Use absolute paths or prefixcd "$(git rev-parse --show-toplevel)" && …(never a hardcoded path).
Verification
- Confirm Claude Code's own behavior empirically before building on it, with
/probe: it owns the tmux session, the sentinel-verdict protocol, and the model choice. Live behavior wins over docs, memory, or assumption; a contradiction is the finding. Under--plugin-dir, skills load at session start (relaunch or/reload-pluginsto test edited skill text). - Auto mode suspends wildcarded-interpreter
permissions.allowrules (e.g.Bash(bun */scripts/*.ts*)), so a hermit's sealed script allow-list buys nothing there. Details:plugins/hermitd/docs/security.md§ Auto-mode Classifier.
Rules
- Always use Context7 for library/API documentation, code generation, and setup/configuration steps, without waiting for an explicit request.
- Don't overengineer: the minimum change that solves the task, nothing speculative.
- This hermit is the plugin-dev special case. When judging the utility of a feature in
plugins/hermitd/, don't use this hermit's session history as evidence; target users are downstream operators on Discord/Telegram who don't open feature branches.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

