shuohao-skills README

项目的 README,来自 github.com/eternityspring/shuohao-skills。合并为一个 markdown 文件:README.md。

shuohao-skills

Agent-agnostic skills for AI short-drama production

English | 中文 | X @eternityspring

Skills · Install · Requirements · Repository conventions

👋 Open to work / collaboration — I'm between jobs right now, and this repo is what I build in that spare time. Happy to hear from anyone this resonates with. Besides remote work, I'm also open to a half-collaboration: a few thousand RMB a month for living costs plus a profit share. On-site trips are possible where the work genuinely needs them. What I'm really after is finding people on the same wavelength to build something in this AI wave. Email: [email protected] · Résumé: resume.79px.com · WeChat hao_dev (please mention github when you add me)

These skills are free and open source, built and battle-tested on real AI short-drama production. If they save you an afternoon, consider buying me a coffee on Ko-fi ☕ — it keeps the updates coming.

❤️ Sponsor

Want to appear here?

Click to collapse
APIMart Thanks to APIMart for sponsoring this project! APIMart is a low-cost API platform for AI image & video generation — GPT-Image-2 from $0.006/image, 160+ images per dollar. One async API covers both image and video: submit a task, get an ID, fetch results via polling or callback. Batch tens of thousands of images without timeouts, switch models without changing code. Pay-as-you-go with no monthly fee — sign up here to get started.
Reelbench Studio Reelbench Studio is a paid AI video workspace built by the author of these skills, delivered as source code that runs offline. Local Codex handles understanding, breakdown and orchestration, a self-hosted ComfyUI generates the images and video, and your assets and projects stay on your own machine.
赛博班底 mini program code 赛博班底 is a WeChat mini program built by the author of these skills: reference images for AI short video, covering characters, costumes, expressions and more, filterable by category and tag. Every image comes with a Chinese prompt you can copy in one tap, and you can long-press the full-size image to save it. Scan the code on the left in WeChat to open it.

Skills

Agent-agnostic skills for AI short-drama production — from a novel to shoot-ready material: character bibles, adaptation outlines, scene & prop bibles, screenplays, opening staging, and storyboards. Each skill is self-contained and works with any Agent that can read SKILL.md and run the bundled scripts; Claude Code and Codex are two supported examples, not requirements.

The repository now contains seven skills: six production stages plus standalone character reference generation. The outline settles the adaptation; characters, art, and screenplay iterate together; staging fixes each scene's opening positions before storyboarding.

flowchart TD
    novel[Source novel] --> outline[novel-outline]
    outline --> characters[novel-characters]
    outline --> art[novel-art]
    outline --> script[novel-script]
    characters <--> art
    art <--> script
    script <--> characters
    characters -. Character designs .-> refs[character-refs]
    art --> staging[novel-staging]
    script --> staging
    staging -->|Copy opening blocking| storyboard[novel-storyboard]
    refs -. Reference images .-> storyboard
    storyboard --> production[Video production packs]
Skill What it does
novel-outline Adapts a novel into a five-piece short-drama outline: adaptation notes, cast, beats, per-episode synopses, asset list (including a narrative-prop table). All 14 quality gates are script-checked; includes a checkup mode for existing outlines
novel-characters Turns the cast the outline settled on into a character bible: profiles, design prompts, voice prompts, model sheets. Seeds the roster from outline.json; report language is configurable
character-refs Actually generates reference images for characters from any story (not just novels — your own original story works too): describe a character in one message; it is split into fields, gaps filled and confirmed, then a front full-body anchor is generated and every other view (headshot, 90° profile, back, details) references only that anchor, in on-demand tiers. Every image is labeled and individually regenerable, with staleness tracked. Works with Qwen Image (ComfyUI), codex image generation, the GPT Image 2 API, or a custom command
novel-art Art bibles for AI production (scenes + narrative props): consistency anchors, lighting & state variants, scale references, no-people/no-hands white plates. Seeds from outline.json; all 10 quality gates script-checked
novel-script Screenwriting for AI short drama: scenes + beat flow (action beats alternating with dialogue lines), per-episode duration deterministically estimated from reading speed, a gated cold-open hook in the first 3 beats, a per-character line book with voice prompts that feeds straight into TTS. All 10 quality gates script-checked
novel-staging Plans opening positions from the screenplay and scene images: each character’s seat or standing position, facing direction, opening presence, and extras. Produces staging.json, an editable top-view report, and opening blocking sentences for the storyboard. All 8 quality gates script-checked
novel-storyboard Storyboarding for AI short drama: segments (one generation, ≤15s) → cuts (2–5s hard gate) → keyframes (master pinned at 0.00s, sub-frames at their cut marks), with MiniMax H3 prompt alignment and cut times audited verbatim; frames actually generated with the design sheets as references, plus one-command H3 / Seedance production packs. All 18 quality gates script-checked

All six pipeline skills render their reports in English too — reports default to a Chinese UI; pass --lang en to render for a fully English report (data content stays as authored). character-refs ships Chinese, English and Japanese UIs too, and translates on the spot for other languages.

Scene Staging: inputs, outputs, and handoff

novel-staging runs after the screenplay and before the storyboard. It reads script.json for scenes and cast; art.json supplies locations, outline.json supplies character names, and scene images show the objects people can stand beside or sit on. The screenplay is required; the other inputs improve the result. Without scene images, positions inferred from the art specification are marked provisional. These files can come from any producer; no other skill installation is required.

Output What it provides
staging.json Opening presence, anchor object, side, position, posture, facing, and extras for every scene
staging.md (optional) Text export with inventories, position tables, and opening blocking sentences
staging-report.html (default) Interactive tool report with a draggable top view and live checks; export edits back to JSON
blocking command output One opening blocking sentence per scene, ready to copy into its first storyboard segment

An Agent reads the scene images and plans the staging; the bundled Node.js tools seed the data, check the eight gates, render reports, and generate the blocking sentences. The HTML tool report is the default user-facing result and opens locally in a browser. JSON is working data; Markdown is generated only on request. To try the completed sample from the repository root:

node skills/novel-staging/scripts/novel-staging.mjs validate skills/novel-staging/examples/渡口-staging.json --script skills/novel-staging/references/test-fixtures/upstream/渡口-script.json --art skills/novel-staging/references/test-fixtures/upstream/渡口-art.json
node skills/novel-staging/scripts/novel-staging.mjs render skills/novel-staging/examples/渡口-staging.json --lang en > staging-report.html
node skills/novel-staging/scripts/novel-staging.mjs blocking skills/novel-staging/examples/渡口-staging.json --lang en

The storyboard does not automatically import staging.json yet. Give the Agent the accepted opening blocking sentences and ask it to copy each one into the first segment of its scene. This stage outputs staging data and reports; it does not generate images or video. See the skill guide for authoring a new staging plan.

One page for five stage reports

The assembler currently supports outline, characters, art, screenplay, and storyboard. It does not include the staging report or character-refs gallery. These five supported reports can be merged into a single page with a left-hand nav — you get a pane for every supported stage you actually have:

node scripts/report.mjs --from <demo-dir> --out report.html

--from discovers the five json files using the working-directory convention; you can also point at each one directly (--outline --cast --art --script --storyboard). Ran only the character pass? You get one pane, no error.

It is an assembler, not a separate skill: it imports no skill code, it shells out to each skill's own render --html and stitches the results. So the five skills stay untouched, still run standalone, and are still copyable on their own — and when a skill changes its rendering, this picks it up for free.

Merging solves three problems, all of them inside the assembler, none inside the skills:

One pane shows at a time by default (the five together run to roughly 600k characters). "Show all" in the bottom-left expands every pane so Cmd+F reaches the whole document. Number keys 1–5 switch panes, and #pane-script deep-links straight to one.

node scripts/report-selftest.mjs   # 92 assertions, no browser needed

Reports from the six production stages:

novel-outline · short-drama adaptation outline

Adaptation outline report

novel-characters · character bible

Character bible report

novel-art · art bible (scenes + props, sheets actually generated by the skill)

Art bible report

novel-script · screenplay (duration gauge + episode scripts + line book)

Screenplay report

novel-staging · opening staging (a top view you drag people on, then export)

Staging report with English UI

novel-storyboard · storyboard (cut rhythm strip + master/sub keyframes actually generated by the skill + H3 prompts)

Storyboard report

No novel needed for this one — real reference images for any character:

character-refs · character references (anchor by GPT, the rest by Qwen, all actually generated by the skill)

Character references report

Install

git clone https://github.com/eternityspring/shuohao-skills.git
cd shuohao-skills
./scripts/install.sh

The installer currently detects Claude Code and Codex and symlinks every skill into place — so git pull takes effect immediately, with no reinstall. The skills themselves are not tied to either runtime. For any other Agent, copy or symlink the skill directory into its skills directory, or load its SKILL.md directly.

./scripts/install.sh novel-characters   # just one skill
./scripts/install.sh --codex            # only into codex
./scripts/install.sh --uninstall        # remove the symlinks

Prefer to do it by hand:

AGENT_SKILLS_DIR=/path/to/your-agent/skills
ln -s "$PWD/skills/novel-characters" "$AGENT_SKILLS_DIR/novel-characters"
ln -s "$PWD/skills/novel-characters" ~/.claude/skills/novel-characters
ln -s "$PWD/skills/novel-characters" ~/.codex/skills/novel-characters

Requirements

Required? Notes
Node Yes ≥ 18. The skill scripts use only the standard library — no npm dependencies, nothing to install
Model quota Yes Uses your current session's quota. No API key needed
Agent runtime Yes Any Agent that can read SKILL.md and run the bundled Node.js scripts. Claude Code and Codex are supported examples
Image model Only for character-refs One of: your own ComfyUI (Qwen Image), local codex image generation (uses your ChatGPT plan quota), an OpenAI API key (GPT Image 2), or a custom command. Chosen on first use

Note on output language. These skills are Chinese-first. novel-characters produces Chinese character profiles even for an English source novel, and its validator actively rejects English in those fields. See that skill's README for what it would take to change.

Repository conventions

One directory per skill, self-contained and copyable on its own:

skills/<skill-name>/
├── SKILL.md          the workflow the agent reads (required)
├── README.md         the docs a human reads
├── scripts/
│   ├── <name>.mjs    deterministic helpers, zero dependencies
│   └── selftest.mjs  self-test, never calls a model (required)
├── references/       detailed instructions, loaded on demand
├── examples/         bundled samples that double as test fixtures
└── assets/           screenshots

Two hard requirements:

Run every self-test before adding a skill:

for f in skills/*/scripts/selftest.mjs; do node "$f"; done

There is no CI — the self-tests run in about a second, so running them locally beats waiting on a pipeline. Only tested on macOS with Node 24; there is no platform-specific code, so Linux and older Node releases should be fine, but that is unverified.

Star history

Star History Chart

License

Apache 2.0

shuohao-skills (eternityspring/shuohao-skills)

正在搜索数据库…

这是什么?一套用来把小说制作成 AI 短剧的智能体技能:它从小说中拆解出角色、构建改编大纲、生成美术/道具设定集、撰写剧本并切分分镜。它在 Claude Code 或 codex 里作为编程智能体运行。
这是一个应用,还是一批可供挑选的独立技能?它是一组独立的技能文件夹(novel-outline、novel-characters、character-refs、novel-art、novel-script、novel-storyboard);每个都自带 SKILL.md、可以单独复制出去独立运行,也可以串成完整的五阶段管线。
怎么把它装进我的智能体?运行安装脚本:它会自动检测你配置的是 Claude Code 还是 codex,并把每个技能软链接到位,这样之后 'git pull' 会立即生效,无需重装。如果你愿意,也可以手动创建软链接。
除了 Claude Code 或 codex 还需要什么?Node.js 18 或更新版本——技能脚本只用标准库,所以不需要 npm install。五个管线技能只用你现有的模型会话配额,不需要单独的 API key。
图像生成需要额外配置吗?只有 character-refs 技能需要,而且首次使用时你要从四个选项里挑一个:自己的 ComfyUI 加 Qwen Image、codex 内置的图像生成(消耗你的 ChatGPT 订阅配额)、用于 GPT Image 2 的 OpenAI API key,或自定义命令。
它在 Linux 和 Windows 上也能用吗,还是仅限 macOS?它只在 macOS 加 Node 24 上验证过。作者指出代码没有调用任何操作系统专属的东西,所以 Linux 理论上应该能正常跑,但未经证实;完全没提 Windows。
五个管线技能各自实际产出什么?novel-outline 产出改编大纲(角色表、钩子列表、分集梗概、素材清单);novel-characters 构建带肖像和语音提示的角色设定集;novel-art 制作场景/道具美术设定集;novel-script 撰写带时长标尺的完整剧本;novel-storyboard 把剧本切分成带 H3 提示词的分镜并导出制作包。
能在小说管线之外为某个角色生成参考图吗?可以,character-refs 技能是独立的:用一句话描述角色,确认解析出的字段,它就会生成一张正面锚点图,外加与该锚点关联的头部特写、90 度侧面、背面和细节图。
能把五份报告放在一起看,而不是五个单独的 HTML 文件吗?可以,一个单独的组装脚本会把五份报告合并成一页并带左侧导航;它不导入任何技能的代码,只是调用每个技能的 render --html 并拼接输出,同时对 CSS/JS 做作用域隔离,避免五份报告互相冲突。
生成的报告只有中文吗?报告默认是中文,但运行 render --lang en 会产出完整的英文报告(底层数据保持不变);character-refs 还额外支持日文报告界面。
大小
15.2 MB
星标
6.8K
更新
提交Nov 09
时长
3个月
提交 · 90 天