Hermes Prime — Development skill for Claude Code
Drift-prevention session-init convention card for fresh Claude Code sessions.
How to install Hermes Prime
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open hermes-labs-ai/hermes-prime and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Hermes Prime does
Drift-prevention session-init convention card for fresh Claude Code sessions. Injects a self-contained card so a new session opens with its grounding triggers, calibration rules, and tool-map in scope — instead of re-deriving them at minute 30. Per-project, marker-anchored, idempotent, reversible. Bash installer plus MCP server.
Alternatives in Development
- Friction Protocol — Friction protocol — convention 29.1k ★
- Domxss — Confirm DOM XSS in a real headless browser — injects canary payloads into params + URL fragment and only repor 4.5k ★
- Agentlas Login — Sign this machine into Agentlas (opens the browser sign-in window) 1.1k ★
README
hermes-prime
**Deliver a versioned convention card to a fresh Claude Code session.** The Bash surface snapshots the card into a project's `CLAUDE.md`; the read-only MCP surface returns the same card over stdio. The mechanism makes conventions available. It does not prove that a model will follow them or prevent drift.
[](https://github.com/hermes-labs-ai/hermes-prime/actions/workflows/ci.yml) [](LICENSE) [](#status)
This is a small transport, not an enforcement layer. Hermes Labs ships the convention card it uses itself; fork it or select another fragment with `HERMES_SESSION_INIT_FRAGMENT=/path/to/custom.md`.
Two surfaces share one fragment: a four-subcommand Bash tool for `CLAUDE.md`-based workflows and a Claude-Code-native MCP server that does not mutate `CLAUDE.md`. Neither surface calls a model or a network service. The Bash path makes no global configuration change; MCP registration uses the scope the user selects.
Pain
Conventions can fall out of visible context between sessions. A versioned card gives a new session one concrete artifact to read instead of requiring it to reconstruct those conventions from scattered notes.
The discipline rules normally live in scattered handbook docs, feedback files, or session-end retros — places a fresh session never reads. `hermes-prime` packages them as a single self-contained card the orchestrator opens with.
How it's different
Most "set up the agent" tools either (a) ship a giant prompt file you copy-paste, or (b) install a global hook that runs on every session whether you want it or not. `hermes-prime` is per-project, marker-anchored, and idempotent. Unedited injected suffixes are byte-reversible; edited blocks use the documented marker/backup fallback.
The fragment is a snapshot
Related Skills
Grounding Seed
Standalone template and minimal runtime kernel for self-contained, offline-runnable agent skills and modules
Mem Cost
Show exactly what the SessionStart bootstrap injects — per-file on-disk size, chars actually loaded, truncatio
Claude Code Survival Kit
Don't go into production without these - 3 auto-triggering Claude Code skills for cost and drift prevention. 6
Cmux Fresh
Clear cmux's persisted session so the next launch opens with fresh/blank windows. Quits cmux first (so the cle
Brain Setup
One-command setup for a fresh clone — verifies tools, confirms bundled Obsidian plugins, creates Vault/.env, o
Context Packager
You are the Context Packager Wizard. Your job is to interview the user and generate a complete, ready-to-use C
Related Agents
Claude Mem
A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresse
YouTube Updater
YouTube Video Updater Agent — bulk-optimises your product/brand videos for CTR, search rank, and LLM discovera
Bully Evaluator
Evaluates a single bully semantic-evaluation payload against a diff and returns a structured violation list. I