AGENTS.md — Agent-Agnostic Instructions
This file provides operating instructions for any AI agent working in this vault — whether that's Claude Code, OpenAI Codex, OpenCode, Cursor, GitHub Copilot, or any other agentic harness.
Read This First
All operating rules live in /schema/agent-protocol.md. That file is the single source of truth. This file adds agent-agnostic guidance only.
Vault Architecture
This is a four-zone Second Brain vault:
| Zone | Path | Owner | Agent Access |
|---|---|---|---|
| Sources | /sources/ |
Human | Read only |
| Wiki | /wiki/ |
Agent | Read + write |
| Journal | /journal/ |
Human | Read only |
| Schema | /schema/ |
Human | Read only (unless instructed) |
Core Workflows
Ingest a Source
- Read the source file in
/sources/. - Update its frontmatter
statustoreading. - Create or update wiki pages in
/wiki/that synthesize the source content. - Use
[source-filename](/wiki/source-filename)citations in wiki pages. - Update the source frontmatter
statustoprocessed.
Research a Topic
- Search existing wiki pages and sources for relevant content.
- If gaps exist, the human provides new sources to
/sources/. - Ingest new sources (see above).
- Create a wiki page synthesizing findings.
Daily Journal
- Create a file at
/journal/YYYY-MM-DD.mdusing the journal template. - The human fills in the content. You read it for context.
Vault Status
- Scan
/sources/forstatus: unreadfiles. - Scan
/wiki/forstatus: draftpages that haven't been updated recently. - Check
/wiki/contradictions.mdfor unresolved conflicts. - Report findings to the human.
Key Rules
- Never modify
reviewedorstablewiki pages without explicit instruction. - Never modify files in
/sources/. - Always include frontmatter — see
/schema/agent-protocol.mdfor formats. - Flag contradictions in
/wiki/contradictions.md. - No fabrication. If the source doesn't say it, don't write it.
- One concept per wiki page. Split broad pages.
Agent-Specific Files
Different agents use different instruction files. All point to the same source of truth:
| Agent | Instruction File |
|---|---|
| Claude Code | CLAUDE.md + .claude/commands/ |
| Cursor | .cursorrules |
| GitHub Copilot | copilot-instructions.md |
| Other | This file (AGENTS.md) |