AGENTS.md@templates · git:20261002.b2e2924 · 2026-10-02 · sha256 9ae3edecaaa6c83c

AGENTS.md@templates git:20261002.b2e2924A

Immutable. This exact content never changes and is served at /api/v1/blob/9ae3edecaaa6c83c.

# Template Inventory

`templates/claudemd.md` is the orchestration guidance OMCA's server delivers. The server's
guidance handler (`servers/hooks/guidance.ts`) reads it once per server process from
`CLAUDE_PLUGIN_ROOT` and adds it, with a `Session <session_id>` line, to the first prompt of
each session; the `SessionStart` handler for `compact` adds it again after compaction. Nothing
writes it into `~/.claude/CLAUDE.md`. While that file still holds a 2.x `--- omca-setup` block,
the server adds nothing, so the guidance never arrives twice.

Editing the template changes what every session receives on its next server start. Keep the
text free of anything that varies per session, so the first request's prompt cache stays warm.

The always-on per-turn discipline lives separately in `output-styles/omca-default.md` as a
platform output style; the template carries the operational guidance (entrypoints, agent
catalog, workflow, cross-cutting policy).