hermes-super-agent
CLAUDE.md4 starsChanged 7 months agoMITView on GitHub
These rules apply to any Claude Code session running inside this repo. They override defaults. When work matches one of the layer roles in ECOSYSTEM-PLAYBOOK.md, route to that runtime — don't reinvent. Examples: - "Run shell automation for an hour" → OpenClaw runtime, not raw subprocess. - "Browse and extract structured data" → browser-use runtime, not custom Playwright. - "Generate code for a fixture" → Codex CLI / Aider / Claude Code subagents per job tag. - "Look up 10…
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Single-state guarantee for channels: Every channel adapter (packages/channels/*) writes conversation memory through Hermes' Vault adapter.
- Distinctive: line 23
No comments unless the WHY is non-obvious.
- Very specific: line 28
When work matches one of the layer roles in ECOSYSTEM-PLAYBOOK.md, route to that runtime — don't reinvent.
- Very specific: line 36
Use the /explain skill (backed by packages/manifest/explain.py).
≈ “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
CLAUDE.md — agent-os project rules
These rules apply to any Claude Code session running inside this repo. They override defaults.
The unbreakable rules
- Never edit
vendor/. Submodules are vendored upstream OSS (Hermes, OpenClaw, browser-use, Aider, agi-1, awesome-hermes-agent, NemoClaw). Edits there break the auto-updater. If a change is needed: open an upstream PR, or wrap inpackages/. - Never start a new framework wrapper. This repo exists because there were 14. Frustration → upstream issue or a thin adapter in
packages/runtimes/<name>/. ReadETHOS.md. - Single-state guarantee for channels. Every channel adapter (
packages/channels/*) writes conversation memory through Hermes' Vault adapter. No channel-local state. No per-channel side memory. - Smoke tests are non-negotiable for the upgrader.
packages/upgrader/streams/<name>.pyMUST have a smoke check before a promotion path is added. A bad upstream commit silently promoted is the only failure mode that takes the system down. - Default to Hermes. The router (
packages/orchestrator/adapters/job_router.py) handles tagged jobs. Untagged → Hermes itself. Don't overengineer the routing. - Markdown vault is the source of truth. Human-readable in
vault/. Supabase mirrors. Never make Supabase the primary.
Code style
- Python 3.11+, ruff for lint, mypy for types, pytest for tests.
- TypeScript via pnpm workspace for
packages/webapp/andpackages/dashboard/only. - No comments unless the WHY is non-obvious.
- Functions over classes when reasonable.
Adopted-tool routing
When work matches one of the layer roles in ECOSYSTEM-PLAYBOOK.md, route to that runtime — don't reinvent. Examples:
- "Run shell automation for an hour" → OpenClaw runtime, not raw subprocess.
- "Browse and extract structured data" → browser-use runtime, not custom Playwright.
- "Generate code for a fixture" → Codex CLI / Aider / Claude Code subagents per job tag.
- "Look up 10 recent articles" → Exa runtime, not browser-use.
When asking the agent-os system itself questions
Use the /explain skill (backed by packages/manifest/explain.py). It walks the system graph in vault/graph/system.yaml. If the answer isn't there, the manifest is incomplete — fix the manifest, not the explanation.
What "done" looks like
- Tests pass:
uv run pytest - Lint passes:
uv run ruff check && uv run mypy packages/ - Manifest aggregates:
uv run python -m agent_os.manifest.aggregator - Smoke green:
uv run pytest tests/smoke/ - For UI changes:
pnpm -F webapp devand verified in browser.
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.

