novel-staging
给 AI 短剧的每一场排开场站位:先从场景图里认出能站能坐的东西(推算到俯视平面上), 再按剧本给每一场排谁在哪件东西的哪一侧、坐还是站、面朝哪、有没有群演, 程序写出每一场的开场走位句,分镜这一场第一段照抄它。 默认交付能拖动调整站位的 HTML 工具报告,页面内可导出 staging.json;JSON 同时作为工作数据保存,Markdown 按需导出。 8 道质量门全部由脚本确定性检查(认图件数、东西在图上、出场人物不多不少、在场的人落在认出来的东西上、 同一侧不叠人、群演写明在哪……)。吃 novel-script 的 script.json 和 novel-art 的 art.jso…
Install / Use
npx skills add eternityspring/shuohao-skills --skill novel-stagingInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Content & MediaSupported Platforms
Our assessment of novel-staging
novel-staging scores 91/100 on our quality scale, 356th of 1,197 Content & Media skills we index (top 30%).
Its SKILL.md is 5.2 KB long, well organised into 12 sections with 7 code examples: a solid amount of guidance for an agent.
With 3,759 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 28 days ago, so novel-staging is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
novel-staging compared with similar skills
All 4 of these similar skills score higher than novel-staging; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| novel-staging (this skill)by eternityspring | 91 | 3.8k | 28d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 101.0k | 2d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 77.5k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 89.2k | today | MCP Server |
| crawl4aiby unclecode | 100 | 86.1k | today | MCP Server |
Frequently asked questions
- How do I install novel-staging?
- Run
npx skills add eternityspring/shuohao-skills --skill novel-staging. The install tabs above show the steps for each supported agent. - Which AI agents does novel-staging work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is novel-staging safe to use?
- It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is novel-staging still maintained?
- The repository was last updated 28 days ago, so novel-staging is actively maintained.
Skill content
View source on GitHubname: novel-staging version: 1.0.1 description: | 给 AI 短剧的每一场排开场站位:先从场景图里认出能站能坐的东西(推算到俯视平面上), 再按剧本给每一场排谁在哪件东西的哪一侧、坐还是站、面朝哪、有没有群演, 程序写出每一场的开场走位句,分镜这一场第一段照抄它。 默认交付能拖动调整站位的 HTML 工具报告,页面内可导出 staging.json;JSON 同时作为工作数据保存,Markdown 按需导出。 8 道质量门全部由脚本确定性检查(认图件数、东西在图上、出场人物不多不少、在场的人落在认出来的东西上、 同一侧不叠人、群演写明在哪……)。吃 novel-script 的 script.json 和 novel-art 的 art.json 预填骨架。 零依赖、零 API key。 Use when asked to 站位、开场站位、群戏站位、谁坐在哪、排座位、走位、blocking、staging for AI short drama。 allowed-tools:
- Read
- Write
- Bash
- Task
- Glob triggers:
- novel-staging
- 站位
- 开场站位
- 群戏站位
- 排座位
- 走位
- blocking
- staging
metadata:
license: Apache-2.0
requires:
bins:
- node # >= 18,只用标准库,无 npm 依赖 runtimes:
- claude-code
- codex
novel-staging
给 AI 短剧的每一场排开场站位:这一场一开始,每个出场的人在哪件东西旁、坐还是站、面朝哪。
为什么要单独排:短剧的每一段视频是一次独立生成,各段自己决定谁坐哪。群戏里六个人围一张长桌,第一段桌边多出五个没名字的宾客,第三段端酒坐着的人穿着主角的衣服。分镜的走位句一段接一段地交接,可每一场第一段的那一句是分镜自己编的,人看不到、改不动。所以在分镜之前,每场先定一份站位,分镜照抄。
| 交付 | 解决什么 | | --- | --- | | 认图结果(每个地点 4–20 件东西) | 站位只落在图上真有的东西旁——提示词里写了、图上没画的高台,人坐上去,每段视频都不一样 | | 俯视平面 | 在透视的场景图上「桌子北侧」只是桌子后面一小条,前后深浅说不清;摆平了从上往下看,方位一目了然 | | 开场站位(每场) | 谁开场就在、谁后来才进;坐还是站跟着剧本;主位、对立、孤立用位置说出来 | | 开场走位句 | 程序按站位写,一字不差交给分镜:「胡二爷坐在第三排坐板上,面朝北;其余座位空着,没有其他人。」 | | 能调整的报告 | 人在页面上拖动、改坐站和朝向,改完导出就是新的 staging.json,不用手改 JSON |
{baseDir} = 本文件所在目录。脚本 {baseDir}/scripts/novel-staging.mjs,零依赖,node 直接跑。
边界(不做的事):不写分镜、不写剧本、不出图。只管开场那一刻——中途谁站起来、走到哪,是分镜的事,分镜从这一刻往后接着写。
Step 0 — 定输入
- script.json(novel-script 的产出)——硬前提:有哪几场、每场在哪个地点、谁出场、剧本怎么写的
- art.json(novel-art 的产出)——地点的名字;还没有图时,按它的锚点和主视角提示词推算
- outline.json(novel-outline 的产出)——人物编号对应的名字(C01 → 沈知微)
- 场景图——每个地点一张,放在
images/<地点名>-sheet.png(novel-art 的设定图版面,主视角在左上)。最好有:站位要落在图上真有的东西旁。没有图也能先排,但只是草稿(见 Step 2)
Step 1 — seed 骨架
node {baseDir}/scripts/novel-staging.mjs seed <script.json> --art <art.json> --outline <outline.json> > <workdir>/staging.json
确定性搬运:地点(按第一次出现的顺序)、每一场的集号场号、在哪个地点、光照时段、出场人物,每个人一条空的站位。这些事实不要让模型重新想一遍。 只要其中几集就加 --eps 1-3。
Step 2 — 认图(每个地点一次)
每个地点一份任务,能并发就并发。读 {baseDir}/references/read-pass.md,照着做:看场景图的主视角,认出人会站在旁边、坐在上面的东西,每件写名字、另一种语言、图上的框(box)、平面上的位置(plan)、能不能坐(on)、是不是圆的(round),4–20 件,readFrom 写 picture。
最重的两条:图里看不到的不写(提示词里有、图上没有的一律不写);plan 按透视推算,不是照抄 box。
还没有图:按 art.json 的锚点和主视角提示词推算,readFrom 写 prompt、不写 box。报告会标出来;图出来以后重新认一遍、核对站位。
Step 3 — 排站位(每场一次)
每场一份任务,能并发就并发(同一个地点连着几场的,按顺序排,保持位置连贯)。读 {baseDir}/references/staging-pass.md,拿这一场的剧本、出场人物和这个地点认出来的东西,给 places 里每个人填:开场在不在(present)、在哪件东西(item)的哪一侧(side)、沿这一侧多远(along)、坐还是站(posture)、面朝哪(facing);再填群演(extras / extrasWhere)和一句 why。
最重的三条:后来才进来的人开场不在;剧本没写有别人就没有群演;只使用认出来的那些东西。
Step 4 — 校验 ⛔ 不能跳
node {baseDir}/scripts/novel-staging.mjs validate <staging.json> --script <script.json> --art <art.json>
8 道质量门全是代码:每个地点认了图且 4–20 件、东西的名字不重复且框合法(按图认的必须有 box)、每一场的地点都有认图结果、出场人物不多不少(给了 --script 还核对跟剧本一致)、每个人都定了在不在场且至少一人在场、在场的人落在认出来的东西上且方位坐站朝向合法、同一侧不叠人、群演人数是整数且写明在哪。
有违规逐条修,改完重跑,直到通过。
Step 5 — 默认交付 HTML 工具报告
cd <输出目录>
node {baseDir}/scripts/novel-staging.mjs render staging.json > staging-report.html
默认主交付是 staging-report.html,完成后直接给用户报告链接或路径,不要只返回 JSON、Markdown 或一段聊天摘要。 render 不指定格式时直接输出 HTML,显式 --html 仍然支持。staging.json 作为工作数据保存,供校验、再次渲染和后续交接;仅在用户需要文本版时执行 render staging.json --md > staging.md。
staging-report.html 双击就能开,每一场一张俯视平面:
- 拖动一个人换位置,松手时落在最近那件东西最近的一侧;拖回下面的托盘就是开场不在,从托盘拖进来就是在场
- 点一下一个人,调整坐着/站着、朝向(八个方位)
- 群演加减、写在哪;开场走位句和这一场的检查跟着实时更新
- 改动存在浏览器里,刷新不丢;**「导出 JSON」**下载改过的 staging.json
把导出的文件覆盖回 staging.json,再跑一次 Step 4。报告界面默认中文,--lang en 出英文界面(走位句改用认图时写的另一种语言名字)。图在别处就用 --images <目录> 指过去。
用户也可以用一句话要求调整(「把胡二爷挪到船头」):照 staging-pass.md「按一句话调整」改,只动说到的人,再校验。
Step 6 — 交给分镜
node {baseDir}/scripts/novel-staging.mjs blocking staging.json # 每场一行:场次 + 开场走位句
node {baseDir}/scripts/novel-staging.mjs blocking staging.json --lang en # 英文
分镜写每一场第一段的开场走位(novel-storyboard 的 blocking)时,照抄这一句;之后各段照旧由上一段的段末走位接下去。
先提供 HTML 工具报告链接或路径,再用一句话说清:几个地点(几个按图认的、几个按提示词推算的)、几场、几场有人开场不在、群演多少;没过的门明说。JSON 是配套工作数据,Markdown 不是默认交付项。
最终落地:
<输出目录>/
├── staging-report.html ← 默认主交付,双击打开,拖动调整并导出 JSON
├── staging.json ← 工作数据,供校验、渲染和后续交接
└── images/ ← 本 skill 不写这个目录
└── <地点名>-sheet.png ← novel-art 的场景设定图放这儿,认图和报告都使用它
在管线里的位置
novel-outline → outline.json (人物名字)
novel-art → art.json (地点 + 场景图)
novel-script → script.json (每一场谁出场、怎么演)
novel-staging → staging.json (每一场开场谁在哪)
novel-storyboard → storyboard.json(每一场第一段的开场走位照抄 staging)
seed 吃 script.json,--art 给地点名字,--outline 给人物名字。novel-storyboard 目前不自动读 staging.json:使用 blocking 命令打出的句子,写进分镜每场第一段的 blocking。
边界
- 只排开场那一刻;中途换位置归分镜
- 本 skill 不出图;场景图是 novel-art 的设定图出完以后放进
images/ - 方位一律按场景说(东南西北、在哪件东西旁),不按画面说(左右)——画面左右由机位推出,机位一换就翻
自测
node {baseDir}/scripts/selftest.mjs
99 项断言,不调模型、不花额度。8 道质量门每一道都有击穿用例;平面几何、拖动落点、走位句、seed、报告(中英界面、转义、嵌图)都覆盖;还会单独拿嵌进页面的那份算法的源码重建一份,核对跟命令行算的一样。改完脚本先跑这个。
自带样例
{baseDir}/examples/渡口-staging.json:《渡口》三个地点(渡口栈桥、渡船船舱、对岸芦苇滩)、九场的开场站位,全部质量门通过(对着样例剧本和美术)。样例没有场景图,三个地点都是按设定提示词推算的(readFrom: prompt)。当质量基准,也是自测夹具。
Related Skills
Agent-Reach
101.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
77.5kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Scrapling
89.2k🕷️ A Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
crawl4ai
86.1kOpen-source web crawler and scraper for LLMs and AI agents: any website into clean, LLM-ready Markdown. Run it yourself, or use Crawl4AI Cloud with one key. Join our Discord https://discord.gg/VuxzM8mtf
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
