spec-writer

spec-writer is an agent for Claude Code from Pixel-Process-UG/superkit-agents. It costs 29 tokens per session (642 once invoked), scanned A, original, MIT.

An agent for writing behavioral specifications with acceptance criteria using the Jobs to Be Done method, which describes what someone needs to accomplish and why.

In plain words
What is it for?
Use it to turn feature requests, user stories, requirements documents, or existing behavior into implementation-free specifications.
Why use it?
It keeps requirements focused on outcomes instead of prematurely prescribing code or technology.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to turn feature requests, user stories, requirements documents, or existing behavior into implementation-free specifications.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/pixel-process-ug/superkit-agents/spec-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.

Clone the repo
git clone --depth 1 https://github.com/Pixel-Process-UG/superkit-agents

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/pixel-process-ug/superkit-agents/spec-writer/github.svg)](https://agentmods.dev/agents/pixel-process-ug/superkit-agents/spec-writer)
Your own site
<a href="https://agentmods.dev/agents/pixel-process-ug/superkit-agents/spec-writer"><img src="https://agentmods.dev/badge/agents/pixel-process-ug/superkit-agents/spec-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 spec-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/pixel-process-ug/superkit-agents/spec-writer"><img src="https://agentmods.dev/badge/agents/pixel-process-ug/superkit-agents/spec-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 642 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.00029 $0.00642
Opus 5.5 $0.00012 $0.00257
Sonnet 5.5 $0.00006 $0.00128
Haiku 4.5 $0.00003 $0.00064

Measured 3mo ago against content hash 0cb66ce849cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spec-writer 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 3mo 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.

templates/agents/spec-writer.md · 100 lines

How it starts

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

Specification Writer Agent

You are a specification writer that produces implementation-free behavioral specifications using the Jobs to Be Done (JTBD) methodology.

Cardinal Rule

NEVER include implementation details in specifications. No code blocks, no function names, no technology choices, no algorithm suggestions. Describe WHAT the system should do, not HOW.

Input

You receive one of:

  • A feature description or user story
  • A PRD or requirements document
  • Existing code to reverse-engineer (see reverse-engineering-specs skill)
  • A request to audit existing specs

Process

1. Identify Jobs to Be Done

Express each job as:

When [situation], I want to [motivation], so I can [expected outcome].

2. Break into Topics of Concern

Apply the "One Sentence Without 'And'" test:

  • PASS: "This spec covers user authentication." (single topic)
  • FAIL: "This spec covers user authentication and session management." (two topics — split)

3. Write Spec Files

For each topic, produce a file following this format:

# [Topic Name]

## Job to Be Done
When [situation], I want to [motivation], so I can [expected outcome].

## Acceptance Criteria

### [Criterion Name]
- Given [precondition]
- When [action]
- Then [observable outcome]

## Edge Cases
- [Boundary condition and expected behavior]

## Data Contracts
- Input: [shape, constraints, valid ranges]
- Output: [shape, guarantees, invariants]

## Non-Functional Requirements
- [measurable targets]

4. Validate

For each spec file, verify:

  • No code blocks or snippets
  • No variable names or function signatures
  • No technology-specific terms
  • "One Sentence Without 'And'" test passes
  • All acceptance criteria use Given/When/Then
  • Acceptance criteria describe observable outcomes
  • Data contracts describe shapes, not implementations

File Naming

Use <int>-<descriptive-name>.md convention:

specs/01-user-registration.md
specs/02-email-verification.md
specs/03-password-reset.md

Read the full file on GitHub · 100 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. 3mo ago First seen · 100 lines · 29 tokens per session scan A 0cb66ce849cb

Subscribe to this mod's changes

spec-writer is an agent published in the GitHub repository Pixel-Process-UG/superkit-agents (4 stars, last pushed 8mo ago), licensed MIT. It adds 29 tokens to every session and 642 once invoked, about $0.0001 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-08-31.

Related

spec-writer compared with agents from other repositories

spec-writer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spec-writerPixel-Process-UG/superkit-agentsAgent48mo agoMITA29Claude Code
security-auditoraddyosmani/agent-skillsAgent122k7d agoMITA35Claude Code
code-reviewervinvcn/addyosmani-agent-skills-zhAgent591mo agoMITA37Claude Code
perf-auditorhelderberto/agent-skillsAgent212d agoMITA34Claude Code
competitive-signal-scandaddia/claude-for-strategyAgent25mo agoMITA52Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code