Agent skill

Story Generator

by dmccreary in dmccreary/ibook-skills

Generates illustrated graphic novel narratives about scientists, mathematicians, and historical figures for intelligent textbooks, with image prompts for each panel.

No licenceAuto-check passedMedia & Creative

Install Story Generator

skills CLI
$ npx skills add dmccreary/ibook-skills --skill story-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dmccreary/ibook-skills story-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dmccreary/ibook-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/archived/story-generator .claude/skills/story-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
story-generator
GitHub stars
105
Token cost
~10k tokens
SKILL.md length
5,075 words
Files
6 (incl. scripts, references)
Skills in repo
32
Repo updated
First seen
Licence
None found

At a glance

Generates illustrated graphic novel narratives about scientists, mathematicians, and historical figures for intelligent textbooks, with image prompts for each panel.

  • Works in 4 steps: Analyze the Textbook's Subject Matter → Generate Story Ideas → Format and Save → …
  • Adding historical-figure
  • SKILL.md covers The --panels N Argument, When to Use This Skill, Story Ideas Generator and Workflow, plus 5 more sections
  • Runs Python and Shell scripts from its folder; calls python3 and pip; reaches en.wikipedia.org and dmccreary.github.io; needs GEMINI_API_KEY

What it does

Story Generator is an agent skill from dmccreary/ibook-skills. Generates illustrated graphic novel narratives about scientists, mathematicians, and historical figures for intelligent textbooks, with image prompts for each panel. Use when adding historical-figure or case-study stories to a textbook's Stories section.

Its SKILL.md is about 10k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `references/index-template.md`, `scripts/fix-references.py` and `scripts/generate-images.py`).

It sits in Media & Creative, covering Comics and storyboards.

When your agent uses it

  • Adding historical-figure
  • Case-study stories to a textbooks Stories section

Example prompts

  • “Use the story-generator skill to generate illustrated graphic novel narratives about scientists, mathematicians, and historical figures for…”
  • “/story-generator”

Requirements

  • Python 3
  • A Bash shell

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Analyze the Textbook's Subject Matter
  2. Generate Story Ideas
  3. Format and Save
  4. Update Navigation

What it can do on your machine

Read from SKILL.md and the folder at commit 98a9991. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (Python and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • en.wikipedia.org
    • dmccreary.github.io
    • mathshistory.st-andrews.ac.uk
    • britannica.com

    Also links to:

    • aistudio.google.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GEMINI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Story Generator loads about 10k tokens when it runs, and up to ~12k if it reads all its reference files. Until then it costs about 68 tokens; SKILL.md has 5,075 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~10k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~12k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 5,075 words (~10,428 tokens).

“This skill generates complete graphic novel narratives about key contributors to science, mathematics, and technology — and fictional case-study stories — for intelligent textbooks built with MkDocs Material. The default story length is 12 panels plus a cover (13 images…”

— opening of SKILL.md by dmccreary
name
story-generator

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (scripts, references) in skills/archived/story-generator of dmccreary/ibook-skills.

  • SKILL.md
  • references/index-template.md
  • scripts/fix-references.py
  • scripts/generate-images.py
  • scripts/uncomment-images.sh
  • scripts/verify-images.py

Open the folder on GitHubat commit 98a9991

Compare with similar skills

Story Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Story Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Story Generator this skilldmccreary/ibook-skills105—~10kAutomated safety check: PassNone
Canghe Comicfreestylefly/canghe-skills4618 repos~3.2kAutomated safety check: PassNone
Tutti UI Systemtutti-os/tutti3.8k—~2.7kAutomated safety check: PassApache-2.0
3D Animation Short Generatortl2012tl/comfyUI-llama-TE2414 repos~3.7kAutomated safety check: PassNone
Text to PNG Card Casterlijigang/ljg-skills7.5k—~1.9kAutomated safety check: PassMIT
H3 Cinematic Directorjtydhr88/ComfyTV1.1k—~2.7kAutomated safety check: PassMIT

Similar skills

  • Canghe Comic

    freestylefly/canghe-skills

    Knowledge comic creator supporting multiple art styles and tones.

    461 GitHub starsUsed in 8 repos~3.2k tokens
    Media & CreativeAuto-check passed
  • Tutti UI System

    tutti-os/tutti

    A skill your agent uses when working with @tutti-os/ui-system components, replacing local UI with shared components, querying component ids or metadata, promoting UI into shared base or business…

    3.8k GitHub stars~2.7k tokensUpdated 3 days ago
    Media & CreativeAuto-check passed
  • 3D Animation Short Generator

    tl2012tl/comfyUI-llama-TE

    Create complete stylized 3D animated shorts from a story idea through an ordered production workflow covering project brief, story outline, character and environment cards, standardized shot…

    241 GitHub starsUsed in 4 repos~3.7k tokens
    Media & CreativeAuto-check passed
  • Text to PNG Card Caster

    lijigang/ljg-skills

    Turns text, URLs or local files into tall PNG cards through HTML typography, with four modes: long reading card, full-text layout, comic and whiteboard.

    7.5k GitHub stars~1.9k tokensUpdated 2 days ago
    Media & CreativeAuto-check passed
  • H3 Cinematic Director

    jtydhr88/ComfyTV

    Convert approved scripts, shot briefs, storyboards, keyframes, character sheets, scene assets, prop sheets, and sound briefs into director-level storyboards and production-ready MiniMax H3 prompts.

    1.1k GitHub stars~2.7k tokensUpdated 4 days ago
    Media & CreativeAuto-check passed
  • Scroll Promo Site Builder

    kangarooking/kangarooking-skills

    Create a scroll-controlled cinematic product website with rich motion (动效网站) from product materials, reference pages or videos, and brand assets.

    662 GitHub stars~2.6k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed

More from dmccreary/ibook-skills

All 32 skills in this repo
  • Book Publisher

    dmccreary/ibook-skills

    Publishes and promotes a finished intelligent textbook - GitHub README with badges and site statistics, LinkedIn announcement posts, LinkedIn carousel document posts (PPTX/PDF slideshows), and…

    105 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Linkedin Carousel Generator

    dmccreary/ibook-skills

    Generates a 13-slide LinkedIn carousel (a "document post" — PPTX/PDF) that showcases an intelligent textbook's key features, with real screenshots, mascot art, and metrics pulled from the project.

    105 GitHub stars~3.7k tokensUpdated yesterday
    Auto-check passed
  • Add Xapi Events To Microsim

    dmccreary/ibook-skills

    A skill your agent uses when the user wants an existing MicroSim or chapter quiz to record what students do with it.

    105 GitHub stars~5.6k tokensUpdated yesterday
    Auto-check passed
  • Diagram Reports Generator

    dmccreary/ibook-skills

    Generates a status report of all diagrams and MicroSims across an intelligent textbook's chapters, including difficulty, Bloom's level, and UI complexity.

    105 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • DOCX To Web Publisher

    dmccreary/ibook-skills

    Converts .docx files (papers, briefs, reports) into styled React component pages in a Next.js content-catalog site.

    105 GitHub stars~2.2k tokensUpdated yesterday
    Auto-check passed
  • Book Media Generator

    dmccreary/ibook-skills

    Generates media for intelligent textbooks - slide decks and presentations (MARP web decks in docs/slides/ or PowerPoint .pptx lecture downloads), illustrated stories and graphic novels…

    105 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed

Questions about Story Generator

What does Story Generator do?

Generates illustrated graphic novel narratives about scientists, mathematicians, and historical figures for intelligent textbooks, with image prompts for each panel. Story Generator is an agent skill from dmccreary/ibook-skills. Generates illustrated graphic novel narratives about scientists, mathematicians, and historical figures for intelligent textbooks, with image prompts for each panel.

When should I use Story Generator?

Story Generator fits situations like: adding historical-figure; case-study stories to a textbooks Stories section.

How do I install Story Generator in Claude Code?

Run `npx skills add dmccreary/ibook-skills --skill story-generator -a claude-code`. Or copy the skill folder (skills/archived/story-generator in dmccreary/ibook-skills) into .claude/skills/story-generator in your project. Claude Code loads it when a task matches its description.

How do I install Story Generator in Codex?

Run `npx skills add dmccreary/ibook-skills --skill story-generator -a codex`. Or copy the skill folder (skills/archived/story-generator in dmccreary/ibook-skills) into .agents/skills/story-generator in your project. Codex loads it when a task matches its description.

Can I use Story Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dmccreary/ibook-skills --skill story-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/story-generator, .gemini/skills/story-generator, .github/skills/story-generator and .opencode/skills/story-generator in your project.

What does Story Generator need to run?

Going by SKILL.md and its folder, Story Generator needs Python and a shell for the scripts in its folder, the command-line tools its instructions call (python3 and pip) and credentials named GEMINI_API_KEY. Our summary lists: Python 3; A Bash shell.

Does Story Generator access the network?

SKILL.md names 5 domains. In commands or code: en.wikipedia.org, dmccreary.github.io, mathshistory.st-andrews.ac.uk and britannica.com; the agent is likely to contact these when it follows the instructions. As links in the text: aistudio.google.com. This is read from the text; nothing was executed.

Is Story Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Story Generator use?

No licence was found for Story Generator or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Story Generator use?

About 10k tokens (SKILL.md is roughly 42k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Story Generator?

Skills that share tags, products or a category with Story Generator: Canghe Comic (freestylefly/canghe-skills, 461 stars), Tutti UI System (tutti-os/tutti, 3.8k stars), 3D Animation Short Generator (tl2012tl/comfyUI-llama-TE, 241 stars) and Text to PNG Card Caster (lijigang/ljg-skills, 7.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Story Generator?

dmccreary (a GitHub user) maintains it in dmccreary/ibook-skills, which has 105 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on October 9, 2026.

Source: dmccreary/ibook-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.