Codex Conventions

Rules for naming, tagging, frontmatter, and organization. Follow these consistently and your AI will understand your vault without explanation.


File Naming

  • Lowercase with hyphens: weekly-review.md, home-internet-setup.md
  • No spaces in filenames — Obsidian shows the display title separately
  • Date-stamped logs: YYYY-MM-DD.md format for daily notes and journals

Frontmatter (YAML)

Every file should open with frontmatter between --- markers:

---
id: {domain-code}-{YYYYMMDD}-{slug}
title: "Human-Readable Title"
type: goal | project | task | note | decision | sop | aop | doctrine | reference | metric | review | human | agent | robot | drone | skill | tool
status: active | draft | archived | deprecated
created: YYYY-MM-DD
modified: YYYY-MM-DD
owner: {your-name}
operator: human | agent | robot | drone | automated
realm: digital | physical | hybrid
tags: [domain/so, type/goal, status/active]
related: ["[[Other Note]]"]
ai_summary: "One-line summary ≤20 words — what is this file?"
---

Required Fields

FieldWhy
titleHuman-readable name
typeEntity type from the taxonomy (see below)
createdCreation date
tagsAt least one tag
ai_summaryCritical — agents read this to decide if they need to open the full file. Without it, they open everything.
FieldWhy
operatorWho/what owns this: human, agent, robot, drone, automated
realmWhere it exists: digital, physical, hybrid

ai_summary — The Most Important Field

This is the hook agents use for progressive disclosure. Keep it under 20 words. Be specific:

# Bad
ai_summary: "Notes"
 
# Good
ai_summary: "Morning routine checklist: 6am wake, workout, journaling, review Todoist"

Entity Types (Document Types)

The CODEX entity system has 17 types across 5 categories. Use the type field in frontmatter.

Intent (what you want)

TypeUse For
goalLong-term outcome with measurable success criteria
projectBounded effort toward a goal, with milestones
taskSingle action item, assignable to an operator

Knowledge (what you know)

TypeUse For
noteGeneral knowledge, observations, ideas
decisionChoices made — with context, options, and rationale
sopStandard Operating Procedure — human-readable repeatable process
aopAgent Operations Procedure — agent-native execution contract
doctrineCore principles, frameworks, system-level truths
referenceExternal facts, specs, API docs, guides

Measurement (how you track)

TypeUse For
metricTracked number or KPI (weight, revenue, pace)
reviewWeekly, monthly, or quarterly reflection

Operator (who/what does the work)

TypeUse For
humanPerson profile — you, family, team, contractor
agentAI agent profile and configuration
robotPhysical automation device profile
droneAutonomous physical agent profile

Capability (what you can do)

TypeUse For
skillPortable ability definition (research, draft, analyze)
toolSpecific software/hardware (Obsidian, Claude, 3D printer)

Legacy Types (still supported)

TypeMapped To
personUse human for new files — person still works
logUse note with cadence/daily tag — log still works

Tagging System

Tags use a namespace/value pattern:

NamespaceExamplesPurpose
domain/domain/so, domain/hp, domain/geWhich domain
type/type/goal, type/task, type/sop, type/agentEntity type
status/status/active, status/draft, status/archivedLifecycle state
operator/operator/zeus, operator/legacy, operator/spartanWho owns execution
cadence/cadence/daily, cadence/weeklyReview frequency
realm/realm/digital, realm/physical, realm/hybridDigital vs physical

Folder Rules

  • Never create top-level folders — All notes go inside the domain folders (SO, HP, LE, GE)
  • Inbox first when unsure — Drop uncertain items in 06 Inbox (Queue)/
  • Numbered domains — Don’t rename or renumber existing domain folders
  • Subfolders are fine — Create subfolders within domains as needed

ID Format

{domain-code}-{domain-number}-{YYYYMMDDHHMMSS}

Examples:

  • so-02-20260318143022 — SO domain, subdomain 02, timestamped
  • hp-29-20260318-morning-routine — HP domain, subdomain 29, descriptive slug
  • ge-75-brand-architecture — GE domain, subdomain 75

IDs are optional but recommended for notes that other notes will link to.