Comparison · Instruction Files
Cairnmind vs. CLAUDE.md & AGENTS.md Instruction Files
Static instruction files like CLAUDE.md and AGENTS.md are the simplest way to give one coding assistant project conventions. They break down once project decisions change faster than humans edit markdown, when work moves across assistants, or when an agent claims a task is done after editing code.
Side-by-side technical comparison
| Dimension | CLAUDE.md & AGENTS.md | Cairnmind |
|---|---|---|
| Who maintains project knowledge | You, by hand in static Markdown files. | The model proposes and you confirm. Every stored record links to source files, commits, or transcripts. |
| Drift detection against current code | None. Stale rules sit in CLAUDE.md silently until a human notices. | Verbatim quote checks against live files, quote self-healing (memory heal-audit), and cairnmind pulse drift audits. |
| Cross-assistant compatibility | Each tool reads its own convention file. State and task progress are not shared. | Shared local service and checksummed resume packets across Claude Code, Codex CLI, Cursor, Copilot, and any MCP client. |
| Proof required for "done" | None. An assistant can declare completion without running tests. | Fresh local cairnmind check run bound to the task definition and current code fingerprint. A 1-line edit marks checks stale. |
| Human trust boundary | Any agent with file write permissions can silently rewrite instruction files. | Only a person confirms records or plans via the open workspace key (tmux / Windows Named Pipe). Agents can only propose. |
| Setup footprint | None (plain files in Git). | 15-second uvx cairnmind try (SQLite) or full local stack (Python/uv + Java 21 or Docker, with Ollama and tmux optional). |
When the alternative is enough
Keep it simpler when…
- Small repositories or solo spikes where a 50-line static style guide is all you need.
- Zero runtime setup: plain markdown files require no local service, database, or CLI.
- In fact, Cairnmind works alongside them:
cairnmind installwrites a clean marked block into CLAUDE.md / AGENTS.md and excludes its own block from the search index.
When Cairnmind fits
Use Cairnmind when…
- You want every recalled fact or architectural decision checked verbatim against current files, or explicitly answered
unknown. - You switch between Codex CLI, Claude Code, Copilot, and Cursor on the same worktree and need checksummed cold handoffs.
- You want
doneblocked automatically whenever code changed after the last local passing test run. - You need multi-language code dependency graphs (Tree-sitter + SCIP) and blast-radius
impactanalysis across commits.
Engineering Takeaway
Keep static repo conventions in CLAUDE.md / AGENTS.md. Let Cairnmind handle living architectural decisions, verified Q&A, versioned plans, and fingerprint-bound test evidence.