spec-consolidation

spec-consolidation is a skill for Claude Code from stefaniuk/loadout. It costs 40 tokens per session (3,614 once invoked), scanned A, original, MIT.

A tool for combining feature-specific product notes into one current specification under `specs/product/`. It keeps the original per-feature records and leaves out planning and task files.

In plain words
What is it for?
Use it to consolidate Spec Kit specifications after several features have been developed, so the documented product behaviour is easier to review.
Why use it?
It removes duplicated, outdated, and conflicting details spread across many feature folders. Teams get one product view without losing the history of individual changes.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to consolidate Spec Kit specifications after several features have been developed, so the documented product behaviour is easier to review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stefaniuk/loadout/spec-consolidation
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 stefaniuk/loadout --skill spec-consolidation
Clone the repo
git clone --depth 1 https://github.com/stefaniuk/loadout

Made for: Claude Code.

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-consolidation

README.md
[![agentmods](https://agentmods.dev/badge/skills/stefaniuk/loadout/spec-consolidation.svg)](https://agentmods.dev/skills/stefaniuk/loadout/spec-consolidation)
Your own site
<a href="https://agentmods.dev/skills/stefaniuk/loadout/spec-consolidation"><img src="https://agentmods.dev/badge/skills/stefaniuk/loadout/spec-consolidation.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,614 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.00040 $0.03614
Opus 5 $0.00020 $0.01807
Sonnet 5 $0.00008 $0.00723
Haiku 4.5 $0.00004 $0.00361

Measured 8d ago against content hash 1536beb1c97a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

spec-consolidation 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 8d 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.

.github/skills/spec-consolidation/SKILL.md · 298 lines

How it starts

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

Spec Consolidation Skill

This skill derives a product-facing view from the multi-feature Spec Kit layout (specs/001-*/, specs/002-*/, specs/003-*/, …) into a single intent-driven specification set under specs/product/.

Spec Kit is branch-first: each specs/NNN-* directory is a durable record of one change. This skill does not replace that history. It produces a derived product read-model for teams that need one consolidated intent view across shipped or in-flight behaviour.

It is non-destructive: per-feature directories remain on disk as the canonical feature history unless the operator makes a separate archival decision later.

Why this exists

The repository follows spec-driven development (specclarifyplantasksimplement). After several features ship, the specs/ tree accumulates:

  • Multiple spec.md files describing slices of the same product.
  • Stale plan.md and tasks.md files reflecting how work was scheduled, not what the system now does.
  • Duplicated data-model.md, research.md, and quickstart.md content with partial overlaps and contradictions.

This skill produces a single, code-true, intent-only spec set. The discarded artefact types (plan.md, tasks.md) do not belong in the final product set. In Spec Kit, plan.md is still a technical design artefact, so it may be consulted narrowly during reconciliation when that context is missing from research.md, data-model.md, quickstart.md, or contracts/.

Output Layout

specs/product/
├── spec.md            # Single product specification (intent only)
├── data-model.md      # Consolidated domain model
├── research.md        # Consolidated decisions and trade-offs (links ADRs)
├── quickstart.md      # Unified operator quickstart
├── contracts/         # Merged or derived contract files (CLI, API, schemas, …)
└── checklists/        # Optional merged review checklists (deduplicated)

The numeric per-feature directories under specs/NNN-*/ are left in place. The skill writes an index document under specs/product/ pointing to the consolidated set, the baseline used, and the source feature directories that fed each artefact.

Read the full file on GitHub · 298 lines

Files

What ships with it

7 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. 8d ago First seen · 298 lines · 40 tokens per session scan A 1536beb1c97a

Subscribe to this mod's changes

spec-consolidation is a skill published in the GitHub repository stefaniuk/loadout (1 stars, last pushed 5d ago), licensed MIT. It adds 40 tokens to every session and 3,614 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-08-31.

Related

Other skills, from other repositories

artifact-conventions

Defines preservation, format, and section rules for SDD specification artifacts (spec.md, plan.md, tasks.md, checklists). Use when editing feature-artifact files under specs/ / to prevent accidental corruption of cross-referenced IDs, priorities, and gating state.

attilaszasz/sdd-pilot · 59 tokens

plan-authoring

Reference material for writing implementation plans (technical context, architecture decisions, data models, API contracts, project-instructions alignment). Loaded on demand by plan-feature; not directly invokable.

attilaszasz/sdd-pilot · 41 tokens

task-generation

Reference material with the canonical task-format grammar and decomposition rules for plan-to-tasks expansion. Loaded on demand by generate-tasks; not directly invokable.

attilaszasz/sdd-pilot · 35 tokens

adr-authoring

Defines the canonical MADR format, lifecycle rules, numbering policy, and SAD catalog contract for standalone ADRs under specs/adrs/.

attilaszasz/sdd-pilot · 30 tokens

implementation-standards

Reference material with coding standards (defensive coding, error handling, testing patterns). Loaded on demand by the Developer sub-agent (.github/agents/developer.md); not directly invokable.

attilaszasz/sdd-pilot · 44 tokens

spec-authoring

Reference material for writing product, technical, and operational specifications (work-item priorities, requirement families, success criteria). Loaded on demand by specify-feature; not directly invokable.

attilaszasz/sdd-pilot · 40 tokens