by zenstory-ai
AI 短剧与漫剧制作 Agent 技能包:小说改剧本、视觉设定、分镜、生图/生视频提示词与剪辑成片,适配 Claude Code / Codex 等 | Agent skills for AI short dramas & motion comics
# Add to your Claude Code skills
git clone https://github.com/zenstory-ai/drama-skillsGuides for using ai agents skills like drama-skills.
Last scanned: 8/25/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-08-25T04:37:12.576Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how drama-skills compares with popular alternatives.
drama-skills is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by zenstory-ai. AI 短剧与漫剧制作 Agent 技能包:小说改剧本、视觉设定、分镜、生图/生视频提示词与剪辑成片,适配 Claude Code / Codex 等 | Agent skills for AI short dramas & motion comics. It has 4,818 GitHub stars.
Yes. drama-skills passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/zenstory-ai/drama-skills" and add it to your Claude Code skills directory (see the Installation section above).
drama-skills is primarily written in Python. It is open-source under zenstory-ai on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh drama-skills against similar tools.
No comments yet. Be the first to share your thoughts!
Based on votes and bookmarks from developers who liked this skill
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
https://github.com/user-attachments/assets/640db65d-bd57-4924-83de-9c5852c1db26
上面这段 68 秒竖屏样片是《让你管账号》第 1 集开头:由一部 20 章小说改编,拆成 20 镜逐镜生成后剪成成片,字幕、系统面板与音效在剪辑阶段叠加。视频生成成本约 40 元。
https://github.com/user-attachments/assets/f67e2e04-52e7-42a9-a4a0-e2864ff0f51e
Drama Skills 覆盖 AI 短剧与漫剧从点子或原著到成片的全流程:原著分析 → 分集剧本 → 视觉设定 → 图片提示词与分镜 → 视频提示词 → 确认后生产 → 剪辑成片 → 审查。它以 12 个技能的形式装进你常用的编程 Agent(Claude Code、Codex 及其他支持 Agent Skill 规范的环境),直接使用当前 Agent 的模型写作。
这套技能脱胎于我们漫剧工作室的日常产线:2025 年以来累计做过上千个 AI 短剧和漫剧项目,近 8 万行代码的一体化图形工具跟不上模型迭代后,我们把工程做法和提示词经验提炼成这套技能,改用 Agent CLI 加纯文本文件管项目,内部工具只留排队生成。
剧本.md、视觉设定.md、分镜.md、图片提示词.md、视频提示词.md,剪辑时加一份 剪辑单.md;只做部分阶段就交付对应文档。GROUP-* 多镜合生)、配音和配乐任务均支持整批预览,在文件里列清数量、内容、参考图与参数,明确确认后再批量调用外部接口;平台密钥留在项目外,文档与前置技能不绑定特定平台。创作指导层与自动化脚本的边界:各技能中的创作方法、剧本/分镜/提示词规范与审查视角不绑定语言、画幅或目录布局,可以直接用于任意语言或已有项目;本地自动化脚本(跨文档检查、创作台、生产交接与剪辑渲染)目前面向标准中文项目结构,要求使用上述五份中文文档与
剪辑单.md的约定文件名及中文 Markdown 字段。
前提:已在用 Claude Code、Codex 或其他支持 Agent Skill 规范的编程 Agent,终端可执行 npx(Node.js)。
npx skills add zenstory-ai/drama-skills -y -g
-g 为全局安装,去掉则只装到当前目录;更新时重跑同一条命令即可。带脚本的 7 个技能需要 Python 3.9 或更高版本(其余 5 个纯知识文档技能零运行依赖),short-drama-edit(剪辑成片)与 short-drama-breakdown(对标视频测量/反推)另需安装 ffmpeg / ffprobe;启用可选 Remotion 复杂画面文字面板或动态字幕叠层时另需 Node.js / npm / npx(纯普通字卡场景支持 --screen-text-mode 降级至 ffmpeg 直出,无需安装 Node/Remotion)。
支持直接导入 GitHub 仓库的平台(如 WorkBuddy,见社区整理的完整用法),也可以直接对 Agent 说:
安装这些技能 https://github.com/zenstory-ai/drama-skills
git clone https://github.com/zenstory-ai/drama-skills.git && cd drama-skills
# Claude Code
mkdir -p "$HOME/.claude/skills"
for skill in skills/*; do
ln -s "$PWD/$skill" "$HOME/.claude/skills/$(basename "$skill")"
done
# Codex
mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills"
for skill in skills/*; do
ln -s "$PWD/$skill" "${CODEX_HOME:-$HOME/.codex}/skills/$(basename "$skill")"
done
每个技能目录都可独立安装;只用某一项能力时软链对应目录即可。short-drama 负责项目初始化、阶段调度与本地创作台。
也可在 ClawHub 中查找安装(清单见 .clawhub/publish.json)。技能本身统一使用宿主中立的技能名(如 short-drama、short-drama-write),调用前缀随运行环境而变:Claude Code 用 /short-drama,Codex 用 $short-drama,其他支持 Agent Skill 规范的环境直接用技能名或自然语言描述任务;下文示例统一以 $ 为例,按所用宿主替换或省略前缀即可。
版本变更见 CHANGELOG.md 与 Releases;旧项目升级见「升级到新版本后要做什么」。
按实际项目修改下面的请求即可发送给 Agent:
# 0. 有原著时(可选):先抽样快评,再决定要不要整本拆
用 $short-drama-novel-analyze 快评 输入/这本小说.txt,先告诉我值不值得拆
# 有对标剧或参考视频时(可选):拆解节奏差距,或把成片视频反推成剧本与制作文档
用 $short-drama-breakdown 拆解 输入/对标/ 里的标杆剧并对照本项目节奏差距(也可直接把视频反推成标准《剧本.md》)
# 已有多集完整剧本时(可选):先识别分集边界,逐集读取并续做分集大纲
用 $short-drama-develop 从 输入/剧本完整版.txt 生成分集大纲;先识别分集方式,不要整稿塞进上下文
# 1. 新建项目
用 $short-drama 初始化一个都市打脸题材的短剧项目,竖屏 9:16
# 2. 写第一集
用 $short-drama-write 写第 1 集:外卖员在高档餐厅被经理羞辱,亮出集团董事身份
# 3. 整理视觉设定,写提示词与分镜(可在同一条请求内连续完成)
用 $short-drama-assets 从第 1 集整理人物、场景和道具设定
需要统一全剧画风时,可选用 $short-drama 做视觉定调(Lookdev)
用 $short-drama-image-prompts 为已定稿的人物、场景和道具写参考图提示词
用 $short-drama-storyboard 给第 1 集拆分镜并写首帧提示词
用 $short-drama-video-prompts 把分镜逐镜写成视频提示词(同场相邻短镜可按需合并为 GROUP-* 多镜合生分组)
# 指定目标视频模型并要求跨镜一致时,一并说明参考图绑定方式:
用 $short-drama-video-prompts 按 MiniMax H3 写第 1 集视频提示词;先在项目里找已有角色图、场景图、道具图和本镜起始帧绑成参考,缺哪张列出来,不要改成文生视频
# 参考图在外部界面出、不进项目时,让技能写出逐镜挂图计划:
用 $short-drama-video-prompts 按 MiniMax H3 写第 1 集视频提示词;参考图我自己挂,逐镜写清挂哪几张、什么顺序、每张管什么
# 4. 明确确认后投产(支持单条或整批确认与断点续跑)
用 $short-drama-produce 批量预览第 1 集已定稿的图片、视频(含 GROUP-* 合生分组)、配音或配乐任务;等我确认后再执行
# 5. 剪成成片
用 $short-drama-edit 把第 1 集已生成的镜头剪成成片,逐段写清入出点理由
# 6. 按需审查
用 $short-drama-review 审查第 1 集的剧本与提示词
从小说原著起步、首轮只交文字稿时:
读一下
输入/故事.txt,先理出不能改的关键设定、人物动机和前期要藏住的悬念,再给出一套分集方案(别直接拿章节数当集数)。这轮只写第 1 集剧本,并挑三个关键镜头写清起止动作、手部姿态、持物和视线方向;先只交文字稿,不生图、生视频或配音。
下面节选来自仓库样例与实测运行,省略处标为「……」。原著快评回填对照、设定兑现表、剪辑实测与模型摸底记录见真实产出节选。
公开样例 《让你管账号》EP001 中,同一个镜头在四份文档里各管一层。剧本只写戏剧动作与对白:
[OS] 其他军团的人:火箭军?四个号,加起来四个粉吧。
笔记本的扬声器里一片哄笑。桌后,周薄森对着屏幕坐得笔直,脸绷着。桌前,江晨双手撑着桌沿,猛地回神。
视觉设定.md 给跨镜不变的穿着加上「连戏锁」,「锁定词」是可原样贴入提示词的固定短语:
- 连戏锁:LOCK-JIANGCHEN-DRESS《江晨松枝绿常服》(镜头:SHOT-EP001-002、SHOT-EP001-003、SHOT-EP001-007、……;
图片提示词项:IMG-JIANGCHEN-SHEET)· 锁定词:pine-green lapel service jacket
分镜.md 写明这一镜的起止画面与运镜动机;「首帧提示词」只画开场定格,原样带入锁定词:
## SHOT-EP001-002 · 四个号,四个粉
- 运镜:缓推,哄笑声最响时开始,越过笔记本背面推向桌后,停在周薄森绷紧的脸;这阵笑是冲他去的。
- 起点:周薄森面对笔记本坐得笔直,右手搭在茶杯旁;江晨双手掌心朝下撑在玻璃桌沿,眼神涣散。
- 终点:画面停在周薄森绷紧的脸与屏幕冷光;江晨仍撑着桌沿,留在画右边缘。
### 首帧提示词
> 9:16 vertical two-person medium shot in a present-day army arts-troupe office, framed at chest height: Jiangchen, a lean
> young man in a pine-green lapel service jacket, stands mid-ground on frame right …… with both palms flat on the glass and a
> dazed, unfocused look; Zhoubosen, a broad square-faced middle-aged officer, sits bolt upright behind the desk …… facing a
> thin silver laptop whose lid faces the camera, …… his right hand beside a double-walled glass tea tumbler on a dark round
> coaster; …… no text, no logo.
视频提示词.md 只写起点到终点之间的动作推进与运镜,整段复制进生成界面就能用:
## MOTION-EP001-002 · 四个号,四个粉
### 可复制提示词
> …… Laughter keeps pouring out of the laptop's small speaker. The seated officer's jaw tightens and his back straightens a
> little more. The young man blinks once and his eyes snap into focus. At the loudest point of the laughter, the camera moves
> steadily forward past the back of the laptop and stops when the seated officer's tight face fills the middle of the frame,
> the young man remaining at the right edge. ……
四份原文:剧本.md · 视觉设定.md · 分镜.md · 视频提示词.md。
creator_markdown_check.py 遵循软门禁原则:只有 100% 确定性的机械与安全问题(跨文档 ID 悬空、路径缺失、时长不等、槽位语法错误)才输出阻断级 ERROR,启发式事项仅输出 WARNING 提醒 Agent 复核。把样例故意改坏两处——把 SHOT-002「出场设定」里的「周薄森」写错成「周博森」、把 MOTION-003 的时长从 2 秒改成 3 秒——报错会直接指出问题镜头与修法:
ERROR: SHOT-EP001-002: 出场设定指向不存在的《视觉设定.md》条目: 人物「周博森」
ERROR: SHOT-EP001-003: 分镜时长 2 秒与视频提示词 3 秒不一致;视频提示词时长必须与分镜一致
各阶段按需调用:只出文字稿时写到目标阶段即可交付,任意现有文稿都可单独送审;静态漫剧可从首帧图片与配音直接进入生产和剪辑。
flowchart LR
classDef phase fill:#e8f4fd,color:#1a1a2e,stroke:#4a9be8,stroke-width:1px
classDef final fill:#fce4ec,color:#333,stroke:#e57373,stroke-width:1px
nva["原著分析<br/>$short-drama-novel-analyze"]:::phase
brk["对标拆解<br/>$short-drama-breakdown"]:::phase
dev["故事开发<br/>$short-drama-develop"]:::phase
write["分集剧本<br/>$short-drama-write"]:::phase
assets["视觉设定<br/>$short-drama-assets"]:::phase
img["图片提示词<br/>$short-drama-image-prompts"]:::phase
sb["分镜/首帧<br/>$short-drama-storyboard"]:::phase
vid["视频提示词<br/>$short-drama-video-prompts"]:::phase
prod["确认后生产<br/>$short-drama-produce"]:::phase
cut["剪辑成片<br/>$short-drama-edit"]:::phase
rev["审查<br/>$short-drama-review"]:::final
pkg["成片与交付包"]:::final
nva -.有原著时.-> dev
brk -.有对标剧时.-> dev
cut -.成片对照.-> brk
dev -.可选.-> write --> assets
assets --> img
assets --> sb --> vid
img --> prod
vid --> prod
prod --> cut --> rev --> pkg
| 技能 | 职责 |
|---|---|
short-drama |
项目初始化、阶段调度、视觉定调(Lookdev)与本地创作台 |
short-drama-novel-analyze |
长篇原著抽样快评、章节索引、逐章梳理、脉络节奏分析与分集建议 |
short-drama-develop |
原著改编、多集整稿切分与续拆、核心矛盾设定、分集大纲、导演阐述与题材钩子手册 |
short-drama-write |
单集剧情目标、因果节点、可拍分集剧本与片场制作稿格式 |
short-drama-assets |
人物与换装造型、场景与机位朝向、道具状态变化、角色声线及跨镜连戏锁 |
short-drama-image-prompts |
视觉定调风格帧、角色/场景/道具参考图提示词与局部改图说明 |
short-drama-storyboard |
场次站位调度与多机位比选、剧本逐句落镜、起止画面与首尾帧提示词 |
short-drama-video-prompts |
单镜动作推进、多人调度与视线转移、运镜、声音、GROUP-* 多镜合生、补拍说明及跨镜配乐表 |
short-drama-produce |
单条或整批预览图片/视频(含 GROUP-* 合生分组)/配音/配乐任务,明确确认后批量调用接口生成并支持断点续跑;内置支持 Seedance、O |