SEED
A spec-grounded agentic build workflow for Claude Code and Codex. Every task traces back to a spec
document, every commit passes a deterministic TDD gate, and every closed task leaves a
reusable rule behind.
Three ideas do the work:
- Spec-first, always.
/seed:plan refuses to run without an approved spec. A spec is
never skipped, only shrunk — a one-line fix still gets a two-paragraph spec.
- Just-in-time phase loading.
/seed:build reads one step file per invocation, not
the whole six-step procedure. Context per turn is bounded by one step regardless of how
large the workflow grows.
- A two-speed memory bank. Markdown + git is the only truth. A local SQLite cache
under
memory-bank/.local/ accelerates lookups and is safe to delete at any time.
Install
Claude Code
/plugin marketplace add /path/to/SEED
/plugin install seed@seed
Codex
Codex loads the native .codex-plugin/ manifest and exposes the workflow as
skills. Add the repository as a marketplace and install seed:
codex plugin marketplace add https://github.com/HarounDominique/seed.git
codex plugin add seed@seed
Use $seed-go, $seed-spec, $seed-plan, $seed-build, and the other
$seed-* skills. Codex uses skills rather than Claude's /seed:<command>
slash-command registry; both clients execute the same shared command workflow.
The Codex adapter is validated with:
node scripts/validate-codex-compatibility.mjs
Then, in the project you want to work in:
/seed:init
Requirements
git
- Node — already there, since Claude Code runs on it. The three scripts are Node rather
than shell precisely so the plugin behaves the same on Windows, where
bash is only
present if Git for Windows put it on PATH.
- For the hot cache: nothing extra on Node 22.5 or later, which has
node:sqlite in its
standard library. On an older Node the script falls back to the sqlite3 CLI, then to
python3/python and its stdlib sqlite3.
- Optional: the
codex@openai-codex plugin, if you want to route a seam to Codex. A
configured-but-unreachable Codex falls back to Claude automatically and says so — it
never blocks a task.
The flow
/seed:spec → /seed:plan → /seed:creative? → /seed:build → /seed:reflect → /seed:archive
/seed:go infers which of those comes next from repository state, so you never have to
remember. Not every task runs every phase — context/complexity-routing.md classifies the
request first and routes a one-file fix through spec → build → archive while a
multi-module initiative gets a nexus spec and per-module phases.
Commands
| Command | What it does |
|---|
/seed:go | Entry point — infers the next action from repo and task-file state |
/seed:init | Initialize memory-bank/ in a project, plus hot cache and commit guard |
/seed:spec | Write the spec (or nexus + module specs) a task originates from |
/seed:plan | Turn an approved spec into a phased build roadmap |
/seed:creative | Design exploration, only for a phase flagged as needing a decision |
/seed:build | Run one build phase (--auto chains the remaining ones) |
/seed:reflect | Extract reusable rules into agent-rules/_learned/ |
/seed:archive | Validate green, then merge the branch or open the PR |
/seed:verify | Lint/test/build, or --specs for a full spec-corpus hygiene pass |
/seed:spec-sync | Propagate a module spec edit to the nexus and every citing spec |
/seed:rules-index | Validate agent-rules/ for safety and context load, then index it |
/seed:roadmap | Feature and version tracking across many tasks (optional) |
/seed:doctor | Health check — memory-bank shape, cache consistency, corpus integrity |
/seed:upgrade | Migrate a project's memory-bank/ to the current schema version |
The commit guard
The one part of this workflow that is a script rather than a judgment call. A model will
rationalize a bypass under pressure; a boolean gate reading the actual staged diff will
not.
/seed:init copies scripts/commit-guard.mjs into your project. Before any build phase
commits, it checks that every production file added or modified in the staged diff has a
test file in that same diff, and that the test suite actually ran and exited 0.
That second check reads memory-bank/.local/last-test-exit-code, written by build step 3.
A file, not an environment variable — a var set by one Bash call does not survive into
the next. A missing file is a failure, never an assumed green.
Deleting a production file needs no test: a cleanup commit is not an untested change.