spec-writer

spec-writer is an agent for Claude Code from Habitat-Thinking/ai-literacy-superpowers. It costs 38 tokens per session (548 once invoked), scanned A, original, no licence file.

A specification-writing helper that records a feature, behaviour change, or improvement before coding begins.

In plain words
What is it for?
Use it to update the project's specification and plan files for a new feature, change, or improvement.
Why use it?
It keeps projects that follow a spec-first process from starting implementation without an agreed description and plan.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-literacy-superpowers plugin — 41 skills, 32 commands, 20 agents, 3 hooks shipped together

Good fit Use it to update the project's specification and plan files for a new feature, change, or improvement.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/habitat-thinking/ai-literacy-superpowers/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/Habitat-Thinking/ai-literacy-superpowers

Made for: Claude Code.

Or install ai-literacy-superpowers, the plugin that ships this one along with the rest of its 41 skills, 32 commands, 20 agents, 3 hooks.

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/habitat-thinking/ai-literacy-superpowers/spec-writer/github.svg)](https://agentmods.dev/agents/habitat-thinking/ai-literacy-superpowers/spec-writer)
Your own site
<a href="https://agentmods.dev/agents/habitat-thinking/ai-literacy-superpowers/spec-writer"><img src="https://agentmods.dev/badge/agents/habitat-thinking/ai-literacy-superpowers/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/habitat-thinking/ai-literacy-superpowers/spec-writer"><img src="https://agentmods.dev/badge/agents/habitat-thinking/ai-literacy-superpowers/spec-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 548 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 unknown 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.00038 $0.00548
Opus 5 $0.00019 $0.00274
Sonnet 5 $0.00008 $0.00110
Haiku 4.5 $0.00004 $0.00055

Measured 10d ago against content hash 2e315c71c993, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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.

ai-literacy-superpowers/agents/spec-writer.agent.md · 64 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 10d ago First seen · 64 lines · 38 tokens per session scan A 2e315c71c993

Subscribe to this mod's changes

spec-writer is an agent published in the GitHub repository Habitat-Thinking/ai-literacy-superpowers (102 stars, last pushed 15d ago), with no licence file. It adds 38 tokens to every session and 548 once invoked, about $0.0002 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-08-30.

Related

Other agents, from other repositories

arbiter

Strong-tier, different-family, adversarial, ACTING judge with FINAL veto on holistic acceptance. Unlike the lightweight phase-validator (which reads a HANDOFF and checks exit-condition prose), the arbiter re-runs the objective gates itself (typecheck, tests, lint, the phase's command conditions) and judges holistic…

SethGammon/Citadel · 132 tokens

phase-validator

Lightweight handoff validator. Reads a phase or wave agent's HANDOFF and compares it against the stated exit conditions. Returns a structured verdict (pass/fail) with specific reasons. Never modifies files — read-only judge. Spawned by Archon after each phase and by Fleet after each wave agent.

SethGammon/Citadel · 64 tokens

arch-reviewer

Read-only architecture reviewer. Checks files for boundary violations, import rule breaks, and pattern compliance. Does not modify files.

SethGammon/Citadel · 28 tokens

red-team-agent

Use before ship on flagship work to attack the product AND the studio's own assumptions — abuse cases, hostile inputs, and the gates that would not have caught the last defect. Conditional role. Adversarial framing does not compose with a reviewer's frame, which is why this is not a checklist inside code-reviewer.

vmobifystudio/app-dev-team · 68 tokens

engineer

Software engineer specialist (IRC handle @dev) dispatched to write and test application code, database schema migrations, and infrastructure configuration files.

NexaDuo/mARC · 30 tokens

review

Correctness/quality review specialist (IRC handle @rev) dispatched to audit pull requests and branch diffs for bugs, regressions, and maintainability issues before code merges, alongside @sec's security pass.

NexaDuo/mARC · 48 tokens