Skip to content

About

A SPINE for coding agents — one AGENTS.md contract, portable SKILL.md skills, human/agent write boundaries, typed markdown objects. A file-first personal operating system.

Topics

Resources

Stars

6 stars

Watchers

2 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

agent-spine

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.

Why

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:

  1. Agent-agnostic contract. AGENTS.md is the single source of truth. CLAUDE.md and GEMINI.md are two-line stubs that point at it, so agents that auto-load their own file still land on the same rules.
  2. 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.
  3. 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), and outputs/ (agent deliverables). The boundary is a stated rule agents follow, enforced by review — simple, and it survives every tool change.
  4. 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.

Layout

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

Quick start

  1. Clone, then edit AGENTS.md: fill in who you are, your domains, and your non-negotiables.
  2. Rename/add domain folders to match your life (work/, freelance/, health/…). Keep the four-subfolder shape.
  3. Put your ground truth in each domain's inputs/ (goals, project lists, contacts).
  4. Point any coding agent at the repo root and run a skill: "read toolbox/today/SKILL.md and follow it."

The non-negotiables pattern

The heart of the contract is a short numbered list of hard rules every agent must obey. The starter set in AGENTS.md:

  1. inputs/ is human-maintained — agents never write to it.
  2. Communications in your name are draft-only — the agent drafts, you send.
  3. Money — the agent surfaces costs, you execute transactions.
  4. 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.

Status

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.

License

MIT

About

A SPINE for coding agents — one AGENTS.md contract, portable SKILL.md skills, human/agent write boundaries, typed markdown objects. A file-first personal operating system.

Topics

Resources

Stars

6 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors