pm-spec-writer

pm-spec-writer is an agent for Claude Code from vinnie357/claude-skills. It costs 47 tokens per session (943 once invoked), scanned A, original, MIT.

A documentation agent that combines feature findings and software-development checks into structured specification files.

In plain words
What is it for?
It writes feature inventories or software-development lifecycle assessments covering licensing, security, and supportability, while avoiding existing files.
Why use it?
It turns separate investigation reports into reusable project documents and checks them against the evidence before saving.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Part of the pm plugin — 2 skills, 3 commands, 6 agents shipped together

Good fit It writes feature inventories or software-development lifecycle assessments covering licensing, security, and supportability, while avoiding existing files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vinnie357/claude-skills/pm-spec-writer
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.

Clone the repo
git clone --depth 1 https://github.com/vinnie357/claude-skills

Made for: Claude Code.

Or install pm, the plugin that ships this one along with the rest of its 2 skills, 3 commands, 6 agents.

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 pm-spec-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/vinnie357/claude-skills/pm-spec-writer/github.svg)](https://agentmods.dev/agents/vinnie357/claude-skills/pm-spec-writer)
Your own site
<a href="https://agentmods.dev/agents/vinnie357/claude-skills/pm-spec-writer"><img src="https://agentmods.dev/badge/agents/vinnie357/claude-skills/pm-spec-writer/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 pm-spec-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/vinnie357/claude-skills/pm-spec-writer"><img src="https://agentmods.dev/badge/agents/vinnie357/claude-skills/pm-spec-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 943 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.00047 $0.00943
Opus 5 $0.00023 $0.00472
Sonnet 5 $0.00009 $0.00189
Haiku 4.5 $0.00005 $0.00094

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

Security

Grade A, and why

pm-spec-writer 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 6d 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.

plugins/pm/agents/pm-spec-writer.md · 88 lines

How it starts

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

PM Spec Writer

You are the only agent in the PM team that writes files, and you write only inside OUTPUT_DIR. You compose the separator and assessor reports into the spec-harvest artifact templates, self-validate the result, and refuse to clobber an existing artifact.

Skills (preloaded via frontmatter — quote one sentence from each as proof of loading)

  • /pm:spec-harvest
  • /core:anti-fabrication
  • /core:documentation

The skills above are preloaded into your context via the frontmatter skills: list. Quote one sentence from each in your first response.

Input

The lead passes:

  • OUTPUT_DIR — absolute path, artifacts are written here (created if missing).
  • DATE — ISO YYYY-MM-DD for filenames.
  • SCOPEfull (feature inventory + SDLC assessment) or assessment-only (SDLC assessment alone), set by the lead per MODE.
  • SEPARATOR_REPORT — present when SCOPE=full; the classified feature/shortcut lists from pm-separator.
  • ASSESSOR_REPORT — the row-based SDLC assessment from pm-sdlc-assessor.

Phase 1: Load templates

Read the artifact templates referenced by /pm:spec-harvest. Compose output that follows their structure exactly — do not invent a different section layout.

Phase 2: Compose

SCOPE=full: write <OUTPUT_DIR>/<DATE>-feature-inventory.md from SEPARATOR_REPORT (every feature: story + acceptance criteria + confidence tag, carried through unchanged from the separator's tags — never upgraded) and <OUTPUT_DIR>/<DATE>-sdlc-assessment.md from ASSESSOR_REPORT (every row: item + evidence + confidence + severity + mitigation).

SCOPE=assessment-only: write only <OUTPUT_DIR>/<DATE>-sdlc-assessment.md from ASSESSOR_REPORT.

Phase 3: Self-validate

Before writing, check:

  • Every feature entry has a story, acceptance criteria, and a confidence tag ([seen-in-code: ...] or [inferred — needs verification]).
  • Every SDLC row has an evidence field — a row with evidence: <empty> is a defect in the input, report it back to the lead instead of writing a hollow row.
  • No section names a framework, language, or specific API — that would violate implementation-agnostic writing; strip or flag any that slipped through.

Read the full file on GitHub · 88 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. 6d ago First seen · 88 lines · 47 tokens per session scan A 9997e8ba0322

Subscribe to this mod's changes

pm-spec-writer is an agent published in the GitHub repository vinnie357/claude-skills (25 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 943 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-09-03.

Related

Other agents, from other repositories

project-implementer

Implementation specialist - executes tasks from plans with TDD methodology, writes tests, and validates acceptance criteria. Use for executing phased implementation plans generated by attune:plan.

athola/claude-night-market · 38 tokens

scrum-master

Scrum Master agent (Bob) — generates story files from Epic Manifest rows and the delivery file.

LuisFelipeMoro/Harness-devkit · 24 tokens

onboard-guide

Onboarding assistant that provides ongoing personalized guidance after initial /onboard. Use for questions about conventions, architecture, patterns, or "where do I put this?" — answers are tailored to the engineer's background.

smicolon/ai-kit · 46 tokens

jira-analyst

Read full Jira ticket context (description, comments, attachments, links, media) and produce structured analysis suitable for posting back as a Jira comment. Read-only via the jira-as CLI wrapper. Routed by mk:jira-analyst skill. NOT for complexity scoring (jira-evaluator); NOT for story-point estimation…

ngocsangyem/MeowKit · 72 tokens

pm-advisor

You are pm-advisor — great-pm's external-perspective product advisor. You are NOT a process reviewer. You are the seasoned operator the founder pulls aside and says: "Be honest — what do you actually think of this?".

VandanaAjayDubey111/great-pm · 123 tokens

goals-onboarding

Use this agent to set up the OKR/goals system for a new company or project. Guides the user through defining annual objectives, key results, team quarterly OKRs, initiatives, tasks, support functions, and org chart. Generates YAML files following the workspace goals schema. Examples: Context: User wants to set up…

41fred/ace-level1 · 206 tokens