A SPINE for coding agents.
agent-spine is a scaffold for running your life and work through AI coding agents (Claude Code,
Codex, Gemini CLI, Cursor — any of them) with plain files as the only state. No database, no
plugin lock-in, no per-agent config drift. One AGENTS.md is the contract; every agent reads the
same skills, the same memory, the same typed objects. This is a file-first personal operating system.
Most "AI productivity" setups die one of three ways: state gets trapped inside one tool, agents overwrite the human's own notes, or every agent needs its own duplicate instructions. agent-spine fixes all three with conventions, not software:
- Agent-agnostic contract.
AGENTS.mdis the single source of truth.CLAUDE.mdandGEMINI.mdare two-line stubs that point at it, so agents that auto-load their own file still land on the same rules. - Portable skills. A skill is just a folder with a
SKILL.md. Any agent runs it by reading the file and following the body — no plugin registry required. Slash-command integration is a shortcut, never a dependency. - Human/agent write boundaries. Every domain folder splits into
inputs/(human-only — agents never write here),data/(agent-owned, overwrite-on-refresh),objects/(co-owned: agents may update frontmatter keys, the note body belongs to you), andoutputs/(agent deliverables). The boundary is a stated rule agents follow, enforced by review — simple, and it survives every tool change. - Typed objects. Notes that represent things (a task, a project, a person) carry YAML
frontmatter conforming to a small schema (
OBJECT-MODEL.md). Anything that can query frontmatter — Obsidian Bases, a script, an agent — can build views without parsing prose.
AGENTS.md # the contract: who you are, rules, how skills run
CLAUDE.md # stub → AGENTS.md
GEMINI.md # stub → AGENTS.md
OBJECT-MODEL.md # frontmatter schemas for typed notes
templates/ # one template per object type
toolbox/ # portable skills, one folder each
today/SKILL.md
weekly-review/SKILL.md
refresh-domain/SKILL.md
work/ # example domain
AGENTS.md # domain voice + rules
inputs/ # human-maintained ground truth (agents never write)
data/ # agent-refreshed JSON (safe to overwrite)
objects/ # typed notes (co-owned)
outputs/ # agent deliverables
personal/ # second example domain, same shape
memory/ # cross-session facts agents may append to
- Clone, then edit
AGENTS.md: fill in who you are, your domains, and your non-negotiables. - Rename/add domain folders to match your life (
work/,freelance/,health/…). Keep the four-subfolder shape. - Put your ground truth in each domain's
inputs/(goals, project lists, contacts). - Point any coding agent at the repo root and run a skill: "read
toolbox/today/SKILL.mdand follow it."
The heart of the contract is a short numbered list of hard rules every agent must obey. The
starter set in AGENTS.md:
inputs/is human-maintained — agents never write to it.- Communications in your name are draft-only — the agent drafts, you send.
- Money — the agent surfaces costs, you execute transactions.
- External connectors (email, calendar, issue trackers) are sources only — read from them, never store state in them.
Adapt them, but keep the section: it's the difference between an agent that assists and an agent that quietly takes over your identity.
Early. Extracted from a personal system that has been in daily use; the conventions are stable, the tooling around them (dashboards, sync scripts) is not yet included. Issues and PRs welcome.
MIT