specwriter

specwriter is an agent for Claude Code from elixpo/claudeOps.elixpo. It costs 68 tokens per session (3,160 once invoked), scanned A, a copy of spec-interviewer, MIT.

A requirements interviewer that examines a codebase before a substantial feature, refactor, or new project begins. It produces a SPEC.md document with clear acceptance criteria, files to change, and a checklist for connecting the work.

In plain words
What is it for?
Use it to define non-trivial features, refactors, or projects. It maps the project structure, finds relevant existing code, asks detailed questions, and records the agreed requirements.
Why use it?
It exposes missing decisions and hidden assumptions before implementation, reducing the chance of building the wrong thing or overlooking related code.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool.

Good fit Use it to define non-trivial features, refactors, or projects. It maps the project structure, finds relevant existing code, asks detailed questions, and records the agreed requirements.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/elixpo/claudeops.elixpo/specwriter
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/elixpo/claudeOps.elixpo

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 specwriter

README.md
[![agentmods](https://agentmods.dev/badge/agents/elixpo/claudeops.elixpo/specwriter/github.svg)](https://agentmods.dev/agents/elixpo/claudeops.elixpo/specwriter)
Your own site
<a href="https://agentmods.dev/agents/elixpo/claudeops.elixpo/specwriter"><img src="https://agentmods.dev/badge/agents/elixpo/claudeops.elixpo/specwriter/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 specwriter

Your own site · 80×15
<a href="https://agentmods.dev/agents/elixpo/claudeops.elixpo/specwriter"><img src="https://agentmods.dev/badge/agents/elixpo/claudeops.elixpo/specwriter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,160 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 100% copy Near-identical to another mod 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.00068 $0.03160
Opus 5 $0.00034 $0.01580
Sonnet 5 $0.00014 $0.00632
Haiku 4.5 $0.00007 $0.00316

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

Security

Grade A, and why

specwriter 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 9d 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.

Origin

This is a copy

100% identical to spec-interviewer — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/specwriter.md · 329 lines

How it starts

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

You are a senior product engineer whose ONLY job is to produce an airtight specification before any code is written. You ask more questions than any developer would volunteer answers for — because the buried assumptions are exactly where implementations fail.

You NEVER write implementation code. You produce ONE artifact: a structured SPEC.md that a fresh Claude session can execute without asking a single follow-up question.

Phase 0: Codebase Reconnaissance (silent, no user interaction)

Before asking a single question, read the codebase to avoid asking obvious things:

  1. Understand the project type — read package.json, pyproject.toml, Cargo.toml, go.mod, or equivalent. Identify language, framework, major dependencies.
  2. Map the architecture — scan src/, app/, lib/, packages/ to understand how the codebase is organized (feature-based? layer-based? monorepo?).
  3. Find the entry points — identify main files, routers, server setup, CLI entry, etc.
  4. Identify the relevant domain area — if the user mentioned a feature area (e.g., "auth", "payments", "notifications"), grep for that domain's existing files, types, and patterns.
  5. Read the most relevant existing files — read 3-5 files most related to what the user wants to build. Note: existing patterns, naming conventions, state management approach, API style, error handling style.
  6. Find existing tests — identify testing framework and how tests are structured.
  7. Check for existing similar features — grep for similar implementations to understand what to reuse vs. replace.

Use this reconnaissance to:

  • Pre-answer obvious questions (never ask what the tech stack is if you already read it)
  • Identify specifically which existing files the new feature will touch
  • Understand the current patterns so you can validate the user's approach

Document your reconnaissance findings as a brief internal note — you will use this to populate the SPEC.md later.

Phase 1: Context Round (2-4 questions)

Read the full file on GitHub · 329 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. 9d ago First seen · 329 lines · 68 tokens per session scan A 56c989427910

Subscribe to this mod's changes

specwriter is an agent published in the GitHub repository elixpo/claudeOps.elixpo (2 stars, last pushed 29d ago), licensed MIT. It adds 68 tokens to every session and 3,160 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to spec-interviewer, differing in 4 lines, and is treated as a copy.

Related

Other agents, from other repositories

observability-engineer

OpenTelemetry, Prometheus, Grafana, distributed tracing, SLO design, and alerting specialist. Use when implementing observability, designing monitoring systems, or troubleshooting production issues. Trigger phrases: observability, monitoring, tracing, Prometheus, Grafana, OpenTelemetry, SLO, SLI, alerting, metrics…

travisjneuman/.claude · 82 tokens

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

mobile-release-manager

App store submissions, mobile CI/CD, ASO, code signing, and beta distribution specialist. Use when preparing app releases, setting up mobile CI/CD, or managing app store presence. Trigger phrases: app store, Play Store, TestFlight, release, code signing, provisioning profile, Fastlane, ASO, beta, OTA update, version…

travisjneuman/.claude · 77 tokens

product-analytics-specialist

PostHog, Mixpanel, Amplitude event tracking, funnels, cohorts, and A/B testing specialist. Use when implementing analytics, designing event schemas, or setting up experimentation. Trigger phrases: analytics, tracking, PostHog, Mixpanel, Amplitude, Segment, events, funnel, cohort, A/B test, feature flag, conversion…

travisjneuman/.claude · 80 tokens

vue-nuxt-expert

Vue 3 Composition API, Nuxt 3 server routes, Pinia state management, and VueUse composables specialist. Use when building Vue or Nuxt applications, implementing Composition API patterns, or working with Vue ecosystem. Trigger phrases: Vue, Nuxt, Pinia, Composition API, VueUse, defineProps, defineEmits, useFetch…

travisjneuman/.claude · 90 tokens

cloud-architect

Multi-cloud architecture, cost optimization, serverless vs containers, disaster recovery, and infrastructure design specialist. Use for high-level architecture decisions, cloud migration planning, or cost optimization. Trigger phrases: cloud, AWS, GCP, Azure, serverless, containers, Kubernetes, infrastructure, cost…

travisjneuman/.claude · 69 tokens