user-story-writer

user-story-writer is a skill for Claude Code, Codex from JayRHa/AgentSkills. It costs 103 tokens per session (1,058 once invoked), scanned A, original, MIT.

A product-planning assistant that turns feature ideas or large epics into small agile user stories with clear roles, benefits, and testable acceptance criteria. Agile is a way of delivering software in small, verifiable pieces.

In plain words
What is it for?
Use it to write user stories, create Given/When/Then acceptance criteria, break epics into vertical slices, and prepare product-backlog items.
Why use it?
It helps teams turn vague requirements into work that can be estimated, built, and checked, while splitting oversized features into useful increments.

Skill for Claude CodeCodex

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

Good fit Use it to write user stories, create Given/When/Then acceptance criteria, break epics…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jayrha/agentskills/user-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.

Any agent
npx skills add JayRHa/AgentSkills --skill user-story-writer
Clone the repo
git clone --depth 1 https://github.com/JayRHa/AgentSkills

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 user-story-writer

README.md
[![agentmods](https://agentmods.dev/badge/skills/jayrha/agentskills/user-story-writer.svg)](https://agentmods.dev/skills/jayrha/agentskills/user-story-writer)
Your own site
<a href="https://agentmods.dev/skills/jayrha/agentskills/user-story-writer"><img src="https://agentmods.dev/badge/skills/jayrha/agentskills/user-story-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,058 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.00103 $0.01058
Opus 5 $0.00051 $0.00529
Sonnet 5 $0.00021 $0.00212
Haiku 4.5 $0.00010 $0.00106

Measured 3d ago against content hash 53cb0f920060, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

user-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 3d 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.

user-story-writer/SKILL.md · 82 lines

How it starts

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

User Story Writer

Overview

Turn a feature idea, requirement, or epic into well-formed user stories that a team can estimate, build, and verify. Every story states who wants what and why, passes the INVEST test, and ships with testable acceptance criteria.

Keywords: user story, agile, scrum, backlog, INVEST, acceptance criteria, Gherkin, given when then, story splitting, epic, vertical slice, definition of done, product backlog, refinement, grooming.

Workflow

  1. Capture the intent. Identify the user/persona, the goal, and the underlying benefit. If the benefit is unclear, ask "so that what?" until you reach real value.
  2. Write the story statement using the canonical form: As a <role>, I want <capability> so that <benefit>. Keep it to one sentence and one outcome.
  3. Apply INVEST (see references/invest-checklist.md). If the story fails any letter — especially Small and Testable — split or sharpen it.
  4. Split if too big. Use the splitting patterns in references/splitting-patterns.md (workflow steps, business rules, happy/error path, data variations, CRUD operations). Each slice must be a thin vertical slice that delivers value end-to-end, not a horizontal layer.
  5. Write acceptance criteria in Gherkin: one Scenario per rule, covering the happy path, key edge cases, and at least one failure path. Use the template in templates/story-template.md.
  6. Add a Definition of Done checklist items only if they are story-specific (e.g. "feature flag added", "analytics event fired"). Leave generic DoD to the team.
  7. Self-review against references/invest-checklist.md and confirm every acceptance criterion is independently verifiable.

Decision Framework

Symptom Action
Story has "and" in the goal Split into separate stories
Can't estimate it Too big or too vague — split or clarify
No clear user It may be a task/enabler, not a story — label it as such
Acceptance criteria describe UI pixels Re-focus on observable behavior, not implementation
"As a user" (generic) Name the real persona; "user" hides differing needs

Read the full file on GitHub · 82 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 82 lines · 103 tokens per session scan A 53cb0f920060

Subscribe to this mod's changes

user-story-writer is a skill published in the GitHub repository JayRHa/AgentSkills (5 stars, last pushed 1mo ago), licensed MIT. It adds 103 tokens to every session and 1,058 once invoked, about $0.0005 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.