write-product-spec

write-product-spec is a skill for Claude Code, Codex from PyModel/pythinker-cli. It costs 31 tokens per session (218 once invoked), scanned A, original, Apache-2.0.

A process for turning a feature request, issue, or bug report into a product specification. It defines the problem, goals, user-facing requirements, edge cases, and acceptance criteria.

In plain words
What is it for?
Use it to write user stories, define non-goals, describe expected behavior, set testable acceptance criteria, and identify rollout risks or open questions.
Why use it?
It makes unclear requests specific enough for a team to build and verify, while separating confirmed needs from assumptions.

Skill for Claude CodeCodex

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

Good fit Use it to write user stories, define non-goals, describe expected behavior, set testable acceptance criteria, and identify rollout risks or open questions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pymodel/pythinker-cli/write-product-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 PyModel/pythinker-cli --skill write-product-spec
Clone the repo
git clone --depth 1 https://github.com/PyModel/pythinker-cli

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 write-product-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/pymodel/pythinker-cli/write-product-spec/github.svg)](https://agentmods.dev/skills/pymodel/pythinker-cli/write-product-spec)
Your own site
<a href="https://agentmods.dev/skills/pymodel/pythinker-cli/write-product-spec"><img src="https://agentmods.dev/badge/skills/pymodel/pythinker-cli/write-product-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 write-product-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/pymodel/pythinker-cli/write-product-spec"><img src="https://agentmods.dev/badge/skills/pymodel/pythinker-cli/write-product-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 218 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.00031 $0.00218
Opus 5.5 $0.00012 $0.00087
Sonnet 5.5 $0.00006 $0.00044
Haiku 4.5 $0.00003 $0.00022

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

Security

Grade A, and why

write-product-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 1mo 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.

src/pythinker_code/skills/write-product-spec/SKILL.md · 39 lines

What it actually says

Write Product Spec

Use when the user asks for a product spec, feature brief, issue-to-spec conversion, or acceptance criteria.

Workflow

  1. Restate the user problem and target users.
  2. Define goals and non-goals.
  3. Specify user-facing behavior and edge cases.
  4. Add acceptance criteria that can be verified.
  5. Note dependencies, rollout concerns, telemetry/observability needs, and open questions.

Rules

  • Do not prescribe implementation details unless they affect product behavior.
  • Separate confirmed requirements from assumptions.
  • Keep acceptance criteria testable and specific.
  • Ask the parent/user for missing product decisions rather than inventing them.

Output

# Product Spec: <title>

## Problem
## Goals
## Non-goals
## User Stories
## Requirements
## Acceptance Criteria
## Rollout / Risks
## Open Questions
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. 1mo ago First seen · 39 lines · 31 tokens per session scan A 5a9026fc588a

Subscribe to this mod's changes

write-product-spec is a skill published in the GitHub repository PyModel/pythinker-cli (21 stars, last pushed 3d ago), licensed Apache-2.0. It adds 31 tokens to every session and 218 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-08-30.

Related

Other skills, from other repositories

printing-press-output-review

Internal sub-skill: agentic review of a printed CLI's sampled command output for plausibility issues that rule-based checks can't encode (substring-match relevance, format bugs, silent source drops, ranking failures). Invoked via the Skill tool by the main printing-press skill at Phase 4.85 and printing-press-polish…

mvanhorn/cli-printing-press · 102 tokens

autofix

Review and repair current local changes until they converge, or run Qwen Code Autofix issue and review workflows from GitHub Actions.

QwenLM/qwen-code · 30 tokens

code-guidelines-go

Go 1.24–1.27 coding guidelines for the dimetron/pi-go AI agent runtime. Use this skill whenever writing, reviewing, or refactoring ANY Go code in pi-go. This covers idiomatic style, error handling, concurrency, project layout, testing (table-driven, fuzz, benchmarks, synctest), new stdlib usage, golangci-lint v2…

dimetron/pi-go · 124 tokens

audit

Fast quality gate — detects stack, runs static analysis, checks cross-layer consistency, fixes issues. Run between every pipeline phase, before every commit push, after every feature batch. Lighter than /analyze but catches the same critical issues.

skillmds/skillmd · 50 tokens

design-review

Deep design review of Go codebase — naming, structure, consistency, interfaces, error handling. Scores each dimension and provides actionable fixes.

dimetron/pi-go · 30 tokens

logic-lens

AI-powered Claude Code skill that performs deep code review using formal logic and reasoning frameworks to detect bugs, anti-patterns, and security risks beyond what linters catch.

skillmds/skillmd · 37 tokens