write-next-story-from-shell-story

write-next-story-from-shell-story is a skill for Claude Code from bitovi/cascade-mcp. It costs 97 tokens per session (2,773 once invoked), scanned B, original, MIT.

A guide for turning the next unwritten shell story in a Jira epic into a complete Jira story. A shell story is a short outline, and Jira is a system for tracking planned work.

In plain words
What is it for?
Use it to expand a specified or next shell story into a user story, scope analysis, Gherkin acceptance criteria, non-functional requirements, and developer notes.
Why use it?
It fills in the implementation detail while keeping the story’s scope anchored to its original outline and loading only the relevant Figma screens.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the cascade-mcp plugin — 13 skills shipped together

Good fit Use it to expand a specified or next shell story into a user story, scope analysis, Gherkin acceptance criteria, non-functional requirements, and developer notes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bitovi/cascade-mcp/write-next-story-from-shell-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.

Any agent
npx skills add bitovi/cascade-mcp --skill write-next-story-from-shell-story
Clone the repo
git clone --depth 1 https://github.com/bitovi/cascade-mcp

Made for: Claude Code.

Or install cascade-mcp, the plugin that ships this one along with the rest of its 13 skills.

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 write-next-story-from-shell-story

README.md
[![agentmods](https://agentmods.dev/badge/skills/bitovi/cascade-mcp/write-next-story-from-shell-story/github.svg)](https://agentmods.dev/skills/bitovi/cascade-mcp/write-next-story-from-shell-story)
Your own site
<a href="https://agentmods.dev/skills/bitovi/cascade-mcp/write-next-story-from-shell-story"><img src="https://agentmods.dev/badge/skills/bitovi/cascade-mcp/write-next-story-from-shell-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 write-next-story-from-shell-story

Your own site · 80×15
<a href="https://agentmods.dev/skills/bitovi/cascade-mcp/write-next-story-from-shell-story"><img src="https://agentmods.dev/badge/skills/bitovi/cascade-mcp/write-next-story-from-shell-story.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,773 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00097 $0.02773
Opus 5 $0.00048 $0.01386
Sonnet 5 $0.00019 $0.00555
Haiku 4.5 $0.00010 $0.00277

Measured 12d ago against content hash 7e3e5fc7aa27, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

write-next-story-from-shell-story scanned grade B with 2 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 12d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

curl -sL "{downloadUrl}" -o /tmp/cascade-figma.zip && unzip -qo /tmp/cascade-figma.zip -d .temp/cascade/figma/ && rm /tmp/cascade-figma.zip

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sL "{downloadUrl}" -o /tmp/cascade-figma.zip && unzip -qo /tmp/cascade-figma.zip -d .temp/cascade/figma/ && rm /tmp/cascade-figma.zip
plugins/cascade-mcp/skills/write-next-story-from-shell-story/SKILL.md · 218 lines

How it starts

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

Write Next Story From Shell Story

Turn the next unwritten shell story in a Jira epic into a full Jira subtask with comprehensive acceptance criteria, by loading only the relevant Figma screens and using the shell story's scope bullets as the scope anchor.

When to Use

Use when the user wants to:

  • Write out the next shell story in an epic as a full Jira story
  • Turn a specific shell story into a full ticket
  • Continue advancing an epic story by story after shell stories have been generated

Typical triggers:

  • "Write the next story from PROJ-123's shell stories"
  • "Write st003 from PROJ-123"
  • "Advance the epic PROJ-123 — write the next story"

Required Input

  • Jira epic key (e.g., PROJ-123) — the epic containing the shell stories
  • Specific story ID (optional, e.g., st003) — if omitted, the first unwritten story is used

Procedure

Phase 1: Fetch the Epic

Call MCP tool extract-linked-resources with the Jira epic URL (e.g., https://myco.atlassian.net/browse/PROJ-123).

Save the returned markdown+frontmatter directly to .temp/cascade/context/jira-PROJ-123.md.

Parse discoveredLinks from frontmatter to build .temp/cascade/context/to-load.md.

Phase 2: Iterative Content Loading

For each non-Figma URL in to-load.md (prioritize parent and blocks relationships first):

  1. Call extract-linked-resources with the URL
  2. Save the returned markdown to .temp/cascade/context/{type}-{identifier}.md
  3. Parse discoveredLinks from frontmatter — add any new URLs to to-load.md
  4. Repeat until no unloaded non-Figma URLs remain

Important: Figma URLs are collected but NOT loaded here — only the target shell story's screens will be loaded in Phase 3.

Phase 3: Identify Target Shell Story

Read the current epic description via atlassian-get-issue and locate the ## Shell Stories section.

Parse shell stories from the section. Find the target story:

  • If a specific story ID was provided (e.g., st003), use that story
  • Otherwise, use the first story without a completion marker (i.e., the title is plain text, not a Jira link with a timestamp)

Read the full file on GitHub · 218 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. 12d ago First seen · 218 lines · 97 tokens per session scan B 7e3e5fc7aa27

Subscribe to this mod's changes

write-next-story-from-shell-story is a skill published in the GitHub repository bitovi/cascade-mcp (24 stars, last pushed 22d ago), licensed MIT. It adds 97 tokens to every session and 2,773 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

recipe-create-meet-space

Create a Google Meet meeting space and share the join link.

googleworkspace/cli · 18 tokens

workthreads

SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…

specstoryai/getspecstory · 126 tokens

atmos-config

Atmos root configuration: atmos.yaml discovery, precedence, deep merging, basepath, imports, minimal bootstrap, and routing to narrower Atmos skills.

cloudposse/atmos · 31 tokens

story-readiness

Validate that a story file is implementation-ready. Checks for embedded GDD requirements, ADR references, engine notes, clear acceptance criteria, and no open design questions. Produces READY / NEEDS WORK / BLOCKED verdict with specific gaps. Use when user says 'is this story ready', 'can I start on this story', 'is…

Donchitos/Claude-Code-Game-Studios · 77 tokens

magpie-security-issue-import-from-md

Open one or more tracking issues from a markdown file containing a batch of security findings. Each finding becomes one tracker landing in the Needs triage board column. The file itself is the full report — there is no inbound reporter to reply to and no PR to inspect.

apache/magpie · 73 tokens

remove

Remove a deployed framework or addon from the current workspace.

jmagly/aiwg · 12 tokens