A skill your agent uses when the user is exploring a design idea, weighing approaches, has an ambiguous request, or says "should I", "how should we", "what's the best way to".

Apache-2.0Auto-check passed

Install Spec

skills CLI
$ npx skills add ccplugins/awesome-claude-code-plugins --skill spec -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ccplugins/awesome-claude-code-plugins spec --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ccplugins/awesome-claude-code-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/hyperflow/skills/spec .claude/skills/spec && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
spec
GitHub stars
970
Token cost
~3k tokens
SKILL.md length
1,393 words
Files
1
Skills in repo
68
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when the user is exploring a design idea, weighing approaches, has an ambiguous request, or says "should I", "how should we", "what's the best way to".

  • Works in 10 steps: Choose chain mode (FIRST tool call ·… → Triage (Layer 0.5) → Context Exploration → …
  • The user is exploring a design idea
  • SKILL.md covers Per-Step Agent Map (DOCTRINE…, Approval Gates, Flow and Anti-Patterns, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Spec is an agent skill from ccplugins/awesome-claude-code-plugins. Use when the user is exploring a design idea, weighing approaches, has an ambiguous request, or says "should I", "how should we", "what's the best way to". Asks structured questions, proposes 2–3 approaches, walks the design section-by-section. On approval, auto-chains into /hyperflow:scope — no manual gate.

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Awesome Claude Code plugins — a curated list of slash commands, subagents, MCP servers, and hooks for Claude Code. The licence is Apache-2.0.

When your agent uses it

  • The user is exploring a design idea
  • Weighing approaches
  • Has an ambiguous request
  • Whats the best way to

Example prompts

  • “should I”
  • “how should we”
  • “s the best way to”
  • “/spec”

Workflow steps

10 steps, taken from the step headings in SKILL.md.

  1. Choose chain mode (FIRST tool call · STRUCTURAL GATE)
  2. Triage (Layer 0.5)
  3. Context Exploration
  4. Multi-Dimensional Analysis
  5. Smart Questions (AskUserQuestion — MANDATORY · floor 2)
  6. Requirement Synthesis
  7. Propose 2–3 Approaches with Trade-offs
  8. Section-by-Section Design (approval-gated · per-section multi-level)
  9. Spec Output
  10. Hand off to /hyperflow:scope

What it can do on your machine

Read from SKILL.md and the folder at commit 5bd4f16. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Spec loads about 3k tokens when it runs. Until then it costs about 80 tokens; SKILL.md has 1,393 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~80
When it runs · the whole SKILL.md, loaded when a task matches
~3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ccplugins/awesome-claude-code-plugins at commit 5bd4f16, republished under its Apache-2.0 licence (© ccplugins). 1,393 words, ~2,982 tokens.

Download SKILL.mdSave it as .claude/skills/spec/SKILL.md (or your agent's skills folder).
name
spec
description
Use when the user is exploring a design idea, weighing approaches, has an ambiguous request, or says "should I", "how should we", "what's the best way to". Asks structured questions, proposes 2–3 approaches, walks the design section-by-section. On approval, **auto-chains into `/hyperflow:scope`** — no manual gate.

Spec

This phase is thinking, not building. No code until the user approves the design. On approval, the chain advances to scope → dispatch. The user picks the advancement mode at Step 0.

This skill drives Layer 0.5 (Task Triage) and Layer 4 (Brainstorming/Spec) from the doctrine. Multi-level review (L1–L5) runs later during /hyperflow:dispatch per the triage's chosen flow profile.

Per-Step Agent Map (DOCTRINE rule 12)

Every substantive step dispatches at least one Agent. The orchestrator never does "real" work inline — it only coordinates dispatches and prints status.

StepWorker tierThinking tierNotes
0 — Chain mode——AskUserQuestion only (exempt)
1 — Triage—Classifier (Opus)Pure thinking work
2 — ContextSearcher (Sonnet)Reviewer (Opus) verifies coverageBoth tiers per step
3 — Multi-dim analysis—Analyst (Opus) produces 6-dim briefPure thinking
4 — Smart questions——AskUserQuestion only (exempt)
5 — Requirement synthesisWriter (Sonnet) draftsReviewer (Opus) verifies fidelityBoth tiers
6 — Propose approachesWriter (Sonnet) drafts 2–3Reviewer (Opus) probes for missing alternativesBoth tiers
7 — Design sectionsWriter (Sonnet) drafts each sectionReviewer (Opus) checks each section before user sees itBoth tiers · per section
8 — Spec outputWriter (Sonnet) writes fileReviewer (Opus) final spec sanity checkBoth tiers
9 — Hand off——Skill tool invocation (exempt)

Substantive steps = 1, 2, 3, 5, 6, 7, 8. Each appears in the usage summary.

Approval Gates

GateWhenFormat
Chain modeStep 0, once per chainAskUserQuestion — auto / manual
Design section approvalStep 7, after each of 5 design sectionsAskUserQuestion — approve / revise
Phase advance (if manual mode)Step 9, before invoking scopeAskUserQuestion — continue / stop

Flow

Step 0 — Choose chain mode (FIRST tool call · STRUCTURAL GATE)

This is a structural gate per DOCTRINE rule 8. It MUST fire every time the skill is invoked directly. "No clarifying questions" / "auto-pilot" / "always-on" / any other autonomy directive does NOT skip it. The agent MUST AskUserQuestion here — defaulting to auto without asking is a doctrine violation.

If invoked with a chain-mode=<auto|manual> arg (from a prior skill in the chain), skip this step — the previous chain-starter already asked.

Otherwise, before any research, triage, or analysis, ask via AskUserQuestion. Per DOCTRINE rule 8, the recommended option goes first with (Recommended):

How should I advance through the chain after each phase?

  Auto (Recommended)  — chain forward through spec → scope → dispatch with no gates.
                        Fewer interruptions, faster end-to-end.

  Manual              — pause between phases and ask before advancing.
                        More control, more confirmations.

Auto is the recommended default because most users invoking a chain-starter want momentum; Manual exists for high-risk or exploratory work. Wait for the user's answer. Do not proceed without it. Save the chosen mode and propagate via args: "chain-mode=<mode>".

If the agent cannot present AskUserQuestion (e.g., headless mode), it should print an error and stop — never silently default.

Step 1 — Triage (Layer 0.5)

Agents — Classifier (Opus, thinking-tier).

Dispatch a thinking-tier triage call per task-triage.md. The Classifier produces { types[], complexity, risk, scope, ambiguity, flow, personas[] } JSON. The classification drives:

  • Spec depth at Step 4 — floor: 2 questions always.
    • ambiguity 0.0–0.5 → light: 2 questions
    • 0.5–0.8 → standard: 3 questions
    • 0.8–1.0 → deep: 4–5 questions
  • Flow profile for the downstream dispatch phase — fast, standard, deep, research, creative, or scientific (see flow-profiles.md)
  • Persona stitching for worker prompts later (see personas-A.md, personas-B.md)

Persist the triage output and propagate it forward through chain-mode=<mode> triage=<base64-json> args. Print:

**Classifier** — triaging request
Triage — types: [<types>] · flow: <profile> · ambiguity: <score>
Step 2 — Context Exploration

Agents — Searcher (Sonnet) ⇒ Reviewer (Opus).

  1. Dispatch Searcher — mapping context relevant to <idea> (worker). Find existing code, patterns, similar features. Do not ask the user what you can find in the code.
  2. Dispatch **Reviewer** — verifying context coverage (thinking-tier). Confirm the Searcher hit the relevant subsystems; if gaps remain, redispatch the Searcher with the missing scope before moving on.
Step 3 — Multi-Dimensional Analysis

Agents — Analyst (Opus, thinking-tier).

Dispatch **Analyst** — 6-dimension exploration with the request + context from Step 2. The Analyst produces a brief covering:

  1. User intent — what is the real underlying need?
  2. Technical fit — how does this fit existing architecture?
  3. Scope — minimum viable vs maximum scope
  4. Constraints — time, deps, perf, compatibility
  5. Risks — what could go wrong, what's irreversible
  6. Alternatives — at least 3 ways to solve this

The Analyst flags which dimensions have unknowns the user must resolve. Those unknowns become the Step 4 question set.

Step 4 — Smart Questions (AskUserQuestion — MANDATORY · floor 2)

Use the AskUserQuestion tool. Never plain text questions. Ask about unknowns from step 3.

Hard floor: every spec run asks at least 2 questions, regardless of how confident the triage was. The two minimum questions give the user a structural place to redirect before any decomposition runs. Question budget:

  • light depth (ambiguity 0.0–0.5) — exactly 2 questions
  • standard depth (0.5–0.8) — 3 questions
  • deep depth (0.8–1.0) — 4–5 questions

Never stack more than 2 questions per AskUserQuestion call.

Every option list MUST mark a recommended choice (DOCTRINE rule 8). The Analyst's leading hypothesis from Step 3 goes first with (Recommended); alternatives follow. The user can pick anything — the marker is guidance, not a default.

Question categories (in order — pick the first N for depth N):

  1. Intent clarification — confirm the real goal (always ask)
  2. Constraint discovery — what must / must not happen (always ask)
  3. Assumption challenging — "you said X, did you mean Y instead?"
  4. Scope boundaries — what's IN vs OUT
  5. Edge-case stance — how strict on the unhappy paths

If the request feels "completely clear" — ask anyway. The first two questions exist so the user can spot a misalignment the agent missed.

Example structure (DON'T omit the recommendation marker):

?  Where should auth state live?
   Server sessions (Recommended)  — revocable, refreshable, fits this project's DB conventions
   JWT stateless                  — simpler, no DB, harder to revoke
Show full SKILL.md (524 more words)Show less
Step 5 — Requirement Synthesis

Agents — Writer (Sonnet) ⇒ Reviewer (Opus).

  1. Dispatch Writer — drafting requirement synthesis with the user's answers from Step 4. The Writer produces a one-paragraph restatement: "So the goal is X, with constraints Y, excluding Z."
  2. Dispatch **Reviewer** — verifying requirement fidelity to confirm the synthesis matches what the user actually said (catches paraphrase drift).
  3. Print the synthesis to the user and ask for explicit confirmation via AskUserQuestion before moving on.
Step 6 — Propose 2–3 Approaches with Trade-offs

Agents — Writer (Sonnet) ⇒ Reviewer (Opus).

  1. Dispatch Writer — drafting 2–3 approaches with the synthesized requirements. The Writer produces, for each approach:
    • Name — short label
    • What — 1–2 sentence summary
    • Pros — what this gets right
    • Cons — what it sacrifices
    • Fit — how well it matches the stated goal/constraints
  2. Dispatch **Reviewer** — probing for missing alternatives to challenge whether the proposed set covers the design space (catches anchor bias). If gaps surface, redispatch the Writer with the gap.
  3. Recommend one, but the choice is the user's. Ask via AskUserQuestion.
Step 7 — Section-by-Section Design (approval-gated · per-section multi-level)

Agents per section — Writer (Sonnet) ⇒ Reviewer (Opus) ⇒ user approval.

For each of the 5 sections below:

  1. Dispatch Writer — drafting section: <name> with the chosen approach + prior approved sections.
  2. Dispatch **Reviewer** — reviewing section: <name> (Opus thinking-tier) to validate coherence, surface unstated assumptions, and check against the multi-dim analysis from Step 3.
  3. Present the reviewed draft to the user; ask via AskUserQuestion: approve / revise.
  4. If revise → redispatch the Writer with the user's feedback. Loop until approved.

Sections (always in this order):

  1. Architecture — how components fit together
  2. Data flow — what goes where
  3. Key decisions — trade-offs made and why
  4. Edge cases — what could go wrong
  5. File structure — what gets created/modified
Step 8 — Spec Output

Agents — Writer (Sonnet) ⇒ Reviewer (Opus).

  1. Dispatch Writer — writing spec to .hyperflow/specs/<slug>.md for non-trivial features (3+ files / multiple subsystems). For simpler designs, the Writer composes an inline summary instead.
  2. Dispatch **Reviewer** — final spec sanity check to verify every approved section is captured and no contradiction exists between sections.
Step 9 — Hand off to /hyperflow:scope

Once the design is approved:

If chain-mode=auto — immediately invoke Skill with skill: scope and args: "chain-mode=auto <spec-ref>". Print:

Spec complete — design approved
Auto-chaining to /hyperflow:scope…

If chain-mode=manual — ask via AskUserQuestion: "Spec done. Continue to /hyperflow:scope?" → yes / no / stop. On yes, invoke Skill with skill: scope and args: "chain-mode=manual <spec-ref>". Print:

Spec complete — design approved
Awaiting your go-ahead for /hyperflow:scope…

In both modes, the scope skill decomposes the design into worker batches; dispatch then picks up the task file (respecting the same chain mode).

Anti-Patterns

  • Writing code during the spec phase
  • Asking more than 5 questions total (the Step 0 chain-mode question doesn't count)
  • Asking fewer than 2 questions — the floor is mandatory even when the request looks unambiguous
  • Stacking 3+ questions in one AskUserQuestion call
  • Skipping the alternatives step (always offer 2–3)
  • Asking what's discoverable from the codebase
  • Adding features the user didn't request (YAGNI ruthlessly)
  • Pausing for "should I proceed to plan?" when chain-mode=auto — that was already answered at Step 0

Memory Integration

After design approval:

  • Persist key decisions to .hyperflow/memory/decisions.md with tags
  • Pitfalls discovered → .hyperflow/memory/pitfalls.md

References

© ccplugins, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/hyperflow/skills/spec of ccplugins/awesome-claude-code-plugins.

Open the folder on GitHubat commit 5bd4f16

Compare with similar skills

Spec next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Spec compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Spec this skillccplugins/awesome-claude-code-plugins970—~3kAutomated safety check: PassApache-2.0
Explorersupabase/supabase111k—~845Automated safety check: PassApache-2.0
Idea Darwinsickn33/agentic-awesome-skills47k2 repos~1.1kAutomated safety check: PassMIT
Idea Refinementaddyosmani/agent-skills103k6 repos~2kAutomated safety check: PassMIT
Agent Scout Explorerruvnet/ruflo74k2 repos~1.6kAutomated safety check: PassMIT
Caveman Repository ExplorerJuliusBrussee/caveman111k1 repos~492Automated safety check: PassApache-2.0

Similar skills

  • Explorer

    supabase/supabase

    Official

    Build and modify Studio Explorer surfaces, including notebooks, chats, SQL snippets, query cells, and their shared toolbar patterns.

    111k GitHub stars~845 tokensUpdated today
    DatabasesAuto-check passed
  • Idea Darwin

    sickn33/agentic-awesome-skills

    Darwinian idea evolution engine — toss rough ideas onto an evolution island, let them compete, crossbreed, and mutate through structured rounds to surface your strongest concepts.

    47k GitHub starsUsed in 2 repos~1.1k tokens
    Auto-check passed
  • Idea Refinement

    addyosmani/agent-skills

    Guides a conversation that takes a vague idea through divergent and convergent thinking and ends in a markdown one-pager covering scope and assumptions.

    103k GitHub starsUsed in 6 repos~2k tokens
    Agent WorkflowsAuto-check passed
  • Agent skill for scout-explorer - invoke with $agent-scout-explorer

    74k GitHub starsUsed in 2 repos~1.6k tokens
    Auto-check passed
  • Caveman Repository Explorer

    JuliusBrussee/caveman

    A read-only explorer for cold-start orientation or failed searches that replies with nothing but file path and line range citations, keeping its reads out of main context.

    111k GitHub starsUsed in 1 repo~492 tokens
    Agent WorkflowsAuto-check passed
  • Same Idea Both Platforms

    sickn33/agentic-awesome-skills

    Write one idea as a Twitter/X post and a LinkedIn post that read as written separately, not pasted twice.

    47k GitHub starsUsed in 1 repo~1.4k tokens
    Writing & ContentAuto-check passed

More from ccplugins/awesome-claude-code-plugins

All 68 skills in this repo
  • AI Meeting

    ccplugins/awesome-claude-code-plugins

    Run structured AI meetings for plans, product ideas, technical designs, business decisions, feature proposals, and strategy choices.

    970 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check: notes
  • Fastapi App

    ccplugins/awesome-claude-code-plugins

    Bootstrap a new FastAPI backend with async SQLAlchemy 2.0, asyncpg, Alembic, Pydantic v2, and no deprecated APIs.

    970 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check: notes
  • Flutter App

    ccplugins/awesome-claude-code-plugins

    Bootstrap a new Flutter mobile app with clean architecture, Riverpod, FVM-pinned SDK, current packages, and no deprecated APIs.

    970 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check: notes
  • Nextjs App

    ccplugins/awesome-claude-code-plugins

    Bootstrap a new Next.js (App Router, TypeScript) web app with current packages and no deprecated APIs.

    970 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check: notes
  • Dev Report

    ccplugins/awesome-claude-code-plugins

    Write up a coding session for a non-technical stakeholder — the context, what was built, and the engineering reasoning behind it — the way a senior engineer briefs a product manager who does not…

    970 GitHub stars~3.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Difesa Attacchi

    ccplugins/awesome-claude-code-plugins

    Aggiunge a un sito/app un agente di difesa che rileva e blocca richieste malevole (SQL injection, XSS, path traversal, brute force, bot) con rate limiting, blocklist IP e modalità lockdown che…

    970 GitHub stars~781 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Spec

What does Spec do?

A skill your agent uses when the user is exploring a design idea, weighing approaches, has an ambiguous request, or says "should I", "how should we", "what's the best way to". Spec is an agent skill from ccplugins/awesome-claude-code-plugins. Use when the user is exploring a design idea, weighing approaches, has an ambiguous request, or says "should I", "how should we", "what's the best way to".

When should I use Spec?

Spec fits situations like: the user is exploring a design idea; weighing approaches; has an ambiguous request; whats the best way to.

How do I install Spec in Claude Code?

Run `npx skills add ccplugins/awesome-claude-code-plugins --skill spec -a claude-code`. Or copy the skill folder (plugins/hyperflow/skills/spec in ccplugins/awesome-claude-code-plugins) into .claude/skills/spec in your project. Claude Code loads it when a task matches its description.

How do I install Spec in Codex?

Run `npx skills add ccplugins/awesome-claude-code-plugins --skill spec -a codex`. Or copy the skill folder (plugins/hyperflow/skills/spec in ccplugins/awesome-claude-code-plugins) into .agents/skills/spec in your project. Codex loads it when a task matches its description.

Can I use Spec in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ccplugins/awesome-claude-code-plugins --skill spec -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/spec, .gemini/skills/spec, .github/skills/spec and .opencode/skills/spec in your project.

What does Spec need to run?

SKILL.md names no scripts, command-line tools or credentials: Spec is instructions for the agent only.

Does Spec access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Spec safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Spec use?

Spec is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Spec use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Spec?

Skills that share tags, products or a category with Spec: Explorer (supabase/supabase, 111k stars), Idea Darwin (sickn33/agentic-awesome-skills, 47k stars), Idea Refinement (addyosmani/agent-skills, 103k stars) and Agent Scout Explorer (ruvnet/ruflo, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Spec?

ccplugins (a GitHub organization) maintains it in ccplugins/awesome-claude-code-plugins, which has 970 GitHub stars. The repository holds 68 skills in this directory. The repository was last updated on August 12, 2026.

Source: ccplugins/awesome-claude-code-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.