story-html-publisher

story-html-publisher is a skill for Claude Code from hassancs91/claude-image-generation. It costs 207 tokens per session (1,618 once invoked), scanned A, original, MIT.

A final packaging step that combines story scenes, pictures, and narration into one HTML storybook file. Each scene appears as a swipeable or tappable screen, and the file works without an internet connection.

In plain words
What is it for?
Use it to export a completed AI storybook that can be opened by double-clicking, emailed, or uploaded to a basic web host.
Why use it?
It removes the need to distribute separate image and audio files or maintain an assets folder. It also reports missing inputs instead of filling gaps with made-up content.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Good fit Use it to export a completed AI storybook that can be opened by double-clicking, emailed, or uploaded to a basic web host.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hassancs91/claude-image-generation/story-html-publisher"><img src="https://agentmods.dev/badge/skills/hassancs91/claude-image-generation/story-html-publisher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 207 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,618 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.00207 $0.01618
Opus 5.5 $0.00083 $0.00647
Sonnet 5.5 $0.00041 $0.00324
Haiku 4.5 $0.00021 $0.00162

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

Security

Grade A, and why

story-html-publisher 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (assets/build_html.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-html-publisher/SKILL.md · 98 lines

How it starts

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

Story HTML Publisher

Takes everything the upstream skills produced and emits one self-contained HTML storybook: a swipe/tap player where each scene is one screen (illustration + narration text), with the playback controls in a fixed footer. It opens with a dedicated cover page — the first illustration shown clean, playing only the short spoken title. Every image and audio clip is embedded as a base64 data URI, so the single .html file works offline, opens with a double-click, and can be emailed or dropped on any static host with no assets folder.

This skill does no creative work — no new text, images, or audio. It only reads, validates, pairs, embeds, and writes. If something is missing upstream, it reports the gap rather than fabricating.

When this skill applies

The pipeline's earlier skills have run and the user wants the final output: "build the storybook", "export to HTML", "make the final file", "wrap up the pipeline".

Does NOT apply to stories that haven't been through scene-splitter + story-illustrator + story-narrator — point the user to the missing step.

Required inputs

In stories/{slug}/:

Artifact Producer Path
Scenes spine scene-splitter {slug}_scenes.json
Image registry story-illustrator {slug}_images.json
Audio clips story-narrator {slug}_audio/{slug}_part_NN.mp3
Title clip (optional) story-narrator {slug}_audio/title.mp3

Everything pairs by scene index: scenes[i].index = N → image from images.json.shots[] where index = N → audio {slug}_part_NN.mp3.

Workflow — four stages with one hard gate

Stage 1: Discover and validate

  1. Determine the slug (user argument → the *_scenes.json in the working dir → ask).
  2. Locate the three inputs. Confirm each scene has both an image (in images.json) and an audio file. Build a pairing table: index → text snippet → image present? → audio present?
  3. Reconstruction sanity check: the scene count in scenes.json should match the number of shots in images.json and the number of _part_NN.mp3 files.
  4. Report findings:

    Found 9 scenes, 9 images, 9 audio clips (+ title clip). All paired. Ready to build. If anything is missing, list the gaps. Don't proceed to build with gaps unless the user says "build partial" (the build script will embed what exists and leave placeholders for the rest).

Read the full file on GitHub · 98 lines

Files

What ships with it

3 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. 3mo ago First seen · 98 lines · 207 tokens per session scan A 9367a84eabf7

Subscribe to this mod's changes

story-html-publisher is a skill published in the GitHub repository hassancs91/claude-image-generation (123 stars, last pushed 3mo ago), licensed MIT. It adds 207 tokens to every session and 1,618 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

story-html-publisher compared with skills from other repositories

story-html-publisher next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
story-html-publisherhassancs91/claude-image-generationSkill1233mo agoMITA207Claude Code
app-mockuptercumantanumut/seleneSkill17513d agoMITA47Claude Code
edge-commercefinsilabs/awesome-ecommerce-skillsSkill691mo agoMITA30Claude Code, Codex
review-stacklouisbrulenaudet/monorepo-templateSkill198d agoApache-2.0A115Claude Code, Codex
ae-ltd-mcp-foundryaegntic/cldcdeSkill123d agoMITA43Codex
ae-ltd-context7-radaraegntic/cldcdeSkill123d agoMITA42Codex
cflouisbrulenaudet/monorepo-templateSkill198d agoApache-2.0A81Claude Code, Codex