gen-spec

gen-spec is a skill for Claude Code from pe-menezes/vibeflow. It costs 74 tokens per session (1,570 once invoked), scanned A, original, MIT.

A skill that creates a technical specification from a product requirements document or a short feature description, using project-specific patterns from the .vibeflow folder.

In plain words
What is it for?
Writing objectives, scope, anti-scope, technical decisions, and three to seven binary Definition-of-Done checks.
Why use it?
It turns broad requirements into a bounded plan with testable completion checks and explicit exclusions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the vibeflow plugin — 10 skills, 1 agent shipped together

Good fit Writing objectives, scope, anti-scope, technical decisions, and three to seven binary Definition-of-Done checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pe-menezes/vibeflow/gen-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 pe-menezes/vibeflow --skill gen-spec
Clone the repo
git clone --depth 1 https://github.com/pe-menezes/vibeflow

Made for: Claude Code.

Or install vibeflow, the plugin that ships this one along with the rest of its 10 skills, 1 agent.

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 gen-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/pe-menezes/vibeflow/gen-spec.svg)](https://agentmods.dev/skills/pe-menezes/vibeflow/gen-spec)
Your own site
<a href="https://agentmods.dev/skills/pe-menezes/vibeflow/gen-spec"><img src="https://agentmods.dev/badge/skills/pe-menezes/vibeflow/gen-spec.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,570 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00074 $0.01570
Opus 5 $0.00037 $0.00785
Sonnet 5 $0.00015 $0.00314
Haiku 4.5 $0.00007 $0.00157

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

Security

Grade A, and why

gen-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 2d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • gen-spec — 88% identical, 0 lines differ
plugins/vibeflow/skills/gen-spec/SKILL.md · 132 lines

How it starts

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

Description and examples

What it does: Produces a technical spec in .vibeflow/specs/<slug>.md with objective, Definition of Done (3–7 binary checks), scope, anti-scope, technical decisions, and applicable patterns. Reads .vibeflow/ to ground the spec in your project. Can take a PRD path (from discover) or a short feature description.

Examples:

  • gen-spec .vibeflow/prds/login-flow.md — Generate spec from an existing PRD.
  • gen-spec adicionar endpoint POST /auth/login que retorna JWT — Generate spec from a one-line description (uses .vibeflow/ patterns).

Language

Detect the language of the user's current request or conversation. Write ALL output in that same language. Technical terms in English are acceptable regardless of the detected language. One heading is exempt: ## References stays literally in English in any output language — prompt-pack's propagation matches that exact heading.

Web Search Policy

Use WebSearch and WebFetch only when local context (.vibeflow/, codebase, git history) is insufficient — an unfamiliar framework or API. Local first.

Generate a complete spec for the feature in the user's current request.

Before writing the spec

  1. Read the input. A path to a .md inside .vibeflow/prds/ is a PRD: problem, audience, solution, scope, and anti-scope are already settled — your job is translating them into technical decisions, binary DoD checks, and applicable patterns. Anything else is a feature description.
  2. Load context from .vibeflow/, if it exists:
    • index.md — project context. Its Suggested budget: ≤ N line is this spec's budget; without it, ≤6 files.
    • conventions.md — the project's standards.
    • Patterns: read the ## Pattern Registry block in index.md (between <!-- vibeflow:patterns:start/end --> markers), cross-reference its tags and modules against the feature, and load the top 3–5 matches. With no registry, fall back to reading all pattern docs.

Read the full file on GitHub · 132 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. 2d ago Changed · -1 lines 9ba6a8a9ba97
  2. 8d ago First seen · 133 lines · 74 tokens per session scan A 3cdc08bd6724

Subscribe to this mod's changes

gen-spec is a skill published in the GitHub repository pe-menezes/vibeflow (29 stars, last pushed 2d ago), licensed MIT. It adds 74 tokens to every session and 1,570 once invoked, about $0.0004 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 skills, from other repositories

copilot-setup-audit

Audit repository Copilot customization setup. Use this skill to analyze existing configuration, identify missing files, check for best practices, and suggest improvements for agents, prompts, instructions, and skills.

trsdn/github-copilot-agent · 44 tokens

copilot-compatibility-checker

Check VS Code and GitHub Copilot feature compatibility. Use this skill when diagnosing why a feature isn't working, checking required settings, or verifying version requirements for experimental features.

trsdn/github-copilot-agent · 42 tokens

copilot-skill-builder

Create and maintain Agent Skills for VS Code and GitHub Copilot. Use this skill when setting up new skills, skill directories, or SKILL.md files. Helps scaffold project skills in .github/skills/ or personal skills in /.copilot/skills/.

trsdn/github-copilot-agent · 58 tokens

personetta-set-active

Switches the active Personetta persona via set-active. The target tool is auto-detected from the host agent (Claude Code here), so no --format is needed. Use when the user asks to change recipe, switch persona, or set active role.

EdwardAF-IT/Personetta · 56 tokens

personetta-current

Reports the active Personetta recipe id using the installed CLI. The host agent (Claude Code here) is auto-detected. Use when the user asks for their current persona, active recipe, or which Personetta role is on.

EdwardAF-IT/Personetta · 50 tokens

personetta-list

Lists Personetta recipes (and optionally roles) using the installed Personetta CLI. Use when the user asks what recipes or personas exist before switching.

EdwardAF-IT/Personetta · 33 tokens