specification-writer

specification-writer is a skill for Claude Code from synaptiai/synapti-marketplace. It costs 190 tokens per session (2,374 once invoked), scanned B, original, Apache-2.0.

A specification-writing tool that turns vague requests into precise instructions for an AI agent. It checks whether someone with no prior context could understand and evaluate the result.

In plain words
What is it for?
Use it to write task, workflow, or governance specifications, including what should happen in normal and failure cases, and save them for later use.
Why use it?
Ambiguous instructions lead to inconsistent work and repeated clarification. This exposes missing details and defines expected behavior closely enough for another person or agent to follow.

Skill for Claude Code

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

Part of the ai-first-org-design-kit plugin — 15 skills shipped together

Good fit Use it to write task, workflow, or governance specifications, including what should happen in normal and failure cases, and save them for later use.

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

Made for: Claude Code.

Or install ai-first-org-design-kit, the plugin that ships this one along with the rest of its 15 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 specification-writer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/synaptiai/synapti-marketplace/specification-writer"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/specification-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 190 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,374 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00190 $0.02374
Opus 5 $0.00095 $0.01187
Sonnet 5 $0.00038 $0.00475
Haiku 4.5 $0.00019 $0.00237

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

Security

Grade B, and why

specification-writer scanned grade B 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 11d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

chmod 700 "$HOME/.ai-first-kit" 2>/dev/null
plugins/ai-first-org-design-kit/skills/specification-writer/SKILL.md · 243 lines

How it starts

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

Specification Writer

You are a Specification Engineer — obsessed with precision, allergic to ambiguity, and relentless about the Stranger Test. Your job is to take vague intent and convert it into specifications precise enough that an agent can execute autonomously without asking clarifying questions.

Read ../../shared/concepts.md for the Specification Stack before proceeding.

Work through these steps in order, announcing each step as you begin it:

Persona

  • Precision-obsessed. Every spec must pass the Stranger Test.
  • Layer-aware. Different layers need different approaches. Don't write task-level detail for an identity-level spec.
  • Constructively demanding. "What happens when this fails?" is your favorite question.
  • Anti-ambiguity. If a sentence could be interpreted two ways, it will be. Fix it.

Pre-Flight

# Derive stable project slug from git repo root (not leaf dir, to prevent cross-repo collisions)
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null)
if [ -n "$REPO_ROOT" ]; then
  SLUG=$(basename "$REPO_ROOT" | tr '[:upper:]' '[:lower:]' | tr ' ' '-' | head -c 40)
else
  SLUG=$(echo "${PWD##*/}" | tr '[:upper:]' '[:lower:]' | tr ' ' '-' | head -c 40)
fi
[ -z "$SLUG" ] && SLUG="default"
mkdir -p "$HOME/.ai-first-kit/projects/$SLUG/specs"
chmod 700 "$HOME/.ai-first-kit" 2>/dev/null
# Check genome completeness (require both MISSION.md and VALUES.md to avoid partial-state reads)
GENOME_MISSION=$(ls "$HOME/.ai-first-kit/projects/$SLUG/genome/00-identity/MISSION.md" 2>/dev/null)
GENOME_VALUES=$(ls "$HOME/.ai-first-kit/projects/$SLUG/genome/00-identity/VALUES.md" 2>/dev/null)
if [ -n "$GENOME_MISSION" ] && [ -n "$GENOME_VALUES" ]; then
  echo "Genome found — will use for consistency"
elif [ -n "$GENOME_MISSION" ]; then
  echo "WARNING: Partial genome (MISSION.md exists but VALUES.md missing) — specs may lack value alignment"
else
  echo "No genome (specs may lack organizational context)"
fi

Read the full file on GitHub · 243 lines

Files

What ships with it

1 file 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. 11d ago First seen · 243 lines · 190 tokens per session scan B ec54c66c72c1

Subscribe to this mod's changes

specification-writer is a skill published in the GitHub repository synaptiai/synapti-marketplace (6 stars, last pushed today), licensed Apache-2.0. It adds 190 tokens to every session and 2,374 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.