speckit.specrew-speckit.sync-specify

speckit.specrew-speckit.sync-specify is a command for Claude Code from alonf/specrew. It costs 11 tokens per session (772 once invoked), scanned A, original, MIT.

A command that records the workflow state after creating a feature specification. It also checks that a required design workshop was completed before the specification can advance.

In plain words
What is it for?
Use it before advancing from specification work to record the feature, confirm workshop records exist, and stop when the readiness check fails.
Why use it?
It prevents specification work from moving forward without the required human design review and keeps the process state recorded.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it before advancing from specification work to record the feature, confirm workshop records exist, and stop when the readiness check fails.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/alonf/specrew/speckit.specrew-speckit.sync-specify
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.

Clone the repo
git clone --depth 1 https://github.com/alonf/specrew

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 speckit.specrew-speckit.sync-specify

README.md
[![agentmods](https://agentmods.dev/badge/commands/alonf/specrew/speckit.specrew-speckit.sync-specify.svg)](https://agentmods.dev/commands/alonf/specrew/speckit.specrew-speckit.sync-specify)
Your own site
<a href="https://agentmods.dev/commands/alonf/specrew/speckit.specrew-speckit.sync-specify"><img src="https://agentmods.dev/badge/commands/alonf/specrew/speckit.specrew-speckit.sync-specify.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 772 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.00011 $0.00772
Opus 5 $0.00005 $0.00386
Sonnet 5 $0.00002 $0.00154
Haiku 4.5 $0.00001 $0.00077

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

Security

Grade A, and why

speckit.specrew-speckit.sync-specify 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 4d 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.

.specify/extensions/specrew-speckit/commands/speckit.specrew-speckit.sync-specify.md · 64 lines

How it starts

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

Sync Specify Boundary State

Workshop readiness gate (before the spec work)

The design workshop is MANDATORY — the specify boundary cannot advance without its lens records (lens-applicability.json with per-lens human confirmation). Deterministic: a missing or unworked workshop throws here, BEFORE the spec work begins (Feature 185):

. .\.specify\extensions\specrew-speckit\scripts\shared-governance.ps1
$workshopRecords = Test-SpecrewWorkshopRecordsPresent -ProjectRoot .
if (-not $workshopRecords.Present) {
  throw ("SPECREW WORKSHOP GATE: {0} Run the specrew-design-workshop skill and work the lenses WITH the human, then retry." -f $workshopRecords.Reason)
}

Record the arrival (before the advancement gate)

After /speckit.specify writes .specify/feature.json and the active spec artifact, record the boundary arrival FIRST. At a first boundary this sync is what mints the pending crossing and writes .specrew/runtime/pending-verdict-stop.md — the controller truth the verdict stop renders from (DRIFT-198-I011-012: gating before this sync made FR-066's arrival state unreachable and left the stop with no artifact, the marker-invention precondition):

$featureJson = Get-Content -LiteralPath .\.specify\feature.json -Raw -Encoding UTF8 | ConvertFrom-Json
$featureRef = Split-Path -Leaf $featureJson.feature_directory
pwsh -File .\.specify\extensions\specrew-speckit\scripts\sync-boundary-state.ps1 -ProjectPath . -BoundaryType specify -FeatureRef $featureRef

If the sync fails, stop and report the exact file-write error before continuing. If the sync is refused because an earlier crossing is still unapproved (the ratchet), that refusal IS the stop — surface it and wait for the human; do not work around it.

Advancement gate (after the arrival is recorded)

The gate BLOCKS until the human's verdict authorizes the crossing. Blocking is correct — and it runs AFTER the arrival sync so the stop always has controller truth to render:

Read the full file on GitHub · 64 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. 4d ago First seen · 64 lines · 11 tokens per session scan A f0d7fdd2e3bd

Subscribe to this mod's changes

speckit.specrew-speckit.sync-specify is a command published in the GitHub repository alonf/specrew (54 stars, last pushed 5d ago), licensed MIT. It adds 11 tokens to every session and 772 once invoked, about $0.0001 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.