storybook-pipeline

storybook-pipeline is a skill for Claude Code from hassancs91/claude-image-generation. It costs 240 tokens per session (2,390 once invoked), scanned A, original, MIT.

An orchestrator that turns one English story into a finished, self-contained HTML storybook by running four steps in order: splitting scenes, creating illustrations, recording narration, and packaging the result. It keeps each scene, image, and audio clip matched by a shared filename convention.

In plain words
What is it for?
Use it when you want to turn a story into scenes, illustrations, narration, and one shareable storybook file from start to finish.
Why use it?
It removes the need to remember which separate tools to run, in what order, and how to name their files. If a previous run stopped partway through, it can continue from the next missing step.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

Good fit Use it when you want to turn a story into scenes, illustrations, narration, and one shareable storybook file from start to finish.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hassancs91/claude-image-generation/storybook-pipeline
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 hassancs91/claude-image-generation --skill storybook-pipeline
Clone the repo
git clone --depth 1 https://github.com/hassancs91/claude-image-generation

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 storybook-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/hassancs91/claude-image-generation/storybook-pipeline/github.svg)](https://agentmods.dev/skills/hassancs91/claude-image-generation/storybook-pipeline)
Your own site
<a href="https://agentmods.dev/skills/hassancs91/claude-image-generation/storybook-pipeline"><img src="https://agentmods.dev/badge/skills/hassancs91/claude-image-generation/storybook-pipeline/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 storybook-pipeline

Your own site · 80×15
<a href="https://agentmods.dev/skills/hassancs91/claude-image-generation/storybook-pipeline"><img src="https://agentmods.dev/badge/skills/hassancs91/claude-image-generation/storybook-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 240 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,390 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 92
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00240 $0.02390
Opus 5 $0.00120 $0.01195
Sonnet 5 $0.00048 $0.00478
Haiku 4.5 $0.00024 $0.00239

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

Security

Grade A, and why

storybook-pipeline 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 13d 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.

.claude/skills/storybook-pipeline/SKILL.md · 124 lines

How it starts

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

Storybook Pipeline (Orchestrator)

The runbook for turning one English story into a finished, self-contained HTML storybook. It does no creative work itself — it dispatches the 4 component skills in order, with the right artifact paths, and locks the filename convention so every output pairs cleanly by scene index.

It exists so that in a fresh session, "make a storybook from this story" has a single entry point — no need to remember the 4 skills, their order, or the filename conventions.

When this skill applies

The user has an English story (typically in stories/) and wants the full output: scenes + images + audio + a single HTML storybook. Common phrasings:

  • "run the pipeline on stories/the-little-cloud.md"
  • "make a storybook from this story"
  • "turn this into an illustrated storybook"
  • "build the storybook end to end"

Does NOT apply to:

  • Single-step requests — if they only want images, invoke story-illustrator; only audio, story-narrator. The orchestrator is for the full chain.
  • Re-running after partial completion — if some artifacts exist, detect them and resume from the next missing step; don't blindly overwrite. Ask if unsure.

Pipeline order (LOCKED)

input:  stories/{slug}.md
1. scene-splitter         → {slug}_scenes.json
2. story-illustrator      → {slug}_bible.md, {slug}_shotlist.md, {slug}_images.json
3. story-narrator         → {slug}_audio/{slug}_part_NN.mp3 (+ manifest.json, optional title.mp3)
4. story-html-publisher   → {slug}_story.json + {slug}.html   ← the deliverable

Steps 2 and 3 both read {slug}_scenes.json and are independent — but in an interactive session run them in order so the user reviews each at its own gate.

Slug + filename convention (LOCKED)

The slug is derived from the story title or filename: lowercased, hyphenated, ASCII-safe (^[a-z0-9-]+$, max 60 chars). Every artifact shares it. All artifacts live in stories/{slug}/; the raw .md stays at stories/ (it's the trigger, not an artifact). See CLAUDE.md for the full filename table.

Read the full file on GitHub · 124 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. 13d ago First seen · 124 lines · 240 tokens per session scan A e03bc73e1dfa

Subscribe to this mod's changes

storybook-pipeline is a skill published in the GitHub repository hassancs91/claude-image-generation (92 stars, last pushed 25d ago), licensed MIT. It adds 240 tokens to every session and 2,390 once invoked, about $0.0012 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-30.

Related

Other skills, from other repositories

app-mockup

Create deterministic browser, tablet, laptop, and phone mockups from real screenshots via the local TypeScript renderer in this plugin. Use for marketing visuals, store screenshots, and framed UI previews without ML image generation.

tercumantanumut/selene · 47 tokens

review-pnpm

Review the pnpm workspace configuration for alignment with current official best practices - dependency management, supply-chain safety, and developer experience across this monorepo. Your reply must be a plan of suggested changes: concise, actionable, structured - not only prose.

louisbrulenaudet/monorepo-template · 68 tokens

review-typescript

TypeScript setup review (shared presets in packages/typescript-config, per-app tsconfigs, TS 7 readiness) against current official best practices. USE WHEN: user runs /review-typescript or explicitly asks for this review. DO NOT USE WHEN: reviewing app code, other dev dependencies, or implementing features.

louisbrulenaudet/monorepo-template · 66 tokens

review-vite

Vite setup review (front-app vite.config.ts, build/performance options, @cloudflare/vite-plugin, devtools) against current official Vite best practices. USE WHEN: user runs /review-vite or explicitly asks for this review. DO NOT USE WHEN: reviewing app code, other dev dependencies, or implementing features.

louisbrulenaudet/monorepo-template · 71 tokens

NorthwoodsRhetoric

Output transformer — pipes any AI response through the deployed Northwoods Pack rhetoric module before showing it. Strips emoji-headed sections, splits long sentences on coordinating conjunctions, strips code blocks for chat context, collapses excessive blank lines. Preserves adult vocabulary. USE WHEN any AI response…

NorthwoodsSentinel/northwoods-pack · 107 tokens

owd-obsidian-mind

Connect, initialize, resume, or coordinate an Obsidian Mind vault with MDevolved while preserving its local qmd/om MCP runtime, native note layout, scoped memories, private-note rules, and multi-agent writer safety. Use when a vault-manifest.json identifies template obsidian-mind, when adding MDevolved beside Obsidian…

msinclair25/mdevolved · 100 tokens