specsync-create-spec

A command that creates a new spec-sync module specification from a module name or feature description. It supports a minimal specification or a full scaffold with companion documents.

In plain words
What is it for?
Use it to generate specifications, requirements, tasks, context, testing, optional design files, registry entries, and detected links to source files.
Why use it?
It provides a consistent starting point for documenting a module and its planned work.

Command for Cursor

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.

agentmods
npx agentmods add commands/corvidlabs/agent-3md/specsync-create-spec
Clone the repo
git clone --depth 1 https://github.com/CorvidLabs/agent-3md

Made for: Cursor.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 444 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00444
Opus 5 $0.00000 $0.00222
Sonnet 5 $0.00000 $0.00089
Haiku 4.5 $0.00000 $0.00044

Measured yesterday against content hash f02ab9c3d7e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

specsync-create-spec 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 yesterday.

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.

.cursor/commands/specsync-create-spec.md · 35 lines

What it actually says

Create a new spec-sync module spec.

Arguments: $ARGUMENTS

  1. Remove --minimal wherever it appears and remember that minimal mode was requested. Preserve the complete remaining text; do not tokenize it yet.
  2. Classify the complete remaining text:
    • A bare module name — a short identifier like auth-service or billing, matching ^[A-Za-z0-9][A-Za-z0-9._-]*$. Use it as-is.
    • A free-text feature description — a sentence or phrase describing what to build, e.g. "I want a feature that lets users export their data as CSV". In this case, invent a short, kebab-case module name that captures the idea (e.g. csv-export). If the right name is ambiguous, ask the user to confirm or rename it before continuing. Keep the full description at hand — you'll use it in step 5.
  3. If minimal mode was requested, run:
    specsync new <module-name>
    
    This creates a minimal spec only (no companion files).
  4. Otherwise (default), run:
    specsync scaffold <module-name>
    
    This creates the spec, companion files (tasks.md, requirements.md, context.md, testing.md, and design.md if companions.design is enabled), a registry entry, and auto-detects related source files.
  5. Open the newly created specs/<module-name>/<module-name>.spec.md and fill in the Purpose, Requirements, and Public API sections. If a free-text description was given in step 2, use it directly to draft these sections — ask clarifying questions if it's underspecified, but do not leave the sections as unfilled placeholder text. Do the same for requirements.md (acceptance criteria) and tasks.md (initial task breakdown), if present.
  6. Run specsync check to confirm the new spec passes validation.
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. yesterday First seen · 35 lines · 0 tokens per session scan A f02ab9c3d7e9

Subscribe to this mod's changes

specsync-create-spec is a command published in the GitHub repository CorvidLabs/agent-3md (1 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 444 tokens. 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.