aliang-picturebook-audiobook

aliang-picturebook-audiobook is a skill for Claude Code, Codex from aliang2052/aliang-skills. It costs 134 tokens per session (1,198 once invoked), scanned A, original, MIT.

A Chinese-language workflow for turning a story idea into a children’s audiobook picture book using Alibaba Cloud’s Bailian command-line tool. It can assemble a web flipbook and optionally audio or video files.

In plain words
What is it for?
Use it for bedtime stories and illustrated children’s books, with selectable art styles, multiple voices, a web version, and optional MP3 or MP4 exports.
Why use it?
It coordinates story writing, sectioning, text-to-speech voices, consistent illustrations, and assembly so these parts do not have to be produced and joined manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool.

Good fit Use it for bedtime stories and illustrated children’s books, with selectable art styles, multiple voices, a web version, and optional MP3 or MP4 exports.

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

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 aliang-picturebook-audiobook

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aliang2052/aliang-skills/aliang-picturebook-audiobook"><img src="https://agentmods.dev/badge/skills/aliang2052/aliang-skills/aliang-picturebook-audiobook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,198 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.
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.00134 $0.01198
Opus 5 $0.00067 $0.00599
Sonnet 5 $0.00027 $0.00240
Haiku 4.5 $0.00013 $0.00120

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

Security

Grade A, and why

aliang-picturebook-audiobook 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/build_audiobook.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/aliang-picturebook-audiobook/SKILL.md · 62 lines

What it actually says

儿童有声绘本制作

把一个主题做成有声绘本:AI 写故事 → 分段 → 多音色配音 → 统一画风配图 → 合成网页版(+可选视频/音频)。全程用百炼 bl CLI,最后用本 skill 的脚本组装。

前置

  • bl (百炼 CLI) 必须可用,已登录(bl auth status 可查)。
  • 导出 mp4 / 合并音频需要 ffmpeg(网页版不需要)。

工作流(4 步)

开工前先和用户确认 2 件事(其余用默认):① 故事主题(必问);② 要哪些产物(网页版默认必出;是否再加 mp4 视频 / 纯音频 mp3)。段数默认 6、年龄默认 4-8 岁、画风默认水彩绘本,用户没特别要求就别追问。

1. 生成故事 → story.json

references/story_prompt.md,填好主题/段数,用 bl text chat --message "<prompt>" --output json 生成,按该文件的解析片段提取成 story.json

  • json.loads 报错(多为对白用了英文引号),强调 prompt 第 7 条重新生成,不要手工修补
  • 生成后把 story.json 的角色/分段简要念给用户看一眼。

2. 选画风(按故事内容推荐,用户确认)

references/styles.md,按故事题材匹配出推荐画风,再用 AskUserQuestion 把 7 种预设给用户挑(推荐项放第一个标「(推荐)」)。例如中国神话题材推荐「国潮插画」。用户选定后作为下一步的 --style 值。

3. 配音 + 配图(脚本一把梭)

画风定了后,直接跑构建脚本,它会逐段 TTS + 文生图并组装产物:

python3 scripts/build_audiobook.py --story story.json --outdir <项目目录> --style <画风名> [--web] [--video] [--merge-audio] [--all]
  • --style 传预设名(见 styles.md)即可;不传默认「水彩绘本」;也可传自定义画风描述文字。
  • 不带产物标志默认只出网页版;--all = 网页+音频+视频。
  • 音色自动分配(旁白固定 + 角色轮流),情绪用 rate/pitch 表达。细节与坑见 references/voices.md,动手前务必读它(最关键:系统音色加 --instruction 会报 428,所以禁止用 instruction)。多音色生效的前提是故事 segments 的 speaker 分给了不同角色(见 story_prompt.md 第 6 条)。
  • 改了文字/换画风后只重跑:换 --style 重跑即可;只重建网页(不重出媒体)加 --skip-media

4. 交付

产物在 <项目目录>/index.html(网页版,双击或 open 即看)、audio/seg_NN.wavimages/seg_NN.png,以及可选 <标题>.mp4<标题>_audio.mp3。最后用 open index.html 给用户预览。

产物形态

  • 网页版(默认):单 HTML 翻页播放器,逐段大图+字幕+朗读,音频播完自动连播,支持上/下一段、进度条、圆点跳转、键盘 ←/→/空格。模板见 assets/player_template.html
  • mp4 视频版:图片+音频用 ffmpeg 合成 720p 视频,发抖音/视频号用。
  • 纯音频 mp3:各段合并成一个文件,喜马拉雅/睡前播放用。

story.json 结构

{
  "title": "书名",
  "characters": [{"name":"旁白","role":"narrator","trait":"温柔讲述者"}],
  "segments": [{"id":1,"speaker":"旁白","text":"朗读文字(对白用中文全角引号)",
    "emotion":"温柔讲述","image_prompt":"该段画面描述","voice":"<可选,覆盖音色>"}]
}

segments 数量任意;emotion 取值见 references/voices.md 的映射表。

Files

What ships with it

6 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. 12d ago First seen · 62 lines · 134 tokens per session scan A d311f61276c6

Subscribe to this mod's changes

aliang-picturebook-audiobook is a skill published in the GitHub repository aliang2052/aliang-skills (26 stars, last pushed 3mo ago), licensed MIT. It adds 134 tokens to every session and 1,198 once invoked, about $0.0007 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.

Related

Other skills, from other repositories

dramaclaw

A skill for answering identity and self-introduction questions, and for working with the DramaClaw/NovelVideo pipeline. The description also covers turning novels or stories into short vertical videos.

dramaclaw/dramaclaw · 360 tokens

ai-comic-script

A Chinese-language guide for creating complete scripts for AI-generated animated short dramas, from the initial idea through episode planning and finished scenes.

jis60224/ai-comic-skills · 146 tokens

ai-comic-visual-assets

A skill that turns a script into reusable AI image prompts for its main characters, settings, and props. It also defines file names, folders, and reference-image steps for visual consistency.

jis60224/ai-comic-skills · 297 tokens

ai-comic-storyboard

A storyboard tool for turning an existing AI-comic script into a shot-by-shot production table. A storyboard lists what appears in each shot, how the camera moves, what characters do, the dialogue or sound, the timing, and the assets used.

jis60224/ai-comic-skills · 309 tokens

ai-comic-video-prompts

A skill that converts an existing shot list—a plan describing each video shot—into one complete prompt per shot for AI video tools such as Vidu. It includes the shot framing, camera movement, actions, dialogue, sound effects, and referenced assets.

jis60224/ai-comic-skills · 301 tokens

comic-mv-director

A production planner for animated stories, short dramas, music videos, and other AI video projects. It first decides whether the project is music-led or story-led, then plans storyboards, images, video, music, and editing.

ShuaiMXu/mv-skills-bundle · 229 tokens