Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

story-generator

БесплатноЗапускает вложенные скриптыНе проверен

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

dmccrearyот dmccreary★ 115 звёзд на GitHub

Об этом скилле

Story Generator

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 total), but the panel count is configurable: simpler stories can be told in 6–8 panels, and synthesis stories can run to 16. Each panel includes a narrative paragraph below it and a detailed image-generation prompt in a collapsible <details> block.

As of the 2026-04 skill update, the skill can also automatically generate every panel image (1 cover + N panels) natively at 16:9 (1344×768) via multiple text-to-image APIs including Google Gemini and OpenAI gpt-image-1. Current cost for high-quality images with accurate text placement is approximately $0.039 per image (so ~$0.51 for a default 13-image story, or ~$0.27 for a 6-panel story). See "Step 3.5: Generate Images" below.

The --panels N Argument

The skill accepts an optional --panels N argument that controls how many numbered panels the story has. The cover image is always produced separately, so a story has N + 1 total images.

  • Default: --panels 12 (the classic graphic-novel arc)
  • Recommended range: 4 to 16
  • Below 4: the arc has no room to develop; consider whether you want a story at all
  • Above 16: the reader is paying attention to a lot of pictures; split into two stories

How to choose N:

Story shape Suggested N
Single technique, before/after only 6
Linear discovery (audit → fix → result) 7–8
Mystery + reveal + multi-step fix 9
Full historical-figure life arc 12 (default)
Multi-chapter synthesis or capstone montage 14–16

How users invoke it:

The user types something like:

/story-generator The Cache That Wasn't --panels 8

When you receive --panels N in the user's invocation, treat N as the canonical panel count for the rest of the workflow. If no --panels argument is given, default to 12.

Why this works without script changes:

Both generate-images.py and verify-images.py count <details>...Image Prompt...</details> blocks in index.md to determine how many images to produce or verify. They do not hardcode 12. Whatever panel count you write in index.md is what the scripts will generate and verify — no flag needed on the script side.

When to Use This Skill

Use this skill when:

  • The user requests a new graphic novel story about a scientist, mathematician, engineer, or other historical figure
  • Adding a story to a Stories / History section of any intelligent textbook
  • Creating educational narrative content with embedded image prompts
  • The user mentions "story", "graphic novel", or "narrative" about a historical figure
  • The user says "give me some ideas for graphic-novel stories" — triggers the Story Ideas Generator workflow (see below)

Story Ideas Generator

When the user says "give me some ideas for graphic-novel stories", generate a curated list of mini-graphic novel ideas tailored to the current textbook's subject matter. Save the result to docs/stories/story-ideas.md. Each idea should include a suggested panel count (typically 6 to 12) chosen to match the natural shape of that story — see the Panel Count guidance above. Don't default everything to 12; tight 6–8 panel stories are often stronger than bloated 12-panel ones.

Workflow

Step 1: Analyze the Textbook's Subject Matter

Read the following files to understand the textbook's topic, audience, and key themes:

  1. docs/course-description.md — the course title, description, target audience, and learning objectives
  2. mkdocs.yml — the site name and nav structure for additional context
  3. docs/learning-graph/learning-graph.csv (if it exists) — the concept list and taxonomy categories

Extract:

  • The subject domain (e.g., theory of knowledge, geometry, functions, biology)
  • The target audience (e.g., IB students, AP students, grades 9-12)
  • The key themes and concepts from the course description and learning graph

Step 2: Generate Story Ideas

Create a list of 15-20 story ideas that connect to the textbook's subject matter. Each story idea should be a mini-graphic novel concept with a suggested panel count between 6 and 12 (or up to 16 for synthesis/capstone stories).

Diversity requirements — draw from ALL of these categories:

  1. Historical figures — scientists, mathematicians, engineers, inventors, and philosophers whose work directly relates to the textbook's topics
  2. Diverse innovators — people from underrepresented groups (women, people of color, Global South contributors) who made significant contributions to the field
  3. Science vs. dogma — stories of people who used evidence and reason to challenge religious dogma, political orthodoxy, or institutional resistance
  4. Fighting misinformation — stori
Полный SKILL.md на GitHub

Установить story-generator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/index-template.mdscripts/fix-references.pyscripts/generate-images.pyscripts/uncomment-images.shscripts/verify-images.py

FAQ

Что делает скилл story-generator?

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.

Как установить скилл story-generator?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл story-generator запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить story-generator с