work-story

work-story is a command for Claude Code from theam/claude-dev-kit. It costs 40 tokens per session (571 once invoked), scanned A, original, Apache-2.0.

A command that takes a referenced user story through the development workflow: fetching the ticket, planning, implementing, verifying, and opening a pull request. A pull request is a proposed code change submitted for review.

In plain words
What is it for?
Use it with a ticket such as PROJ-1234, ENG-42, or a supported issue number to work in the current directory, run verification gates, and prepare a pull request.
Why use it?
It gathers the repeated steps of delivering a ticket into one guided process with a plan-approval checkpoint.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents.

Part of the fullstack-dev-kit plugin — 1 skill, 5 commands, 9 agents, 3 hooks, 3 MCP servers, 1 plugin shipped together

Good fit Use it with a ticket such as PROJ-1234, ENG-42, or a supported issue number to work in the current directory, run verification gates, and prepare a pull request.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/theam/claude-dev-kit/work-story
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/theam/claude-dev-kit

Made for: Claude Code.

Or install fullstack-dev-kit, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 9 agents, 3 hooks, 3 MCP servers, 1 plugin.

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 work-story

README.md
[![agentmods](https://agentmods.dev/badge/commands/theam/claude-dev-kit/work-story/github.svg)](https://agentmods.dev/commands/theam/claude-dev-kit/work-story)
Your own site
<a href="https://agentmods.dev/commands/theam/claude-dev-kit/work-story"><img src="https://agentmods.dev/badge/commands/theam/claude-dev-kit/work-story/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 work-story

Your own site · 80×15
<a href="https://agentmods.dev/commands/theam/claude-dev-kit/work-story"><img src="https://agentmods.dev/badge/commands/theam/claude-dev-kit/work-story.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 571 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.00040 $0.00571
Opus 5.5 $0.00016 $0.00228
Sonnet 5.5 $0.00008 $0.00114
Haiku 4.5 $0.00004 $0.00057

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

Security

Grade A, and why

work-story 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.

commands/work-story.md · 28 lines

What it actually says

Work the user story given in the arguments: $ARGUMENTS

Delegate the workflow to the coding-agent subagent in two phases, passing the issue key and any extra instructions from the arguments.

Rules:

  • If no issue reference is present in the arguments, ask for one — do not guess. Accept the reference shapes the configured tracker uses (e.g. PROJ-1234 for Jira, ENG-42 for Linear, #123 for GitHub Issues / Azure DevOps).

The story is worked in the current directory — no worktree is created here. To run several stories in parallel, use /launch-story first: it prepares a dedicated worktree and opens a new window, and this command runs inside it.

Phase 1 — context and plan. Instruct the coding-agent to fetch the ticket (and any linked designs), build its implementation plan, and RETURN the ticket summary and the full plan as its result — telling it explicitly NOT to ask for approval itself and NOT to write any code yet.

Plan-approval gate — two separate steps, in this exact order:

  1. FIRST, print the plan: write a normal assistant message to the conversation containing the ticket summary and the coding-agent's FULL plan, verbatim. This message is a hard requirement — a selection dialog is NOT a substitute for it, and putting the plan only inside a dialog's option text does not count: the user must be able to read the complete plan in the chat before any question appears.
  2. THEN, and only after that message is visible, ask the user to approve, adjust, or cancel (plain question or dialog — either is fine at this point).

Never collapse these two steps into one dialog. Only if the arguments contain --auto-approve (for automated/pipeline runs), skip the gate and proceed directly.

Phase 2 — execution. On approval (or auto-approve), continue the SAME coding-agent (resume it with the approval and any user adjustments) so it keeps its context, and let it run the remaining workflow: implement, verify gates, self-review, create the PR, and update the tracker ticket.

  • Relay the coding-agent's final report to the user: PR URL, verification evidence (unit tests, coverage table, e2e results, lint, security pass), tracker transition applied, and follow-up risks.
  • If the current directory is a /launch-story worktree, remind the user to remove it (git worktree remove <path>) once the PR merges.
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 · 28 lines · 40 tokens per session scan A ff340971d1de

Subscribe to this mod's changes

work-story is a command published in the GitHub repository theam/claude-dev-kit (15 stars, last pushed 28d ago), licensed Apache-2.0. It adds 40 tokens to every session and 571 once invoked, about $0.0002 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.