write-human-spec

write-human-spec is a command for Claude Code from reggiechan74/cc-plugins. It costs 14 tokens per session (1,055 once invoked), scanned A, original, MIT.

A command that writes a human-readable specification in Structured English Specification Format (SESF) version 4.1. It uses labeled behavior, procedure, rule, and step blocks so engineers, product managers, and domain experts can review and edit the document.

In plain words
What is it for?
Use it to document a system or process with explicit steps, conditions, rules, and explanations of why those rules exist.
Why use it?
It makes the structure and reasons behind rules easier for people to scan and maintain. It is intended for human readers rather than AI execution.

Command for Claude Code

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

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the structured-english plugin — 2 skills, 8 commands shipped together

Good fit Use it to document a system or process with explicit steps, conditions, rules, and explanations of why those rules exist.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add reggiechan74/cc-plugins
Claude Code
/plugin install structured-english

Made for: Claude Code.

Or install structured-english, the plugin that ships this one along with the rest of its 2 skills, 8 commands.

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 write-human-spec

README.md
[![agentmods](https://agentmods.dev/badge/commands/reggiechan74/cc-plugins/write-human-spec/github.svg)](https://agentmods.dev/commands/reggiechan74/cc-plugins/write-human-spec)
Your own site
<a href="https://agentmods.dev/commands/reggiechan74/cc-plugins/write-human-spec"><img src="https://agentmods.dev/badge/commands/reggiechan74/cc-plugins/write-human-spec/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 write-human-spec

Your own site · 80×15
<a href="https://agentmods.dev/commands/reggiechan74/cc-plugins/write-human-spec"><img src="https://agentmods.dev/badge/commands/reggiechan74/cc-plugins/write-human-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,055 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.00014 $0.01055
Opus 5.5 $0.00006 $0.00422
Sonnet 5.5 $0.00003 $0.00211
Haiku 4.5 $0.00001 $0.00105

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

Security

Grade A, and why

write-human-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 1mo 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.

structured-english/commands/write-human-spec.md · 88 lines

How it starts

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

Write a Human-Facing Specification

Generate a complete SESF v4.1 specification optimized for human readers and maintainers. The output uses formal BEHAVIOR/PROCEDURE/RULE/STEP blocks that provide visual scaffolding humans can scan, review, and modify. Includes rationale annotations explaining why rules exist.

Audience

The primary reader of this spec is a human — an engineer, product manager, or domain expert who needs to understand, review, or modify the spec. Optimize for:

  • Comprehension — formal blocks categorize concerns visually; rationale annotations explain the why
  • Scannability — BEHAVIOR/PROCEDURE blocks create chapters; WHEN/THEN creates alignment points the eye locks onto
  • Maintainability — explicit structure makes it obvious where to add, modify, or remove rules

Workflow

Step 1: Load the Skill and Authoring Guide

Use the sesf skill — it contains all the rules, formats, and validation requirements for SESF v4.1. Read it fully before proceeding. Also read:

  • The format reference at ${CLAUDE_PLUGIN_ROOT}/skills/sesf/assets/reference.md
  • The authoring guide at ${CLAUDE_PLUGIN_ROOT}/skills/sesf/assets/authoring-guide.md — this walks through the thinking process

Step 2: Gather Requirements

Walk the user through the thinking process from the authoring guide:

  1. Domain: "What system or process should this specification define?"
  2. Behaviors: "What are the rules? What conditions produce different outcomes?" (These become **BEHAVIOR** blocks)
  3. Procedures: "What are the ordered steps? What's the overall workflow?" (These become **PROCEDURE** blocks)
  4. Decision points: "Where does the logic branch? How many branches per decision?" (2 branches → WHEN/THEN, 3+ → @route)
  5. Complexity: "How many distinct concerns does this involve?" (helps determine tier)

Step 3: Select Tier

Based on the requirements, select the appropriate tier:

  • Micro (20-80 lines): Single concern, ≤5 rules. Single PROCEDURE block with STEPs.
  • Standard (80-200 lines): Multiple concerns. BEHAVIOR blocks + PROCEDURE blocks + @route tables.
  • Complex (200-400 lines): Many concerns with interactions. Multiple BEHAVIORs and PROCEDUREs, $variable threading, @config.

Read the full file on GitHub · 88 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. 1mo ago First seen · 88 lines · 14 tokens per session scan A 0a667ace297b

Subscribe to this mod's changes

write-human-spec is a command published in the GitHub repository reggiechan74/cc-plugins (7 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 1,055 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-11-01.

Related

write-human-spec compared with commands from other repositories

write-human-spec next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-human-specreggiechan74/cc-pluginsCommand71mo agoMITA14Claude Code
checklistgithub/spec-kitCommand154ktodayMITA13Claude Code
clarifygithub/spec-kitCommand154ktodayMITA27Claude Code
specifygithub/spec-kitCommand154ktodayMITA13Claude Code
analyzegithub/spec-kitCommand154ktodayMITA26Claude Code
convergegithub/spec-kitCommand154ktodayMITA35Claude Code
implementgithub/spec-kitCommand154ktodayMITA14Claude Code