increment

increment is a skill for Claude Code from anton-abyzov/specweave. It costs 44 tokens per session (1,409 once invoked), scanned A, original, MIT.

A planning workflow that turns a feature, bug, hotfix, or refactoring request into a written specification and a task list. An increment is one tracked unit of work with requirements, approach, tasks, and status.

In plain words
What is it for?
Use it to define the problem, scope, numbered acceptance criteria, implementation approach, and individual tasks for a change.
Why use it?
It makes the intended scope and completion conditions explicit before coding begins. This helps developers agree on what will be built and how it will be checked.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

Part of the sw plugin — 10 skills, 1 agent, 4 hooks shipped together

Good fit Use it to define the problem, scope, numbered acceptance criteria, implementation approach…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anton-abyzov/specweave/increment
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add anton-abyzov/specweave --skill increment
Clone the repo
git clone --depth 1 https://github.com/anton-abyzov/specweave

Made for: Claude Code.

Or install sw, the plugin that ships this one along with the rest of its 10 skills, 1 agent, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for increment

README.md
[![agentmods](https://agentmods.dev/badge/skills/anton-abyzov/specweave/increment.svg)](https://agentmods.dev/skills/anton-abyzov/specweave/increment)
Your own site
<a href="https://agentmods.dev/skills/anton-abyzov/specweave/increment"><img src="https://agentmods.dev/badge/skills/anton-abyzov/specweave/increment.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,409 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.01409
Opus 5 $0.00022 $0.00705
Sonnet 5 $0.00009 $0.00282
Haiku 4.5 $0.00004 $0.00141

Measured 3d ago against content hash 6375f9511eaf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

increment scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/specweave/skills/increment/SKILL.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Plan an Increment

An increment is one folder — .specweave/increments/NNNN-slug/ — holding spec.md (intent + ACs + approach), tasks.md (task definitions), ledger.jsonl (state, written by the CLI) and metadata.json. It is the unit of work and the tracker; every commit for it carries its id in the subject.

Plan mode first (blocking)

Planning produces a document the user approves before any code is written. If your tool has a plan mode, enter it now (Claude Code: EnterPlanMode) and wait for confirmation. Do not create files, do not implement, until the plan is approved.

Steps

  1. Understand the request. Restate it in one sentence: what changes, for whom, why now.
    • Scope clear enough to write ACs? Go to 2.
    • Not clear (vague goal, unknown users, competing options, unclear done-condition)? Interview first — ask only the questions whose answers change the spec, in one batch: the problem behind the request, who hits it, what "done" looks like, what is explicitly out of scope, constraints (stack, deadline, data), and the riskiest unknown. Trivial fix → 0 questions. Do not interview to fill a quota.
  2. Look before writing. Read .specweave/config.json (testing commands, sync, workspace.repos), skim existing increments for overlap (specweave status), and read the code the change will touch. An Approach written without reading the files is a guess.
  3. Create the folder — the CLI owns id allocation (atomic, retried):
    specweave create-increment --auto-id --name "<kebab-slug>" --title "<Title>" \
      --description "<one line>" --project "<project id from config>" \
      [--type feature|bug|hotfix|refactor] [--supersedes <old-id>]
    
    Superseding an older increment: pass --supersedes <old-id>. That one command abandons the old increment with closeReason: "superseded by <new-id>" and records supersedes on the new one — do not split it into two steps. Name the old id in the new spec's Problem section. No CLI: create the folder by hand, put "supersedes": "<old-id>" in the new metadata.json and set the old one to "status": "abandoned" with the same closeReason.
  4. Write spec.md — one evolving document, these sections:

Read the full file on GitHub · 104 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 104 lines · 44 tokens per session scan A 6375f9511eaf

Subscribe to this mod's changes

increment is a skill published in the GitHub repository anton-abyzov/specweave (159 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 1,409 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.