specification-capture

specification-capture is a skill for Claude Code from synaptiai/synapti-marketplace. It costs 135 tokens per session (1,259 once invoked), scanned A, original, Apache-2.0.

A method for recording an issue's non-goals, failure cases, and interface contracts in a decision journal. An interface contract describes how a component is expected to be used.

In plain words
What is it for?
Use it when starting an issue, design discussion, or brainstorming session to capture what is out of scope, what can go wrong, and how interfaces must behave.
Why use it?
It prevents unclear scope and missing failure behavior from being carried into design and implementation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter; names the AskUserQuestion tool.

Part of the flow plugin — 33 skills, 20 commands, 11 agents shipped together

Good fit Use it when starting an issue, design discussion, or brainstorming session to capture what is out of scope, what can go wrong, and how interfaces must behave.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synaptiai/synapti-marketplace/specification-capture
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 synaptiai/synapti-marketplace --skill specification-capture
Clone the repo
git clone --depth 1 https://github.com/synaptiai/synapti-marketplace

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 33 skills, 20 commands, 11 agents.

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 specification-capture

README.md
[![agentmods](https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/specification-capture/github.svg)](https://agentmods.dev/skills/synaptiai/synapti-marketplace/specification-capture)
Your own site
<a href="https://agentmods.dev/skills/synaptiai/synapti-marketplace/specification-capture"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/specification-capture/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 specification-capture

Your own site · 80×15
<a href="https://agentmods.dev/skills/synaptiai/synapti-marketplace/specification-capture"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/specification-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,259 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.00135 $0.01259
Opus 5.5 $0.00054 $0.00504
Sonnet 5.5 $0.00027 $0.00252
Haiku 4.5 $0.00014 $0.00126

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

Security

Grade A, and why

specification-capture 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 25d 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/flow/skills/specification-capture/SKILL.md · 65 lines

How it starts

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

Specification Capture

Contract

Iron law: every issue gets the four elements (non-goals, failure modes, interface contracts, risk map) in the journal before PLAN. Invoked with issue context, journal path, and invocation reason (Per-invoker scope below). Returns the ## Captured Specification payload from references/specification-journal-format.md after writing and re-reading the journal file named in Inputs. Permitted skips: elements outside the invoker's scope row; the risk map when specFirst.riskMap is false (written as disabled — specFirst.riskMap=false); elements the journal already holds for an unchanged issue.

Inputs

Issue context, journal path (<journal dir>/issue-{N}.md, the journal dir being what bin/journal-dir.sh prints; never a hand-built .decisions/), invocation reason (start | design | brainstorm). Any missing: halt with SPEC_CAPTURE_BLOCK: missing input <name>. Toggle: bin/cascade-resolve.sh --default true '.specFirst.riskMap', run from the flow plugin root (references/plugin-root-resolution.md).

Process

Step 1: Read the journal first

Run bin/journal-read-section.sh --file "$JOURNAL" --heading '## Specification' and record which of ### Non-goals, ### Failure modes, ### Interface contracts, ### Risk map exist. All four present and the issue not newer than the journal (staleness rule in the reference): return verbatim. Otherwise fill only the gaps.

Step 2: Extract from the issue body

Cues. Non-goals: ## Non-goals, ## Out of scope, "Does NOT". Failure modes: ## Failure modes, ## Error cases, "timeout", "fallback". Interface contracts: ## API, ## Schema, ## Contract, type definitions, signatures. Risk map: ## Risks, ## Tricky parts, "edge", "subtle", "off-by-one".

Verbatim matches are extracted-from-issue; never prompt for what the issue states. A journal ## Design (references/design-step.md) is merged in even when the element exists: Does not add items are non-goals, Invariants interface contracts, marked from-design.

Read the full file on GitHub · 65 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. 25d ago Changed 5b25a7766b1b
  2. 28d ago Changed 9dc4676b91f3
  3. 1mo ago Changed 6f7f53298a8d
  4. 1mo ago Changed · -2 lines 0bf63007ce20
  5. 2mo ago Changed 1307c1153dfd
  6. 2mo ago Changed 56639462ddb3
  7. 2mo ago Changed · -95 lines · +14 tokens per session 650d00363993
  8. 3mo ago First seen · 162 lines · 121 tokens per session scan A 04471f1a396e

Subscribe to this mod's changes

specification-capture is a skill published in the GitHub repository synaptiai/synapti-marketplace (9 stars, last pushed today), licensed Apache-2.0. It adds 135 tokens to every session and 1,259 once invoked, about $0.0005 per session on Opus 5.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.

Related

specification-capture compared with skills from other repositories

specification-capture next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
specification-capturesynaptiai/synapti-marketplaceSkill9todayApache-2.0A135Claude Code
create-or-update-conceptsCaptainMe-AI/lead-dev-osSkill224d agoMITA46Claude Code
step2-scope-tasksCaptainMe-AI/lead-dev-osSkill224d agoMITA20Claude Code
step1-write-specCaptainMe-AI/lead-dev-osSkill224d agoMITA20Claude Code
plan-productCaptainMe-AI/lead-dev-osSkill224d agoMITA32Claude Code
plan-roadmapCaptainMe-AI/lead-dev-osSkill224d agoMITA25Claude Code
create-prCaptainMe-AI/lead-dev-osSkill224d agoMITA70Claude Code