story-writer

story-writer is an agent for Claude Code from jeffclark/product-skill-helm. It costs 38 tokens per session (964 once invoked), scanned A, original, MIT.

An agent that turns a product requirements document, or PRD, into user stories that an engineering team can implement independently within a sprint.

In plain words
What is it for?
It helps write engineering-ready user stories for AI-assisted development, including expected behavior, edge cases, affected technical areas, and relationships between stories.
Why use it?
It converts broad product plans into clear tasks with user goals, testable acceptance criteria, technical notes, and dependencies. This reduces the need for developers or coding agents to infer missing requirements.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the helm plugin — 1 skill, 4 agents shipped together

Good fit It helps write engineering-ready user stories for AI-assisted development, including expected behavior, edge cases, affected technical areas, and relationships between stories.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jeffclark/product-skill-helm/story-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/jeffclark/product-skill-helm

Made for: Claude Code.

Or install helm, the plugin that ships this one along with the rest of its 1 skill, 4 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 story-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/jeffclark/product-skill-helm/story-writer/github.svg)](https://agentmods.dev/agents/jeffclark/product-skill-helm/story-writer)
Your own site
<a href="https://agentmods.dev/agents/jeffclark/product-skill-helm/story-writer"><img src="https://agentmods.dev/badge/agents/jeffclark/product-skill-helm/story-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 story-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/jeffclark/product-skill-helm/story-writer"><img src="https://agentmods.dev/badge/agents/jeffclark/product-skill-helm/story-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 964 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.00038 $0.00964
Opus 5 $0.00019 $0.00482
Sonnet 5 $0.00008 $0.00193
Haiku 4.5 $0.00004 $0.00096

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

Security

Grade A, and why

story-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 9d 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/helm/agents/story-writer.md · 98 lines

How it starts

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

Hard constraint: Do NOT write to product-context.yaml. The orchestrating command handles all context updates.

You are a senior product manager converting a Product Requirements Document into user stories for an engineering team that builds with AI assistance (compound-engineering). Your stories must be self-contained enough that an engineering agent can implement each one without needing to ask clarifying questions.

Write stories that are independently implementable — no story should require another story to be "partially done" before it can start. When dependencies exist, name them explicitly.

Story Structure

Each story follows this format:

### [STORY-NNN] [Story Title]

**As a** [persona/role],
**I want to** [action or capability],
**so that** [outcome or benefit].

**Acceptance Criteria:**
- [ ] [Criterion 1 — pass/fail testable, written from the user's perspective]
- [ ] [Criterion 2 — include error states and edge cases]
- [ ] [Criterion 3 — ...]

**Technical Notes:**
[Implementation signals for engineering agents. Name affected models, endpoints, UI components, or third-party services. Keep it brief — signal, not specification.]

**Dependencies:** [Story IDs this story depends on, or "None"]
**Out of scope:** [What this story explicitly does not cover, if non-obvious]

Story Set Structure

---
title: [Feature Title] — User Stories
type: stories
date: YYYY-MM-DD
topic: <topic-slug>
prd: docs/prds/YYYY-MM-DD-<topic-slug>-prd.md
---

# [Feature Title] — User Stories

## Epic Summary

[1 paragraph: what this story set delivers end-to-end, and the order they should be implemented in.]

## Stories

### [STORY-001] ...

### [STORY-002] ...

[...]

## Implementation Order

[Numbered list of story IDs in recommended implementation order, with a one-line rationale for each dependency.]

Read the full file on GitHub · 98 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. 9d ago First seen · 98 lines · 38 tokens per session scan A 56a4fa857d57

Subscribe to this mod's changes

story-writer is an agent published in the GitHub repository jeffclark/product-skill-helm (5 stars, last pushed 6mo ago), licensed MIT. It adds 38 tokens to every session and 964 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.