template-storybook

template-storybook is a skill for Claude Code, Codex from docxology/template. It costs 28 tokens per session (549 once invoked), scanned A, original, Apache-2.0.

A project template for creating illustrated storybooks as deterministic PDF files, with structured story content, page scenes, and text overlays.

In plain words
What is it for?
Use it to start or update an illustrated PDF storybook, edit its story data, render pages, and run its tests.
Why use it?
It keeps story content, rendering code, and command-line scripts in separate places, making the project easier to maintain and verify.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/pipeline/stage_02_analysis.py --project templates/template_storybook.

Good fit Use it to start or update an illustrated PDF storybook, edit its story data, render pages, and run its tests.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/docxology/template
agentmods
npx agentmods add skills/docxology/template/template-storybook

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/docxology/template/template-storybook"><img src="https://agentmods.dev/badge/skills/docxology/template/template-storybook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 549 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.00028 $0.00549
Opus 5.5 $0.00011 $0.00220
Sonnet 5.5 $0.00006 $0.00110
Haiku 4.5 $0.00003 $0.00055

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

Security

Grade A, and why

template-storybook 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 2mo 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.

projects/templates/template_storybook/.agents/skills/template-storybook/SKILL.md · 59 lines

How it starts

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

template-storybook

Project-scoped skill for the in-repo exemplar at projects/templates/template_storybook/. Load this when working inside the project.

When to Use

  • Working inside the template_storybook exemplar — running scripts, editing story content, or regenerating illustrated pages.
  • Forking this exemplar as the starting scaffold for a new illustrated-PDF project.
  • Validating that the exemplar's contracts (thin-orchestrator, layer boundaries, no-mocks testing) still hold after changes.

Workflow

  1. Read the project AGENTS.md.
  2. Edit story content in content/story.yaml.
  3. Put rendering behavior in src/storybook/ (models.py, characters.py, story.py, illustration.py, text_layout.py, rendering.py) — never in scripts/.
  4. Verify with tests and Stage-02 PDF generation.

Quick Reference

# From the repository root
uv run pytest projects/templates/template_storybook/tests --cov=projects/templates/template_storybook/src --cov-fail-under=90
uv run python scripts/pipeline/stage_02_analysis.py --project templates/template_storybook
uv run python scripts/pipeline/stage_03_render.py --project templates/template_storybook
uv run python scripts/pipeline/stage_04_validate.py --project templates/template_storybook
uv run python scripts/pipeline/stage_05_copy.py --project templates/template_storybook

Pitfalls

  • Keep scripts thin. Character construction, image composition, text overlay, and PDF assembly belong in src/storybook/, not in scripts/.
  • No mocks. All tests must use real data, real files, and real computation.
  • Outputs are disposable. Never hand-edit output/ — regenerate from content/story.yaml and source.
  • Run from the repo root. Commands assume the template monorepo root as working directory unless the child AGENTS.md states otherwise.

Cross-refs

Read the full file on GitHub · 59 lines

Files

What ships with it

2 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. 2mo ago First seen · 59 lines · 28 tokens per session scan A bd657bec766a

Subscribe to this mod's changes

template-storybook is a skill published in the GitHub repository docxology/template (23 stars, last pushed yesterday), licensed Apache-2.0. It adds 28 tokens to every session and 549 once invoked, about $0.0001 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-09-03.

Related

template-storybook compared with skills from other repositories

template-storybook next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
template-storybookdocxology/templateSkill23yesterdayApache-2.0A28Claude Code, Codex
talismanjeunecraack/talisman-skillSkill72mo agoMITA120Claude Code, Codex
Генерация PDF из Markdown с точным академическим форматированием через Pandoc и LaTeXECNU-ICALK/AutoSkillSkill6106mo agononeA87Claude Code, Codex
latex-docJansenAnalytics/claudexSkill54mo agoMITB25Claude Code, Codex
paper-figuresMuuuun/luxasSkill1.2k12d agoMITA79Claude Code, Codex
overleafaloth/olcliSkill2434d agoMITA62Claude Code, Codex
bib-parseflonat/flonat-researchSkill1493d agoMITA54Claude Code