specification-authoring

specification-authoring is a skill for Claude Code, Codex from OKHP3/skillz. It costs 26 tokens per session (1,640 once invoked), scanned A, original, MIT.

A structured specification-writing workflow for defining a solution's requirements, interfaces, and acceptance criteria. Acceptance criteria are the conditions used to decide whether the work is complete.

In plain words
What is it for?
It helps create or revise solution specifications, record confirmed requirements and open questions, and connect changes to affected acceptance criteria.
Why use it?
It avoids inventing missing project facts and preserves the identity and history of an existing specification when making a bounded update.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps create or revise solution specifications, record confirmed requirements and open questions, and connect changes to affected acceptance criteria.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/okhp3/skillz/specification-authoring
View source ↗ OKHP3/skillz
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 OKHP3/skillz --skill specification-authoring
Clone the repo
git clone --depth 1 https://github.com/OKHP3/skillz

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/okhp3/skillz/specification-authoring"><img src="https://agentmods.dev/badge/skills/okhp3/skillz/specification-authoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,640 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.00026 $0.01640
Opus 5.5 $0.00010 $0.00656
Sonnet 5.5 $0.00005 $0.00328
Haiku 4.5 $0.00003 $0.00164

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

Security

Grade A, and why

specification-authoring 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 2mo 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.

community/specification-authoring/SKILL.md · 151 lines

How it starts

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

Specification Authoring

Select the mode from the request

  • Create: obtain the purpose, scope, source requirements, and repository destination. Create a new specification only after checking that an equivalent one does not already exist. Ask for missing purpose or requirements rather than inventing them.
  • Update: read the supplied existing specification and the requested change or code evidence first. Preserve its path, requirement IDs, date_created, ownership, and still-valid requirements. Apply a bounded revision, update last_updated and the version under the repository's convention, and summarize changed requirements and affected acceptance criteria. Do not rename an existing specification merely to match the create-mode convention.
  • If the request does not establish a mode or target, ask for that missing input before writing.

Read repository instructions and nearby specifications before either mode. Distinguish confirmed requirements from proposals and unresolved questions. Do not turn template examples into invented project facts.

The specification file must define the requirements, constraints, and interfaces for the solution components in a manner that is clear, unambiguous, and structured for effective use by Generative AIs. Follow established documentation standards and ensure the content is machine-readable and self-contained.

Best Practices for AI-Ready Specifications

  • Use precise, explicit, and unambiguous language.
  • Clearly distinguish between requirements, constraints, and recommendations.
  • Use structured formatting (headings, lists, tables) for easy parsing.
  • Avoid idioms, metaphors, or context-dependent references.
  • Define all acronyms and domain-specific terms.
  • Include examples and edge cases where applicable.
  • Ensure the document is self-contained and does not rely on external context.

In create mode, use the repository's existing specification convention; otherwise save under the repository-relative spec/ directory with this default naming convention: spec-[a-z0-9-]+.md, where the name should be descriptive of the specification's content and starting with the highlevel purpose, which is one of [schema, tool, data, infrastructure, process, architecture, or design].

Read the full file on GitHub · 151 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. 2mo ago First seen · 151 lines · 26 tokens per session scan A 7eda833158f6

Subscribe to this mod's changes

specification-authoring is a skill published in the GitHub repository OKHP3/skillz (4 stars, last pushed 3d ago), licensed MIT. It adds 26 tokens to every session and 1,640 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-09-20.

Related

specification-authoring compared with skills from other repositories

specification-authoring next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
specification-authoringOKHP3/skillzSkill43d agoMITA26Claude Code, Codex
vastai-sdkvast-ai/vast-cliSkill2334d agoMITA26Claude Code
diagram-designanbeime/skillSkill10kyesterdaynoneA211Claude Code
handraw-skillanbeime/skillSkill10kyesterdaynoneA73Codex
native-subtitle-quote-imageanbeime/skillSkill10kyesterdaynoneA167Codex
poetry-music-visualanbeime/skillSkill10kyesterdaynoneA83Claude Code, Codex
x-article-publisheranbeime/skillSkill10kyesterdaynoneA68Claude Code, Codex