scene-splitter

scene-splitter is a skill for Claude Code from hassancs91/claude-image-generation. It costs 209 tokens per session (2,267 once invoked), scanned A, original, MIT.

A workflow that divides a plain English story into numbered scenes, with each scene representing one moment, one illustration, and one narration clip. The resulting scene list is shared by the later storybook steps.

In plain words
What is it for?
Use it to prepare a narrative for illustration and narration, or to break it into storybook pages before running the rest of the pipeline.
Why use it?
It prevents the pictures, audio, and story text from drifting out of alignment. It also makes a long story easier to process as a sequence of illustrated moments.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to prepare a narrative for illustration and narration, or to break it into storybook pages before running the rest of the pipeline.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hassancs91/claude-image-generation/scene-splitter
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 scene-splitter
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 scene-splitter

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hassancs91/claude-image-generation/scene-splitter"><img src="https://agentmods.dev/badge/skills/hassancs91/claude-image-generation/scene-splitter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 209 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,267 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 pass 7 Sept 2026
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.00209 $0.02267
Opus 5.5 $0.00084 $0.00907
Sonnet 5.5 $0.00042 $0.00453
Haiku 4.5 $0.00021 $0.00227

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

Security

Grade A, and why

scene-splitter 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.

.claude/skills/scene-splitter/SKILL.md · 145 lines

How it starts

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

Scene Splitter

Takes a plain English story and produces a numbered list of scenes — each scene being one moment that gets exactly one illustration and one narration clip downstream.

This is the upstream spine of the AI Storybook pipeline. Splitting once here and feeding both the illustrator and the narrator from the same {slug}_scenes.json keeps everything in lockstep: image N pairs with audio N pairs with paragraph N. No drift, no negotiation between skills.

When this skill applies

The user has an English story and wants to prepare it for the illustration + narration pipeline. Common phrasings: "split this into scenes", "break this into pages", "prepare this story for the storybook", "make scenes for illustration".

The skill does NOT apply to:

  • Stories that need only narration OR only images standalone (the illustrator and narrator can split on their own when used independently)
  • Non-narrative content (essays, instructions, lists)

Architectural rule: one scene = one moment = one image = one narration clip

A scene is a single moment that fits one illustration. Operationally, a new scene starts at any of:

  • Action transition — a different action happens
  • Scene change — a different location or a significant time jump
  • Emotional turn — joy → fear, calm → urgency, doubt → resolve
  • Character entry/exit — someone new appears or leaves the moment
  • Dialogue beat — a meaningful line of speech that deserves its own picture

Scenes are deliberately short and many. The storybook player renders one scene at a time, and the text MUST fit on a phone screen without scrolling. That drives the hard length cap below.

Reading level + length cap (beginner default)

This pipeline targets beginner readers. The cap is screen-fit-driven, not API-driven:

Level Per-scene hard cap Target scene count
beginner (default) 240 characters 8–12 scenes

The cap is the number of characters in a single scene's text. Keep most scenes well under it (~120–180 chars reads best on a phone). To scale this pipeline up for longer/harder stories, raise the cap and the target count here — nothing downstream needs to change.

Read the full file on GitHub · 145 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. 1mo ago First seen · 145 lines · 209 tokens per session scan A ddcd05cd290d

Subscribe to this mod's changes

scene-splitter is a skill published in the GitHub repository hassancs91/claude-image-generation (109 stars, last pushed 2mo ago), licensed MIT. It adds 209 tokens to every session and 2,267 once invoked, about $0.0008 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.

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

edge-commerce

Reduce latency globally by running geo-routing, A/B tests, and personalization logic at the network edge using Cloudflare Workers or Vercel.

finsilabs/awesome-ecommerce-skills · 30 tokens

review-stack

Stack review of one or more third-party tools (OXC, TanStack, Vite, cf, Sentry, pnpm, Claude Code...) against current official best practices, or of what a dependency bump brings (bumped): one parallel subagent per tool, verified findings, one consolidated plan in chat. USE WHEN: user runs /review-stack or explicitly…

louisbrulenaudet/monorepo-template · 115 tokens

cf

USE WHEN: running, finding, or troubleshooting Cloudflare CLI (cf) commands in this repo - dev servers, builds and their Build Output, Env types, startup profiling, production profiles, Workers Issues, and telemetry, local KV/D1/R2 data, the commands that still need Wrangler, or the cf equivalent of a Wrangler habit.…

louisbrulenaudet/monorepo-template · 81 tokens

motion-graphics

Use when the user wants a short, design-led motion graphic where motion is the message: kinetic typography, stat or number count-up, chart/data-viz hit, logo sting, brand lockup, lower-third, callout, social overlay, animated headline/tweet/news item, motion poster, or quick captured-page highlight. Usually under 10s…

chmonitor/chmonitor · 187 tokens

website-to-video

Capture a general website/URL and turn it into a HyperFrames video (site tour, showcase, or social clip from the site's own visuals). Uses headless Chrome screenshots + brand assets. Use when intent is general — portfolio/blog/landing-page showcase or social clip from the site. NOT for: product/SaaS launch or promo (→…

chmonitor/chmonitor · 154 tokens