spec-generate

spec-generate is a skill for Claude Code, Codex from djblack1209-coder/OpenClaw-Bot. It costs 46 tokens per session (4,166 once invoked), scanned A, original, Apache-2.0.

A guided document-building process for creating product requirement documents (PRDs), which describe what a product or feature should do. It produces full or lightweight specifications and can include Mermaid flowcharts showing user interactions.

In plain words
What is it for?
Use it to plan products or features, write user stories and flows, define goals and success measures, and document requirements in English Markdown.
Why use it?
It helps turn an idea into clear, structured, testable requirements before development begins.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/djblack1209-coder/openclaw-bot/spec-generate
Any agent
npx skills add djblack1209-coder/OpenClaw-Bot --skill spec-generate
Clone the repo
git clone --depth 1 https://github.com/djblack1209-coder/OpenClaw-Bot

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/djblack1209-coder/openclaw-bot/spec-generate.svg)](https://agentmods.dev/skills/djblack1209-coder/openclaw-bot/spec-generate)
Your own site
<a href="https://agentmods.dev/skills/djblack1209-coder/openclaw-bot/spec-generate"><img src="https://agentmods.dev/badge/skills/djblack1209-coder/openclaw-bot/spec-generate.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,166 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00046 $0.04166
Opus 5 $0.00023 $0.02083
Sonnet 5 $0.00009 $0.00833
Haiku 4.5 $0.00005 $0.00417

Measured 4d ago against content hash 554c3eec8d48, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

spec-generate 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 4d 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.

apps/openclaw/skills/spec-generate/SKILL.md · 513 lines

How it starts

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

PM Product Spec Builder

Role

You are a Product Spec Builder that helps PMs across Microsoft (or other teams) generate clear, structured, testable PRDs. You guide users through a step-by-step process to create comprehensive product specifications.

IMPORTANT: DO NOT CODE! This is a document generation and planning task.

Overview

This skill helps PMs systematically create product specifications through a guided workflow. It supports both full specs (with telemetry, experiments, evals, roadmap, GTM) and lightweight specs (stopping at user flows). It also generates visual flowcharts using Mermaid diagrams to help visualize user interactions and system behaviors.

When to Use This Skill

Use this skill when the user mentions:

  • Creating a product spec or PRD
  • Writing feature specifications
  • Documenting product requirements
  • Planning a new feature or product
  • Creating user stories and scenarios
  • Defining product goals and success metrics

Global Rules

  1. Language: Output everything in English Markdown, even when input is in another language
  2. Clarification First: Before writing, always clarify:
    • Which product/team this spec is for
    • Which platform(s) are in scope (Desktop / Mobile / iPad / Cross-platform)
    • Never assume - always ask
  3. Confirmation Required: Always confirm with user before moving to next step
  4. Data Accuracy: When searching for competitor or market information, use tools to obtain real-time data. Do not fabricate details
  5. Incremental Document Saving: Create and save the spec document immediately after Step 0, then update it after EACH step completion. Never wait until the end to save - this prevents content loss in context windows. The document should be continuously updated as content is generated.

Workflow Process

Step 0 - Initialize (Context Intake)

Ask the PM to provide:

  1. Product / team name
  2. Feature name
  3. Brief description (what it does)
  4. Motivation / why now
  5. Target users & pain points
  6. Platform scope (Desktop / Mobile / iPad / Cross-platform)
  7. Key success metrics (engagement, retention, UX quality, etc.)
  8. Special focus areas (performance, privacy, AI, etc.)

Read the full file on GitHub · 513 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. 4d ago First seen · 513 lines · 46 tokens per session scan A 554c3eec8d48

Subscribe to this mod's changes

spec-generate is a skill published in the GitHub repository djblack1209-coder/OpenClaw-Bot (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 46 tokens to every session and 4,166 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

transcribe-filing

Transcribe an insurance rate filing or internal rating manual into an OpenRater workbook, then validate, build, verify, and rate it through the OpenRater MCP tools. Use when the user shares a filing/manual (PDF or pages) and wants it executable — "build this filing", "digitize this rating manual", "make this rateable"…

vadim-filimonov/openrater · 102 tokens

metrics-instrumentation

Specification for instrumenting an opik-backend workflow with operational OpenTelemetry metrics — per-stage throughput/latency/error counters and native histograms, dimensioned per-customer (workspace). Use when a pipeline (scoring, ingestion, experiments, jobs) needs per-stage visibility. Covers metric emission only…

comet-ml/opik · 93 tokens

notifications

Send notifications through the unified notification router.

vellum-ai/vellum-assistant · 9 tokens

telegram-setup

Connect a Telegram bot to the Vellum Assistant gateway with automated webhook registration and credential storage.

vellum-ai/vellum-assistant · 22 tokens

chat-complex-documents

Chat with and search your complex documents — ask questions, extract tables and fields, and get answers grounded in the source. Connects the hosted Unstructured Transform MCP server to parse, structure, and enrich PDFs, Word/Excel/PowerPoint, images, scanned files, emails, and 60+ other formats into clean, AI-ready…

vellum-ai/vellum-assistant · 90 tokens

prompt-engineer

Prompt engineering expert for chain-of-thought, few-shot learning, evaluation, and LLM optimization.

RightNow-AI/openfang · 23 tokens