Install SpecWeave and plan your first increment
You end with an increment whose spec.md lists numbered acceptance criteria and tasks with their files and test, and specweave pickup tells you which task to claim first.
- SpecWeave CLI
- 1:36
- Any agent
- Narrated, with captions
Recorded on SpecWeave 3.1.0, 18 October 2026, added 18 October 2026.
Before you start: Node.js 20.12 or later and git; a git repository to plan work in.
Steps
- Install the CLI with
npm i -g specweave. It needs Node.js 20.12 or later;specweave --versionprints the installed version. - In your repo, run
specweave init. Add--adapter claude(or another tool) to name your coding agent, and--quickto accept the defaults. It writes CLAUDE.md and AGENTS.md, installs six SpecWeave skills in .claude/skills/ and .agents/skills/, and keeps its settings in .specweave/config.json. - Run
specweave create-increment "Personal greeting". It creates .specweave/increments/0001-personal-greeting/ with a scaffolded spec.md and metadata.json. - Decide first: at the default level (
planning.deepInterview: critical) your agent's sw-increment skill asks only the decisions that are yours, one at a time with a recommended answer, and records them under ## Decisions as Asked, Defaulted and Open. - Fill in spec.md, yourself or with the sw-increment skill: Problem, Scope, numbered acceptance criteria (
- [ ] AC-01: …), Approach, Decisions, and tasks written as### T-01 Titlefollowed by- AC: AC-01 | Files: … | Test: …. - Commit the plan and run
specweave pickup. It prints the increment, the next task with its acceptance criterion, files and test, and the command that claims it. - Then claim the task with
specweave task claim T-01and prove it withspecweave task done T-01 --run "npm test".
Transcript
Built from the caption file of the narration.
0:00 What you will do
Install SpecWeave and plan your first increment.
0:04 Install the CLI
Install the CLI from npm with npm i -g specweave. It needs Node 20.12 or later. specweave --version prints 3.1.0.
0:18 specweave init
In your repo, run specweave init with the Claude Code adapter. It writes CLAUDE.md and AGENTS.md, installs six SpecWeave skills, and keeps its settings in.specweave/config.json.
0:32 Create the increment
Now plan the work. Give specweave create-increment a title. It makes the folder 0001-personal-greeting, with a spec.md to fill in.
0:44 The Decide step
Step one is Decide. At the default level, critical, your agent asks only the decisions that are yours, one at a time with a recommended answer.
0:54 Problem and acceptance criteria
Then fill in spec.md, yourself or with the sw-increment skill: the problem, and numbered acceptance criteria that a test can check.
1:05 Decisions and tasks
Decisions records what was asked, what was defaulted, and what is open. Each task names its acceptance criterion, its files, and the test that proves it.
1:16 specweave pickup
Commit the plan, then run specweave pickup. It shows the increment, the next task, T-01, with its acceptance criterion, files and test, and the command that claims it.
1:29 Next: claim and prove the task
Next, claim T-01 and prove it with task done --run.
Learning path
Run work across agents
Plan an increment, prove each task, hand off between tools and get a review from another model.
Plan, prove and hand off a task with the CLI
1:00, SpecWeave CLI
Install SpecWeave and plan your first increment (this guide)
1:36, SpecWeave CLI
Claim, prove, verify and complete a task
1:30, SpecWeave CLI
Hand off from Claude Code to Codex at a usage limit
1:18, SpecWeave CLI
Review with the other model before you ship
1:33, SpecWeave CLI