spec-workflow

spec-workflow is a skill for Claude Code from ramboz/jig. It costs 170 tokens per session (17,453 once invoked), scanned C, original, MIT.

A workflow for managing software specifications from an early draft through implementation, review, reconciliation, and completion. It splits large work into vertical slices, meaning each slice delivers a usable part across the necessary layers.

In plain words
What is it for?
Breaking down specs, moving work through defined lifecycle states, coordinating implementation and review, checking completion requirements, and viewing which workflows have been used.
Why use it?
It gives teams a shared process and visible state for non-trivial work, while catching unclear terms, incomplete review, and slices that only change one technical layer.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the jig plugin — 20 skills shipped together

Good fit Breaking down specs, moving work through defined lifecycle states, coordinating implementation and review, checking completion requirements, and viewing which workflows have been used.

Compare 6 skills from other repositories ↓
View source ↗ ramboz/jig
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add ramboz/jig
Claude Code
/plugin install jig

Made for: Claude Code.

Or install jig, the plugin that ships this one along with the rest of its 20 skills.

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 spec-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/ramboz/jig/spec-workflow/github.svg)](https://agentmods.dev/skills/ramboz/jig/spec-workflow)
Your own site
<a href="https://agentmods.dev/skills/ramboz/jig/spec-workflow"><img src="https://agentmods.dev/badge/skills/ramboz/jig/spec-workflow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for spec-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/ramboz/jig/spec-workflow"><img src="https://agentmods.dev/badge/skills/ramboz/jig/spec-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 170 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 17,453 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00170 $0.17453
Opus 5.5 $0.00068 $0.06981
Sonnet 5.5 $0.00034 $0.03491
Haiku 4.5 $0.00017 $0.01745

Measured 5d ago against content hash 40e3fc34acbc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

spec-workflow scanned grade C with 1 finding 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (workflow.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

do not refuse**; the alternatives are recorded as the shown-and-declined
hosts/claude/skills/spec-workflow/SKILL.md · 1,119 lines

How it starts

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

Working posture (ADR-0056). Adversarial review is a named, bounded operation. This workflow invokes review passes (frame-critique / craft), whose skeptical register belongs inside those isolated reviewer subagents. Outside a review, default to collaborative and solution-forward; don't carry the adversarial stance into ordinary conversation.

Spec 003 promoted this skill from stub to active. The deterministic state mutations live in workflow.py; this SKILL.md drives the judgment layer.

What this skill does

  • Guides SPIDR-splitting a new spec into vertical slices (Spike last, not first — try Rules / Data / Interface / Path first).
  • Flags slices that look like horizontal phasing (no user-facing layer touched).
  • Drives the spec lifecycle state transitions via workflow.py.
  • Coordinates implementer + reviewer subagent invocations at the right points.
  • Enforces the reconciliation checklist before a slice goes DONE.
  • Consults docs/memory/glossary.md when drafting ACs to surface unknown domain terms.
  • Surfaces skill-routing observability via workflow.py routing-stats [--days N] — a read-only histogram of which skills fired (jig baseline vs. richer/"other" skill per category) from .claude/skill-usage.jsonl (slice 041-02).
  • Surfaces use-case coverage via workflow.py coverage [--project-dir DIR] — a read-only, advisory (non-blocking), project-wide bidirectional check (slice 068-03): a deterministic set-difference over the use_cases: trace links that reports use cases with no implementing spec (coverage gap) and specs citing no parent use case (scope creep). No-op when the project has no ## Use cases section.
  • Surfaces use-case progress via workflow.py progress [--summary] [--project-dir DIR] — a read-only, advisory rollup (slice 116-01, ADR-0064): per use case, the specs citing it with their status and done/known slice counts (never percentages), then an Unanchored bucket for specs citing no resolvable use case. Derived on every run, stores nothing; a progress view, not a drift check. --summary prints the compact view /jig:orient copies (totals, use cases with no done slice or no spec, Unanchored specs; slice 116-02). No-op when the project has no ## Use cases section or its marker says status: unfilled / skipped (not elicited yet).
  • Retires the seeded genesis spec via workflow.py retire-genesis [--project-dir DIR] [--dry-run] (slice 121-02, ADR-0067). It removes 000-adopt-jig/ (new shape) or, in the legacy shape, 001-adopt-jig/ (either one only when its frontmatter has skill: scaffold-init; otherwise reported "not recognised as the jig seed; left in place") plus the legacy first-spec stub dir only while it is an untouched stub (only spec.md, still DRAFT, with the seed's heading, lead, slice heading and _TODO_ placeholder intact; otherwise kept and reported). It deletes the primer / adoption-readiness.md list items that point at the removed spec, backticks any other link in CLAUDE.md, AGENTS.md, adoption-readiness.md and a kept stub, and regenerates the board. Links from your own files are reported, never rewritten. It refuses (non-zero, nothing written) when no other spec exists, since a re-scaffold would re-seed the genesis. --dry-run prints the plan and writes nothing. When the first non-genesis spec rolls up to DONE, transition prints a one-line hint naming this command (stderr, non-blocking, once).
  • Guards the status board via workflow.py check-board <project-dir> — a read-only audit that exits non-zero when docs/specs/README.md no longer matches the spec records, or when two spec directories claim one number. Writes nothing, so it is safe to run in CI against a checkout.
  • Surfaces gate-bypass telemetry via workflow.py gate-stats [--days N] — a read-only per-gate histogram of how often each gate honored its env-var override (an override-frequency audit trail, not a gate-value verdict) from .claude/skill-usage.jsonl (slice 078-02).

Read the full file on GitHub · 1,119 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago Changed · +21 lines 40e3fc34acbc
  2. 11d ago Changed · +33 lines 3ef27d4671a9
  3. 1mo ago Changed · +18 lines d53cc183bcf9
  4. 1mo ago Changed · +19 lines 03cd79a1d4be
  5. 1mo ago Changed · +9 lines 11404a9b990a
  6. 3mo ago First seen · 1,019 lines · 170 tokens per session scan C 1541bf74d02b

Subscribe to this mod's changes

spec-workflow is a skill published in the GitHub repository ramboz/jig (6 stars, last pushed 6d ago), licensed MIT. It adds 170 tokens to every session and 17,453 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

spec-workflow compared with skills from other repositories

spec-workflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spec-workflowramboz/jigSkill66d agoMITC170Claude Code
onboardingknitli/toolshedSkill13d agoMITA0Claude Code
setupknitli/toolshedSkill13d agoMITA0Claude Code
.codexknitli/toolshedSkill13d agoMITA0Claude Code, Codex
gh-stackknitli/toolshedSkill13d agoMITA65Claude Code, Codex
browser-agentdatit309/supergraphSkill236d agoMITA50Claude Code
executedatit309/supergraphSkill236d agoMITA26Claude Code