story-cover

story-cover is a skill for Claude Code, Codex from uu201/character-arc. It costs 77 tokens per session (3,510 once invoked), scanned A, original, MIT.

An image-generation workflow for creating novel covers with the book title and author name included. It determines a likely genre and style from the book information, then uses GPT-Image-2 to create the cover.

In plain words
What is it for?
Use it to make covers for online novels, including genre-specific layouts and vertical output. It can create a new cover or use a supplied image as a visual reference.
Why use it?
It turns basic book details into a complete cover concept without requiring the user to design the artwork manually. A reference image can also guide the result.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to make covers for online novels, including genre-specific layouts and vertical output. It can create a new cover or use a supplied image as a visual reference.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uu201/character-arc/story-cover
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 uu201/character-arc --skill story-cover
Clone the repo
git clone --depth 1 https://github.com/uu201/character-arc

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 story-cover

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/uu201/character-arc/story-cover"><img src="https://agentmods.dev/badge/skills/uu201/character-arc/story-cover.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,510 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 224
    Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
    Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
  • high Tool Misuse · line 224
    Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
    Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
  • medium Data Exfiltration · line 33
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 157
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 210
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 178
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00077 $0.03510
Opus 5 $0.00039 $0.01755
Sonnet 5 $0.00015 $0.00702
Haiku 4.5 $0.00008 $0.00351

Measured 11d ago against content hash 1604cc2f9c11, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

story-cover scanned grade A with 1 finding 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- curl
resources/skills/oh-story-claudecode/story-cover/SKILL.md · 289 lines

How it starts

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

story-cover:小说封面生成

你是小说封面设计师。根据书名和题材,调用 GPT-Image-2 一次性生成包含书名和作者名的完整封面。

核心原则:封面是读者的第一印象,一眼传达题材和氛围。


环境变量

变量 必填 默认 说明
GPT_IMAGE_API_KEY OpenAI 或兼容代理的 API Key
GPT_IMAGE_BASE_URL https://api.openai.com/v1 兼容代理时改这个
GPT_IMAGE_MODEL gpt-image-2 仅在测试新模型时覆盖
GPT_IMAGE_SIZE 1024x1536 gpt-image-2 要求两边为 16 倍数、比例 ≤ 3:1
BOOK_DIR 输出目录,建议 ./covers/<书名>
REF_IMAGE 参考图本地路径或 URL;设置后走 images/edits 图生图

备注:gpt-image-2 始终返回 base64,请求体不要带 response_format(旧 DALL-E 参数,gpt-image 系列不支持)。


生成流程

Step 1:收集信息

必填:书名、作者名(笔名)、目标平台、输出目录 BOOK_DIR(建议 ./covers/<书名>,调用前 export) 选填:参考图 REF_IMAGE(本地路径或 URL,设置后切换到图生图)、风格偏好、尺寸(默认竖版 1024x1536)

根据目标平台确定封面风格,加载 references/cover-styles.md 获取详细平台和题材风格。

Step 1.5:题材判定

扫描书名(必要时简介)中的关键词,对照 references/cover-styles.md 的「题材推断规则」表选定题材。

  • 单题材命中 → 直接采用
  • 多题材命中 → 按优先级取一:仙侠 > 西幻 > 古言 > 现言 > 都市 > 悬疑 > 科幻 > 历史 > 灵异 > 轻小说
  • 零命中 → 默认 都市

Step 2:构建提示词

提示词 = 文字层 + 风格层 + 画面层,全部用英文编写。

文字层:书名 + 作者名字体设计

在提示词中直接包含中文书名和作者名,GPT-Image-2 可直接渲染。重点描述字体风格

Title text '书名' at top center in [书名字体风格].
Author name '作者名' at bottom center in [作者名字体风格].
书名字体风格
题材 描述关键词
玄幻/仙侠 bold golden brush calligraphy with metallic glow and sharp strokes
都市 modern bold sans-serif with metallic silver finish
古言/宫斗 elegant golden traditional Kai script with ornate decoration
现言/甜宠 soft rounded handwritten style in white with pink glow
悬疑/推理 distorted bold cracked letters in blood red
科幻/末世 neon glowing futuristic font in electric blue
西幻 metallic embossed fantasy lettering with glow effect
历史/军事 heavy stone-carved seal script in deep red
灵异/恐怖 eerie dripping handwritten font in sickly green
轻小说 colorful cartoon outlined bubbly font

Read the full file on GitHub · 289 lines

Files

What ships with it

1 file 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. 11d ago First seen · 289 lines · 77 tokens per session scan A 1604cc2f9c11

Subscribe to this mod's changes

story-cover is a skill published in the GitHub repository uu201/character-arc (559 stars, last pushed today), licensed MIT. It adds 77 tokens to every session and 3,510 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories