chapter-illustration

chapter-illustration is a skill for Claude Code, Codex from alfredxw/denova. It costs 26 tokens per session (435 once invoked), scanned A, original, Apache-2.0.

A chapter-art workflow that reads a selected story chapter and creates one illustration for it. The image is saved in the workspace's assets/illustrations folder.

In plain words
What is it for?
Choosing a visually compelling moment, writing a Chinese image prompt and alt text, and generating chapter artwork.
Why use it?
It helps authors add chapter artwork while avoiding spoilers about later events, reversals, or hidden identities.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: agent in frontmatter.

Good fit Choosing a visually compelling moment, writing a Chinese image prompt and alt text, and generating chapter artwork.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alfredxw/denova/chapter-illustration
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 alfredxw/denova --skill chapter-illustration
Clone the repo
git clone --depth 1 https://github.com/alfredxw/denova

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 chapter-illustration

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alfredxw/denova/chapter-illustration"><img src="https://agentmods.dev/badge/skills/alfredxw/denova/chapter-illustration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 435 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.00026 $0.00435
Opus 5 $0.00013 $0.00217
Sonnet 5 $0.00005 $0.00087
Haiku 4.5 $0.00003 $0.00044

Measured 9d ago against content hash 6c52b7c2b633, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

chapter-illustration 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 9d 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.

skills/chapter-illustration/SKILL.md · 36 lines

What it actually says

Chapter Illustration

Use this Skill when the author requests an illustration for a chapter or the editor sends /chapter-illustration.

Workflow

  1. Determine the target chapter path:
    • Use the chapter path explicitly provided by the user.
    • Otherwise, use the chapter currently focused in the IDE context.
    • If no chapter is focused, identify the most recent chapter from the workspace summary or chapters/ directory.
  2. Read the target chapter before composing the image prompt. If the selected path is not a chapter, ask the user to select one.
  3. Choose a visually compelling, spoiler-free moment from the chapter. Do not reveal future reversals, hidden identities, or undisclosed canon.
  4. Write a clear Chinese image prompt containing the subject, scene, composition, lighting, style, and mood, with explicit negative constraints against text, watermarks, and logos.
  5. Call the general generate_image tool with:
    • purpose: chapter_illustration.
    • target_path: the target chapter's relative path.
    • prompt: the complete Chinese image prompt.
    • alt_text: a Chinese description suitable for a Markdown image.
    • size: optionally choose a supported 2K, 3K, or 4K size based on the composition; otherwise omit it and use the default policy.
    • output_format: png or jpeg; omit it when uncertain.
  6. After the tool returns, briefly report what was generated and tell the user to use the illustration card's insertion action. Do not repeat the Markdown image reference in a fenced code block. Do not edit the chapter prose automatically.

Constraints

  • Generate exactly one chapter illustration per request.
  • Do not generate batches of candidates.
  • Do not use file-write tools to insert Markdown image syntax into the chapter.
  • If the user asks to insert the result, prefer the UI insertion action.
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. 9d ago First seen · 36 lines · 26 tokens per session scan A 6c52b7c2b633

Subscribe to this mod's changes

chapter-illustration is a skill published in the GitHub repository alfredxw/denova (696 stars, last pushed yesterday), licensed Apache-2.0. It adds 26 tokens to every session and 435 once invoked, about $0.0001 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.