story-illustrator

story-illustrator is a skill for Claude Code from hassancs91/claude-image-generation. It costs 257 tokens per session (5,381 once invoked), scanned A, original, MIT.

A workflow that creates consistent illustrations for each scene in a story. It uses reference images and a shared visual guide so characters, places, and art style remain similar across the sequence.

In plain words
What is it for?
Use it to illustrate a story that has already been split into scenes, including choosing a visual style and generating one image for each scene.
Why use it?
It addresses the common problem of separately generated scenes looking like they belong to different stories. It also connects each illustration to the scene list used by the rest of the storybook pipeline.

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 to illustrate a story that has already been split into scenes, including choosing a visual style and generating one image for each scene.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hassancs91/claude-image-generation/story-illustrator"><img src="https://agentmods.dev/badge/skills/hassancs91/claude-image-generation/story-illustrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 257 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,381 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 high

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 →

  • high Privilege Escalation · line 3
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00257 $0.05381
Opus 5 $0.00129 $0.02691
Sonnet 5 $0.00051 $0.01076
Haiku 4.5 $0.00026 $0.00538

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

Security

Grade A, and why

story-illustrator 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (assets/fal_image.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/story-illustrator/SKILL.md · 234 lines

How it starts

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

Story Illustrator

Turns a story (already split into scenes) into a sequence of illustrations with consistent characters, locations, and style — using cascading reference images to preserve continuity from scene to scene.

This is where the storybook earns its polish. Naively prompting "scene 1", "scene 2", "scene 3" gives three different-looking children in three different rooms. This skill prevents that with a bible → references → cascading scene images workflow.

When this skill applies

{slug}_scenes.json exists (from scene-splitter) and the user wants images. Also applies if the user pastes a story and asks to illustrate it — in that case, run scene-splitter first (or fall back to building a quick internal shot list).

The skill does NOT apply to:

  • Single one-off image requests with no narrative (run fal_image.py directly, or call an image tool).
  • Video/animation tasks.
  • Cases where the user only wants the bible or shot list as text, not actual images.

Required tools — the image backend

Images are generated through the Fal API using the bundled script assets/fal_image.py. One call generates one image:

python .claude/skills/story-illustrator/assets/fal_image.py \
  --model nano-banana-2 --aspect 4:5 \
  --prompt "<full prompt>" \
  --ref <url> --ref <url> \
  --out stories/<slug>/<slug>_images/part_03.png

It submits to Fal, polls until done, downloads the image locally, and prints one JSON line: {"url": "<fal cdn url>", "path": "<local file>", "model": "...", "cost_usd": 0.08}. Capture both the url and the path (explained in Stage 5/6).

Why a script, not an MCP: the only thing this skill needs from an image generator is the primitive (prompt, reference image URLs, aspect ratio) → an image. A small stdlib script over the Fal HTTP API does exactly that with one dependency — a FAL_KEY — and keeps the model choice fully in your hands. (Narration, by contrast, uses the ElevenLabs MCP — the repo deliberately demonstrates both integration styles.)

Read the full file on GitHub · 234 lines

Files

What ships with it

6 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. 11d ago First seen · 234 lines · 257 tokens per session scan A 1ad59550a983

Subscribe to this mod's changes

story-illustrator is a skill published in the GitHub repository hassancs91/claude-image-generation (92 stars, last pushed 24d ago), licensed MIT. It adds 257 tokens to every session and 5,381 once invoked, about $0.0013 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

imagegen

Use when the user asks to generate or edit images via the OpenAI Image API (for example: generate image, edit/inpaint/mask, background removal or replacement, transparent background, product shots, concept art, covers, or batch variants); run the bundled CLI (${SELENESKILLROOT}/scripts/imagegen.py) and require…

tercumantanumut/selene · 81 tokens

sora

Use when the user asks to generate, remix, poll, list, download, or delete Sora videos via OpenAI’s video API using the bundled CLI (${SELENESKILLROOT}/scripts/sora.py), including requests like “generate AI video,” “Sora,” “video remix,” “download video/thumbnail/spritesheet,” and batch video generation; requires…

tercumantanumut/selene · 91 tokens

speech

Use when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation via the OpenAI Audio API; run the bundled CLI (${SELENESKILLROOT}/scripts/texttospeech.py) with built-in voices and require OPENAIAPIKEY for live calls. Custom voice creation is out of scope.

tercumantanumut/selene · 77 tokens

transcribe

Transcribe audio files to text with optional diarization and known-speaker hints. Use when a user asks to transcribe speech from audio/video, extract text from recordings, or label speakers in interviews or meetings.

tercumantanumut/selene · 45 tokens

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

dig-for-discogs

Use DIG's read-only Discogs workflows to search the catalogue or an authenticated collection, inspect releases and masters, compare pressings, rank sonic/collector/value evidence, summarize collection taste, inspect an own wantlist, and request collection-aware recommendations. Trigger for Discogs release IDs…

WOIII-me/Discogs-MCP · 106 tokens