sd-script-engine

sd-script-engine is a skill for Claude Code, Codex from lixiaoxiao9888-create/manju-laoli-skill. It costs 637 tokens per session (5,923 once invoked), scanned A, original, MIT.

A script-writing and novel-adaptation workflow for Chinese short animated dramas. It develops characters and story structure, plans episodes, writes scenes, and reviews the resulting screenplay.

In plain words
What is it for?
Use it to turn a novel, web story, outline, or existing script into an episode-based screenplay with traceable sources and performance-ready dialogue.
Why use it?
It gives a long adaptation project a fixed sequence and keeps the source, story decisions, episodes, dialogue, and review connected.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to turn a novel, web story, outline, or existing script into an episode-based screenplay with traceable sources and performance-ready dialogue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lixiaoxiao9888-create/manju-laoli-skill/sd-script-engine
About the project

漫剧老李 is an AI-assisted audiovisual production skill that guides the process from script development through storyboarding and prompts for video models. It is intended for AI short dramas, animated dramas, advertisements, previs, and other video projects where visual consistency across shots matters. The catalogue skill supplies the workflow and rules that coding agents can use to carry out this production process.

lixiaoxiao9888-create/manju-laoli-skill · 1,658 stars · on GitHub

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 lixiaoxiao9888-create/manju-laoli-skill --skill sd-script-engine
Clone the repo
git clone --depth 1 https://github.com/lixiaoxiao9888-create/manju-laoli-skill

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 sd-script-engine

README.md
[![agentmods](https://agentmods.dev/badge/skills/lixiaoxiao9888-create/manju-laoli-skill/sd-script-engine/github.svg)](https://agentmods.dev/skills/lixiaoxiao9888-create/manju-laoli-skill/sd-script-engine)
Your own site
<a href="https://agentmods.dev/skills/lixiaoxiao9888-create/manju-laoli-skill/sd-script-engine"><img src="https://agentmods.dev/badge/skills/lixiaoxiao9888-create/manju-laoli-skill/sd-script-engine/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 sd-script-engine

Your own site · 80×15
<a href="https://agentmods.dev/skills/lixiaoxiao9888-create/manju-laoli-skill/sd-script-engine"><img src="https://agentmods.dev/badge/skills/lixiaoxiao9888-create/manju-laoli-skill/sd-script-engine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 637 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,923 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.00637 $0.05923
Opus 5.5 $0.00255 $0.02369
Sonnet 5.5 $0.00127 $0.01185
Haiku 4.5 $0.00064 $0.00592

Measured 3d ago against content hash 440386ffd6e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sd-script-engine 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 3d 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.

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.

sd-script-engine/SKILL.md · 222 lines

How it starts

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

sd-script-engine · 剧本创作与小说改编引擎

一、角色定位

把用户提供的小说、网文章节、故事大纲或已有剧本,改编成来源可追溯、人物有记忆点、全局设定稳定、分集完整、台词可演、上下集自然衔接且经过独立质量审核的专业文字剧本项目。

本引擎是六阶段编剧链(来源登记 → IP 与角色开发 → 全剧开发圣经 → 分集规划 → 正式剧本 → 五席圆桌审核)的唯一权威执行者。只交付剧本开发成果;不生成资产库、角色资产 ID、导演分镜、灯光剪辑方案、视频提示词、图片、音频或视频。

二、与总控和套装的关系

  • 完整管线从总控 short-drama-director 进入:总控锁系统(〇·0 赛道 / 〇·1 素材来源 / A·模型 / B·画幅 / C·交付 / D·段缝)先锁定,再进入本引擎;本引擎行文只写「按总控锁系统执行」,不重复定义锁系统。
  • 〇·1 素材来源为 ③ 对标爆款 / ④ 热点速成 时,sd-recon-engine 先出《对标情报卡》并经用户确认,再进本引擎(见 §五·第 -1 步)。《对标情报卡》是"来源"不是"设定依据"——本引擎在「① 来源登记」保留其来源与分级(T1/T1.5/T2),不得把 T2 讨论升格为事实、不得把卡中「推断」升格为「事实」、不得把同一稿的转载算成多个独立来源。
  • 本引擎只负责管线的「文字剧本」阶段。六阶段全部批次经用户接受后,剧本交付物(含 HANDOFF_CARD 与禁改项清单)交给 sd-asset-engine 进入资产锁定,随后才是分镜、打戏、投喂封装与质检。
  • 总控已有的五阶门控剧本引擎与台词七维诊断继续有效。本引擎的六阶段链是它的上游扩展:六阶段产出锁定分集卡与锁定剧本后,回到总控门控体系做终检;台词写作以总控台词七维诊断为准绳,本引擎规则库中的台词规则与其配合使用,不另立标准。
  • 投喂格式(七段式 / H3 六段式)、机检脚本(validate_prompt.py)、「图N」资产编号体系、《资产图册》《剧组产出册》台账的唯一权威都在总控;本引擎在任何阶段都不得另立投喂格式或资产编号。

三、触发词与进入

触发词:写剧本、改编小说、小说转剧本、剧本改编、分集、分集规划、开发圣经、故事圣经、IP开发、剧本审核、圆桌审核、剧本精修、圆桌评审。

用户直接说「写剧本 / 改编小说 / 小说转剧本」等触发词且尚未在完整管线中时,先声明:完整制作(资产、分镜、视频)请从总控 short-drama-director 进入;并先确认赛道(〇·0:1 国内剧 / 2 海外剧 / 3 解说类 / 4 其他)与素材来源(〇·1:1 原创 / 2 改编 / 3 对标爆款 / 4 热点速成)——两锁未确认不进入创作;本引擎只完成文字剧本链,产出后可继续走 sd-asset-engine。

自动识别输入是完整小说、小说节选、大纲、已有剧本或续接项目;自动识别已有交付物和当前最后锁定阶段,不要让用户手工说明内部阶段编号。模式未确定前只登记来源和识别材料类型,不生成正式 IP。用户已经明确模式时不得重复询问。

四、来源与事实权威链

始终遵守:

用户提供的小说事实 > 锁定IP > 锁定故事圣经 > 锁定分集规划 > 当前剧本 > 圆桌意见

区分 FACT、INFERENCE、ASSUMPTION、USER_OVERRIDE 和 OPEN_ITEM。不得把市场套路、评审偏好或模型推断改写成小说事实。允许压缩、合并、可视化、用户授权重排和不改变核心事实的连接材料;禁止自由新增关键身份、能力、证据、关系、规则、胜负、谜底或结局。

五、工作流程:前置双锁确认 → 外来剧本检测 → 模式选择 → 六阶段 → 门禁

第 -1 步:前置双锁确认(〇 · 0 赛道 + 〇 · 1 素材来源 · 先于模式选择 · 扩为双锁)

本步在全流程最前面,任何模式选择与创作之前完成。 赛道规程以总控 short-drama-director/references/track-routing.md(★权威)为准;素材来源规程以总控 §〇·1 与 sd-recon-engine/SKILL.md 为准。

请先确认两件事(前置双锁 · 均先于模式选择):

〇·0 赛道(第零道锁):
1. 国内剧     —— 红果 / 抖音付费强爽 / 漫剧等中文短剧
2. 海外剧     —— 非中文正文 / 北美等真实地域口语 / 多语 / 方言项目
3. 解说叙事类 —— 解说 / 拉片 / 盘点 / 历史人物 / 历史事件 / 科普(正式赛道 · 挂载 sd-jieshuo-engine)
4. 其他       —— 广告片 / 宣传片 / PREVIS 等

〇·1 素材来源(第 1 道锁 · 与赛道正交可组合):
1. 原创       —— 从零构思
2. 改编       —— 已有小说 / 网文 / 大纲 / 剧本
3. 对标爆款   —— 指定一部剧,先采风出《对标情报卡》
4. 热点速成   —— 只给方向,先找选题方向

回复示例:1 + 3(国内剧 · 对标爆款)

Read the full file on GitHub · 222 lines

Files

What ships with it

7 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. 3d ago Changed 440386ffd6e3
  2. 4d ago Changed 0184034f39fb
  3. 9d ago First seen · 222 lines · 637 tokens per session scan A ed82816f5312

Subscribe to this mod's changes

sd-script-engine is a skill published in the GitHub repository lixiaoxiao9888-create/manju-laoli-skill (1,658 stars, last pushed 4d ago), licensed MIT. It adds 637 tokens to every session and 5,923 once invoked, about $0.0025 per session on Opus 5.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-10-16.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

component-fixtures

Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.

microsoft/vscode · 53 tokens