router
Classify intent, select the right module. Does not do the work itself.
Workflow skill for coding agents
Agents fail when they mix jobs: editing before understanding, reviewing while fixing, shipping without evidence. Keystone routes each task to exactly one module, enforces boundaries, and requires proof before transitions.
/keystone diagnose why the release workflow fails
The problem
They edit before understanding the repo
They treat a plan as proof
They debug by guessing
They review while changing files
They ship without evidence
Keystone makes each of these structurally impossible.
How it works
You invoke /keystone with whatever you need. Keystone classifies the work, routes to exactly one module, applies that module's contract, loads gates only when needed, and hands off cleanly when the task changes shape.
User sends a request
Router selects one primary module
Module controls what's allowed
Evidence before transitions
Report or hand off
Modules
Each module has an intent, allowed mutations, hard boundaries, and an exit gate. Internal modules stay internal — you use one public skill.
Classify intent, select the right module. Does not do the work itself.
Inspect, summarize, gather evidence, compare options. Never edits or presents guesses as facts.
Draft prose, shape product direction, UX, visual direction, and scope. Does not implement.
Convert approved direction into ordered, verifiable tasks. Not named plan — intentionally.
Mutate scoped files. Must pass isolation before the first edit.
Reproduce and isolate a bug from evidence. Does not guess fixes.
Critique work without changing it. Read-only: no fixes, no commits, no shipping.
Finalize completed work. Only runs after proof and review are satisfied.
Scan repo, tooling, and package health. Does not silently fix issues.
Common workflows
Gates
Their job is to stop common mistakes, not to be clever.
Make the next module or prompt explicit before stopping
Confirm branch, worktree, and scope before the first mutation
Establish a failing check or reproduction when practical
Verify claims with evidence before success reports
Confirm required review has no blockers
Confirm verified, reviewed work is ready for handoff
Get started
npx skills add static-var/keystone --skill keystonepi install npm:@static-var/keystone/plugin marketplace add static-var/Keystone
/plugin install keystone@keystonecodex plugin marketplace add static-var/Keystone --ref main
codex plugin add keystone --marketplace keystoneThen invoke:
/keystone your task here
Claude Code: /keystone:keystone your task here
Keystone is not trying to make agents more autonomous by removing structure. It makes agents safer by giving each phase a name, a boundary, and a proof requirement.