sr:spec

sr:spec is a skill for Claude Code from huuanh20/awesome-ai-agent-skills. It costs 32 tokens per session (882 once invoked), scanned A, original, MIT.

A workflow step that turns a project brainstorm into a comprehensive software requirements specification. The specification organizes the system's overview, users, features, and other confirmed requirements.

In plain words
What is it for?
Use it when a brainstorm document exists and you need a detailed spec before creating the implementation plan.
Why use it?
It gives scattered answers from an early project discussion a consistent structure that can guide planning and development.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: names the AskUserQuestion tool; installed under .agents/ (shared by several agents).

Good fit Use it when a brainstorm document exists and you need a detailed spec before creating the implementation plan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huuanh20/awesome-ai-agent-skills/sr-spec
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 huuanh20/awesome-ai-agent-skills --skill sr-spec
Clone the repo
git clone --depth 1 https://github.com/huuanh20/awesome-ai-agent-skills

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 sr:spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/huuanh20/awesome-ai-agent-skills/sr-spec/github.svg)](https://agentmods.dev/skills/huuanh20/awesome-ai-agent-skills/sr-spec)
Your own site
<a href="https://agentmods.dev/skills/huuanh20/awesome-ai-agent-skills/sr-spec"><img src="https://agentmods.dev/badge/skills/huuanh20/awesome-ai-agent-skills/sr-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 sr:spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/huuanh20/awesome-ai-agent-skills/sr-spec"><img src="https://agentmods.dev/badge/skills/huuanh20/awesome-ai-agent-skills/sr-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 882 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.00032 $0.00882
Opus 5 $0.00016 $0.00441
Sonnet 5 $0.00006 $0.00176
Haiku 4.5 $0.00003 $0.00088

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

Security

Grade A, and why

sr: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 12d 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.

.agents/skills/sr-spec/SKILL.md · 123 lines

How it starts

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

sr:spec

Goal: turn the brainstorm output into a structured, comprehensive spec. No word limit — every section must be fully written.


Step 0 — Identify Project

Ask user for the project slug (or detect from context):

AskUserQuestion: "Which project to write spec for? (slug name or path to brainstorm.md)"

Read projects/{slug}/brainstorm.md. If it doesn't exist, tell the user to run /sr:brainstorm first.


Step 1 — Write spec.md

Write projects/{slug}/spec.md. No word limit. Every sub-section fully written.

§1 — Project Overview

  • System name (confirmed in brainstorm)
  • Problem statement (what problem does this solve?)
  • Solution summary (what does the system do, for whom, how)
  • Primary success metrics (how will we know it's working?)

§2 — Actors

One full entry per confirmed actor:

  • Name and role
  • Technical proficiency (non-technical | basic | intermediate | expert)
  • Domain knowledge level
  • Frequency and channel of use (web | mobile | API | all)
  • Accessibility needs (if any)
  • Data access scope (read | write | admin)

§3 — Features (IN Scope)

For each confirmed feature:

  • Feature name + cluster
  • Description in user's own words (verbatim from brainstorm)
  • AI-expanded detail (what sub-capabilities does this imply?)
  • Actors who use it
  • Priority tier: Essential | Conditional | Optional

§4 — OUT of Scope

Table: Feature | Reason excluded | Planned for version Every item from brainstorm OUT scope list.

§5 — Technical Constraints

  • Tech stack: languages, frameworks, runtime
  • Hosting / deployment model
  • Existing systems to integrate (name, protocol, direction)
  • Security standards (auth model, encryption requirements)
  • Compliance: applicable regulations + specific obligations

§6 — Business Rules

Numbered list. Each rule: precise, testable statement. Example: "BR-01: A user cannot place an order if their account balance is below the order total." Cover every rule surfaced in brainstorm Round 5.

§7 — NFR Baselines

Table format:

Read the full file on GitHub · 123 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. 12d ago First seen · 123 lines · 32 tokens per session scan A e60a2c5a60f1

Subscribe to this mod's changes

sr:spec is a skill published in the GitHub repository huuanh20/awesome-ai-agent-skills (1 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 882 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-31.

Related

Other skills, from other repositories

search

Search 2500+ curated ChatGPT and LLM open-source repositories. Use when the user asks to find tools, libraries, or repos related to ChatGPT, LLMs, RAG, agents, langchain, NLP, AI development, or any open-source AI tooling.

taishi-i/awesome-ChatGPT-repositories · 57 tokens

check-mcp-json

Safely review, triage, repair, and merge ToolSDK MCP Registry package JSON pull requests. Use when an agent needs to validate files under packages/, detect duplicate registry keys, classify community PRs, make authorized fixes on contributor branches, close invalid or duplicate PRs, or squash-merge approved PRs.

toolsdk-ai/toolsdk-mcp-registry · 68 tokens

vox-video-director

Turn ONE topic into a finished Vox-style paper-collage explainer / ad video, end to end with Aliyun Bailian CLI + local ffmpeg — script, collage keyframes, motion, voice-over, music, captions, all automated. Use this whenever the user wants a "Vox style" video, a paper/torn-paper collage animation, a "motion collage"…

modelstudioai/skills · 238 tokens

bailian-train-deploy

A workflow for using Alibaba Cloud’s Bailian command-line tool to fine-tune or directly deploy AI models as callable services. It covers text, speech-synthesis, image-generation, and video-generation models.

modelstudioai/skills · 321 tokens

spark-video-cast

Scaffold and generate reference assets for characters (cast), locations (movie-set / set dressing), and key props — the three pillars of visual consistency in spark-video. Wraps bl image generate / edit for portrait creation. Use when adding new characters/locations/props or when costume/state changes are needed.

modelstudioai/skills · 66 tokens

spark-video-screenwriter

Turn a user's premise into a structured screenplay (one scene at a time) for the spark-video pipeline. Wraps Shanyin Super Screenwriting Master when available — that upstream Shanyin SKILL is the single source of truth for craft when present.

modelstudioai/skills · 56 tokens