Turn your AI coding agent into one that runs the whole workflow: plan it, build it, ship it, and remember it across long projects.
Long AI coding sessions fall apart when the context window fills up. Agent Kit fixes this with a small operating layer that handles planning, handoff between chats, and structured git flow. The agent builds against a checkable plan and writes down where it stopped so any fresh chat picks up exactly where the last one left off.
- No more lost context. The agent keeps a short state file; new chat, one command, and it's caught up.
- Work against real plans. To-dos you can watch tick off, not vibes.
- Built-in DevOps discipline. Staging-first git flow prevents history chaos.
- Production needs confirmation. Agent can push to staging alone; promoting to
mainalways asks first. - Clean history everywhere. Commits and docs describe the software, not chat chatter.
| Feature | What you get |
|---|---|
| Plans + HITL gates | /start-project Broad Intake, then two gates (write plan, then first unit). Confirmations use Ask questions (clickable options; chat fallback when the tool is unavailable). |
| Phase handoff | .cursor/HANDOFF.md plus Context Guardian and native hooks (sessionStart / preCompact) so a fresh chat resumes without re-briefing. |
| Manual or continuous run | /continue-plan (one phase per chat) or /run-plan (runs to the end; picks worker orchestration or in-session loop; headless via agent-kit run-plan). |
| Staging → prod git | /git-staging for automatic promote to origin/staging; /git-prod only after explicit confirmation. Direct commits to main are blocked. |
| Memory loop | Resolved errors and tradeoff decisions in .cursor/memory/ so the next chat can reuse them. |
| Repository readiness | Install scans the repo, applies safe local fixes, and writes a readiness snapshot. /agent-kit-onboard resolves remaining decisions one at a time before /start-project. |
| Workspace skins | Mode-aware chat/CLI chrome only: Autopilot (/continue-plan), Night Shift (/run-plan), Ghost Runner (CLI). Configure after readiness or set workspaceSkin in .cursor/context/config.json. Never changes commits, HANDOFF, memory, or product docs. |
| Optional external plan review | After a plan is exhausted, arm Claude Code for a gap monitor; triage with /plan-review-triage. Opt-in via config. |
| Skills + domain packs | Registry skills and optional L1 packs (clean code, context tools, and more). Install/update via CLI; contribute upstream with agent-kit contribute. |
| Output hygiene | Chat can be light; commits, docs, HANDOFF, and memory stay professional and inheritable. |
Deep dives: getting started, skins contract, creating skins, external plan review, domain packs.
Open your project in Cursor and copy-paste this into chat:
You are the installer for Agent Kit L0. Confirm the absolute workspace root path via Ask questions before any write operations. If Node.js and npx are available, run `npx @dadado/agent-kit-cli install` in the confirmed root directory. Otherwise, fetch the install contract from https://raw.githubusercontent.com/agent-kit-startup/agent-kit/main/install.md and follow the Port B instructions. Detect missing Node.js or Git and report either prerequisite. Preserve existing `.cursor/` content. After successful installation, run or offer `/agent-kit-onboard` (SoT: `.cursor/commands/agent-kit-onboard.md`, install.md section 6). Use Ask questions for unresolved readiness choices and confirmations, with chat fallback when unavailable. Do not ask about skins, external review, or a first deliverable before essential readiness passes.
Source: install-prompt.md - Copy from raw URL: https://raw.githubusercontent.com/agent-kit-startup/agent-kit/main/install-prompt.md
Run from your project root:
npx @dadado/agent-kit-cli installUnpinned npx resolves to the latest publish. Pin a version when you need a reproducible install: npx @dadado/agent-kit-cli@x.y.z install (replace x.y.z with a version from npm).
That's it. You now have a handful of slash commands and a small set of rules. Full walkthrough: docs/getting-started.md.
- Prepare the repository:
/agent-kit-onboard- progressive readiness (detect, safe fixes, one decision at a time). Completes only with verified essentials. - Start a plan:
/start-project- after readiness, Broad Intake Review and two gates with Ask questions: (A) write plan file, (B) run first unit only after explicit confirmation. - Work one phase: agent implements the current phase, updates handoff, and stops.
- Continue later:
/continue-planin a fresh chat picks up where you left off (Autopilot chat chrome by default). - Ship to staging:
/git-staging- branches, commits, merges automatically.
Two ways to drive a plan:
/continue-plan- you drive: one phase per chat, the agent stops and waits between units./run-plan- it drives: the agent works through the plan to the end, checking off to-dos and pushing each finished topic to staging (Night Shift chat chrome by default). It picks the best execution strategy itself (worker delegation when available, same-chat loop otherwise). Optional external plan review via Claude Code provides post-completion gap detection. Headless CLI ticks use Ghost Runner banners by default.
Production safety: /git-prod promotes staging to main but always asks for confirmation first. Direct commits to main are blocked.
Mission Control is a local, read-only panel over the Agent Kit runtime state. It binds to loopback, serves only its own static files, and never mutates the repository.
# Start (or reuse) the panel and open the URL — terminal counterpart to /dashboard
npm run dashboard
# or: agent-kit dashboard
# or: node dashboard/start.mjs
# Foreground serve only (debugging; does not open a browser)
npm run start:dashboardThen open http://localhost:3333 if the browser did not open. In Cursor chat, /dashboard does the same start-and-open flow via the IDE browser.
The Cockpit reads as one page in four sections, each reachable from the primary navigation:
| Section | What it answers |
|---|---|
| Current mission | The plan in flight: status, progress, and previous/current/next todo |
| Monitor | What just happened: plan ticks, staging merges, and commits |
| Field Report | What waits on a reply: agent prompts with no answer, external reviews awaiting triage, and the active handoff gate |
| Checklist | What remains: recent plan cards, parked and incomplete plans, and readiness notes |
Plans, Activity, Agents, Skills, Commands, Health, Git, Memory, Terminals, and Processes live in the More sections menu next to those links, with their counts.
Every action copies text and names where to paste it: repo-relative paths go to the file picker, slash commands to the chat input, chat references to the past-chat picker, and shell commands, PIDs, and commit shas to the terminal. The panel cannot open a file or a chat, and no label claims it can.
Full routine: autogit/gitupdate.md after install.
| Guide | What's in it |
|---|---|
| Getting started | Install, commands, day-to-day workflow |
| Repository readiness | Install discovery, /agent-kit-onboard, and deliverable boundary |
| Bootstrap | Exactly what lands in your project, and why there's no nested folder |
| Layers | How the base install, optional packs, and your local files layer together |
| Domain packs | Optional bundles: clean code, DevOps, testing, and more |
| Workspace skins | Mode defaults, workspaceSkin config, hygiene boundary (create / contribute) |
| External plan review | Opt-in Claude Code monitor after /run-plan exhaustion |
| Manifest | The .cursor/agent-kit.json file |
| Contributing | Working on the kit itself (includes contributor quickstart) |
| Docs index | Everything else |
Two GitHub repos, one product:
| Repo | Role |
|---|---|
| agent-kit-dev (private) | Factory: CLI, sync tooling, dogfood. Daily flow: git staging → git prod → allowlist sync. |
| agent-kit (public) | Storefront and canonical registry (registry/**). Consumers install from here; registry PRs land here. |
Projects that install Agent Kit receive only .cursor/ + autogit/ + the manifest, never the whole monorepo.
Three layers: local scratch (HANDOFF/plans, gitignored) · private Git (factory) · public (storefront + registry SoT). Full cheat sheet: docs/repository-boundaries.md.