user-stories

user-stories is a skill for Claude Code from robconery/cassini-workshop. It costs 147 tokens per session (1,443 once invoked), scanned A, original, MIT.

A writing tool for turning product ideas into agile user stories and acceptance criteria. Agile user stories describe what a user needs, while acceptance criteria define the conditions that make the work complete.

In plain words
What is it for?
Use it to write, split, or refine stories and express expected behavior with Given/When/Then criteria.
Why use it?
Unstructured requirements are easy to misunderstand and hard to test. It creates a consistent backlog in /docs/STORIES.md that can feed the next step of turning requirements into behavior-driven tests.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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/robconery/cassini-workshop/user-stories
Any agent
npx skills add robconery/cassini-workshop --skill user-stories
Clone the repo
git clone --depth 1 https://github.com/robconery/cassini-workshop

Made for: Claude Code.

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-stories

README.md
[![agentmods](https://agentmods.dev/badge/skills/robconery/cassini-workshop/user-stories.svg)](https://agentmods.dev/skills/robconery/cassini-workshop/user-stories)
Your own site
<a href="https://agentmods.dev/skills/robconery/cassini-workshop/user-stories"><img src="https://agentmods.dev/badge/skills/robconery/cassini-workshop/user-stories.svg" alt="Measured on agentmods" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,443 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.1 $0.00147 $0.01443
Opus 5 $0.00073 $0.00722
Sonnet 5 $0.00029 $0.00289
Haiku 4.5 $0.00015 $0.00144

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

Security

Grade A, and why

user-stories 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 5d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/skills/user-stories/SKILL.md · 132 lines

How it starts

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

User Stories

Turn product intent into a structured, testable backlog in /docs/STORIES.md. The output is the input to the bdd-specs skill, so the structure here is not cosmetic — it is a contract. Get the format right and stories flow into executable specs and then code with no manual reshaping.

The pipeline you sit in

product intent ──▶ [user-stories] ──▶ /docs/STORIES.md ──▶ [bdd-specs] ──▶ spec files ──▶ code

bdd-specs reads /docs/STORIES.md and /docs/PLAN.md and generates nested specs: Feature > Scenario > Specification, where each Scenario arranges its data once and every Specification makes exactly one assertion, happy paths first and exhaustively, sad paths in their own block.

So map deliberately:

Story artifact Becomes in bdd-specs
One story One Feature
One acceptance criterion One Scenario
Given / When / Then steps The Scenario's arrange / act / assert
Each distinct Then One Specification (one assertion)
Happy-path criteria Listed first, exhaustively
Error / edge criteria A separate "sad path" group

Write acceptance criteria as Given/When/Then from the start. That single habit is what makes the handoff clean.

Workflow

1. Establish context before writing

A story carries product knowledge the codebase does not. Do not invent the role, the goal, or the value. If the user hands you a vague feature ("add notifications"), interview rather than guess:

  • Who is this for? (the role — be specific: "billing admin", not "user")
  • What do they want to do?
  • Why — what outcome or pain does it address? A story whose "so that" is hollow ("...so that I can use the feature") is usually a task, not a story.
  • What does done look like? What must be observably true?
  • What is explicitly out of scope for this story?

Ask the smallest number of questions that unblock you. If the user says "just draft it and I'll correct it", do that — draft, mark assumptions with > ASSUMPTION: lines, and let them react. Reacting is faster than specifying.

Read the full file on GitHub · 132 lines

Files

What ships with it

3 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. 5d ago First seen · 132 lines · 147 tokens per session scan A f15c6e8d3623

Subscribe to this mod's changes

user-stories is a skill published in the GitHub repository robconery/cassini-workshop (1 stars, last pushed 2mo ago), licensed MIT. It adds 147 tokens to every session and 1,443 once invoked, about $0.0007 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

agent-teams

How to orchestrate Claude Code's experimental Agent Teams — spawning teammates as separate sessions, delegating work to them, and waiting for results instead of doing the work yourself in the main thread. Use whenever a task should run as parallel/independent workstreams: multi-file refactors, reviewing or auditing…

opagani/cassini-workshop · 161 tokens

bdd-specs

Behavior-driven design: write executable specifications BEFORE any implementation code. Reads /docs/PLAN.md for the build plan and /docs/STORIES.md for user stories, and stops to ask for either if it is missing. Generates TypeScript spec files in nested blocks — Feature > Scenario > Specification — where each Scenario…

opagani/cassini-workshop · 183 tokens

user-stories

Write, split, and refine agile/scrum user stories and acceptance criteria. Produces /docs/STORIES.md as the canonical backlog, formatted to feed directly into the bdd-specs skill (Story → Feature, Given/When/Then acceptance criteria → Scenario/Specification). Use this whenever the user wants to write a user story…

opagani/cassini-workshop · 147 tokens

github

GitHub workflow conventions: writing clear conventional commits, opening detailed issues and PRs via the gh CLI, and choosing trunk-based vs short-lived branch flow based on the size of the change. Use whenever the user wants to commit, branch, push, open an issue, open a PR, or asks how to structure any of those.…

opagani/cassini-workshop · 83 tokens

tdd

Test-driven development with bun:test, written for clarity. Produces failing tests FIRST — before any implementation — that read as the executable spec a builder agent implements against. Each test names a single behavior in plain language, follows Arrange–Act–Assert, asserts one thing, and uses real types with no…

opagani/cassini-workshop · 145 tokens

security-web

Web application security review for TypeScript/JavaScript stacks, frontend and backend: XSS and output encoding, CSRF, clickjacking, secrets leaking into client bundles, authn/authz and IDOR, injection (SQL/command/NoSQL/ template), SSRF, mass assignment, insecure deserialization, file upload, path traversal, security…

opagani/cassini-workshop · 207 tokens