---
name: comic-drama-skill
description: 中文动态漫短剧/漫剧（AI漫剧、漫改动态漫）的创作与改编：选题诊断、IP或网文漫改、男频玄幻/末世/系统项目、女频CP情感项目、开头黄金三秒、场戏参考检索、60-100集分集、漫剧剧本格式、视觉动态写法、追更留存、长线连续性、机制级仿写。触发词：漫剧, 动态漫, AI漫剧, 漫剧剧本, 漫改短剧, 场戏参考, 分镜感, 黄金三秒, 系统流, 规则怪谈。不适用：真人短剧、电影长片剧本、纯网文/小说创作——请用对应的影视或写作技能。
---

<!-- online-auth-upgrade -->
<!-- online-runtime-policy:start -->
## Online Authorization

This online build is locked. Before reading protected references, searching protected libraries, diagnosing, writing, or generating task output, verify authorization through the Tencent Cloud service.

- Skill ID: `comic-drama-skill`
- Verification: activation code or phone credential plus local device fingerprint.
- Protected references and databases live on the server.
- HTTPS-only server: `https://superskill.online`
- Never send credentials, device identity, authorization caches, searches, or protected requests over HTTP. If HTTPS is unavailable, fail closed instead of retrying a plaintext endpoint. `WOO_API_BASE` overrides must also use HTTPS.
- Public skill updates are checked before protected database authorization. If the server reports a newer public package, download only the public skill package, verify it, back up the old folder, replace it, then restart the conversation if `SKILL.md` changed.
- If the local skill folder cannot be replaced because of permissions, stop automatic replacement and show the latest public package URL, SHA256, version, and manual install rule. The zip filename may include a date suffix, but the extracted root folder and `SKILL.md` name must remain `comic-drama-skill`.
- Always display the exact formal Skill ID `comic-drama-skill`. Do not replace it with a translated name, product nickname, or invented alias.
- On every new conversation, run `ensure-auth` first. It reuses a valid local cache or refreshes an expired/missing cache with the last credential. States such as `local_cache_expired_refreshable` are not evidence that the cloud license expired.
- If the server returns `SKILL_MISMATCH`, stop this Skill and show the exact `authorized_skill_ids` and their safe guide/download targets. Tell the user to install that formally named Skill; do not reset the device or claim the authorization expired.
- For other authorization failures, show the client's structured `error_code` and safe reason. Old servers may still return the generic compatibility message.

Required first step:

```bash
python3 scripts/online_version_guard.py status
python3 scripts/auth_client.py ensure-auth
```

Only if `ensure-auth` reports `credential_missing`, ask for the activation code or phone number:

```bash
python3 scripts/auth_client.py ensure-auth --credential <ACTIVATION_CODE_OR_PHONE>
```

Use remote protected data only through:

```bash
python3 scripts/auth_client.py search "<query>" --top-k 6
python3 scripts/auth_client.py worldview-search "<abstract worldview query>" --top-k 6
python3 scripts/auth_client.py list-refs
python3 scripts/auth_client.py read-ref <name>
```

## Mandatory Creative Retrieval Gate 创作检索硬门

For every creative task—including diagnosis, adaptation, outline, scene, dialogue, script, generation, continuation, and rewrite—do not produce creative content until:

1. The public version check and authorization succeed.
2. At least one task-specific `auth_client.py search` succeeds; project-scale or batch work requires at least two complementary searches.
3. An internal retrieval intake records each adopted anonymous card id, transferable mechanism, intended placement, and originality boundary.
4. Unusable results are reformulated up to two times. If every API base fails, do not claim database use; report degraded mode and obtain permission before continuing without protected evidence.
5. The creative delivery ends with a one-line receipt: `云端机制库：检索 N 次，返回 N 条，采用功能：……`.

After the first successful bind, later commands omit `--credential`; the client reuses the most recent credential and automatically refreshes the local cache when necessary. The stable machine identity is shared by Codex and Claude when they run as the same local OS user; an isolated machine identity is allowed only in explicit test mode. Exceptions to the creative retrieval gate are limited to install/update/auth troubleshooting, format-only conversion, or non-creative organization of user-supplied text. Queries must abstract private material and must not send unpublished names, full plots, trade secrets, or long source passages.


## Optional Worldview Retrieval 世界观可选检索

This Skill explicitly enables its own server-side worldview retrieval profile. Call it only for an explicit worldbuilding, rule-system, faction, resource-order, power-system, or long-project continuity need:

```bash
python3 scripts/auth_client.py worldview-search "<abstract worldview query>" --top-k 6
```

The profile is selected server-side from the exact formal Skill ID; the public package contains no database path, terminal-field mapping, ranking weights, or shared fallback. `worldview-search` does not replace or satisfy the mandatory Skill-specific `auth_client.py search`. Supplied canon remains authoritative during adaptation.

Treat the worldview source as a read-only server database. Originalise any adopted mechanism and write the resulting project-specific rule only to the project worldview ledger, recording its trigger, limits, costs, continuity effect, and originality boundary. Never write project names, project content, or generated rules back to the server database.

When used, add a separate receipt: `世界观检索：因……触发，检索 N 次，采用规则功能：……；项目规则已写入项目世界观账本。`


Runtime policy v4 requires HTTPS-only API transport and reads `runtime_policy.full_text_mode` plus the optional `runtime_policy.worldview_retrieval` contract from `online-version.json`: `evidence_required` requires usable anonymous full-text evidence, `evidence_optional` allows it as supplemental evidence, `capability_probe_only` is only an endpoint probe, and `unavailable` disables it. A probe, unavailable full-text endpoint, or optional worldview result never satisfies the mandatory protected creative search above.

Online runtime precedence: any later protected-reference operation, protected library search, optional worldview retrieval, or protected full-text operation maps exclusively to the authorized `auth_client.py read-ref`, `search`, `worldview-search`, or `full-text-search` command. Local protected paths and scripts are non-executable in this edition. Protected data is not present in the public package.
<!-- online-runtime-policy:end -->




# Comic Drama Skill 漫剧创作

把中文动态漫短剧当作视觉优先的高密度爽感短剧来开发。每个重要剧情点都要变成画面、动作、反应链、音效或屏幕可读规则，而不是小说式铺陈。

## Hard Output And Source Gates 硬性产出与来源门

- 用户只提供素材或想法、却未说明产物时，先用一条消息给出：完整项目包、选题/IP诊断、分集大纲、首集样稿、世界观/系统机制设计，并等待确认。用户已指定产物或集数时直接执行。
- 除非用户明文要求全量正文，默认只交第 1 集样稿、关键场或指定集数区间；分集表、人物弧、世界观账本和项目包不算全量正文。
- 创作任务的基础云端机制检索始终执行。IP 改编中的具名事实、世界规则与角色关系以用户提供的原著为准；云端结果只补结构、压力、视觉化和长线机制。
- 若还需额外世界观/系统/副本/法则机制，使用同一个 `auth_client.py search` 路径，不启用独立客户端，不覆盖已锁定的原著事实。
- 任何云端结果都不得移植具名设定、人名、地名、组织名、系统名、专有术语、原句或可识别组合。

## Operating Policy 工作原则

- 本 skill 的标准产物是可用的**漫剧项目包**，不是零散建议。在交付物确认门中，完整漫剧项目包是推荐选项；用户确认后按 `云端规则资料` 的 Integrated Output Skeleton 完整交付。用户选择其他交付物时，按对应骨架子集交付，也必须是可直接使用的成品，不输出泛泛建议。轻量任务骨架见 `云端规则资料`。
- 默认仿写边界是**机制级仿写**：只借鉴压力逻辑、钩子功能、视觉揭示节奏、误会循环、系统成长设计、分集升级；不复用人物、桥段、台词、具体场景、章节顺序或可识别的组合。
- 长项目、续写、20+集分集、多轮改稿：维护**项目连续性圣经**（锁定设定、世界规则/能力账、人物状态、关系债、线索/揭示账、分集状态账、未回收钩子、变更记录），方法见 `云端规则资料`。
- 主要角色必须有**角色声纹表**（语言声纹、直给红线、绝不会说的话、信息边界与释放节奏）；写对白前先核对；反声纹台词必须有事件支撑并更新连续性账。
- 剧本正文格式（强制）：一律套用云端规则资料中的**华语短剧剧本格式**——`第N集` / `集号-场号 地点 内外 日夜` / `人物：` / `△动作·画面·音效行` / `角色 ：台词`（内心独白用 `角色（OS）`、旁白用 `（VO）`/`旁白：`、系统提示用 `系统：`/`字幕：`），全角中文标点。禁止真人短剧的 INT./EXT. 场景指示与小说式段落；只有用户明文要求其他格式时才可偏离。此格式与公开包的 `qa_generated_script.py` 校验同源，偏离会使 QA 与体量/场数门失效。

## Cloud Data Layers And Task Routing 云端资料路由

Protected rules, mechanism cards, scene evidence, dialogue anchors, and full-text evidence remain on the authorized server. Route by task function:

| Need | Authorized route |
| --- | --- |
| Craft rule or output convention | `python3 scripts/auth_client.py list-refs` then `read-ref <name>` |
| Type, structure, relationship, pressure, hook, or scene mechanism | `python3 scripts/auth_client.py search "<abstract task query>" --top-k 6` |
| Deeper evidence after distilled results are insufficient | `python3 scripts/auth_client.py full-text-search "<abstract evidence query>" --top-k 6` |
| Project-scale work | Run at least two complementary searches and keep an internal retrieval intake |

Local tools below may read only user-project files or bundled public formatting data; they never open a protected library:

- `qa_generated_script.py`: audit the user's generated comic-drama script for episode size, scene count, visual action, dialogue texture, and high-risk AI-tone patterns.

Cloud results are mechanism evidence, not text to reproduce. Do not expose source titles, paths, original dialogue, event chains, or recognizable combinations.

## Runtime Commands 检索与成稿检查

```bash
python3 scripts/auth_client.py search "系统 规则 压力开场" --top-k 6
python3 scripts/auth_client.py search "末世 场景 能力升级" --top-k 6
python3 scripts/auth_client.py full-text-search "系统 规则 场景" --top-k 5
python3 scripts/qa_generated_script.py path/to/generated_script.md
```

## Quality Rules 质量规则

- 第一屏必须含可见的压力、威胁、诱惑、奇观或矛盾。
- 每集至少一个不可逆事件：状态变化、规则发现、能力升级、线索曝光、关系转折、敌方行动或公开反转。
- 每集结尾必须留下一个新问题，而不只是情绪。
- 漫剧场景必须可画可动：把"他很生气"换成可见的动作、表情、音效、物体破坏或环境反应。
- 男频项目要有清晰的力量幻想、世界规则、升级路径、反复的公开认可或反转；女频项目要有强角色磁性、视觉化CP互动、关系推进、每集末钩子。
- 系统和能力必须有限制、代价、冷却、条件或副作用。
- 副线必须用情报、工具、危机、情绪燃料或兑现服务主线；砍掉连续多集独自运行的副线。
- 不要把长片节拍硬套到每一集；结构用于人物弧光、场景工程、副线、暗线、兑现设计。
- 漫剧能可视化不可能的奇观（系统面板、怪物、力量、规则、空间、象征环境）时，不要保留真人片的成本约束。
- 每个场景至少改变一个状态：剧情处境、人物状态、关系、信息、规则、能力、资源或视觉环境。
- 关键对白必须通过"功能、声纹、信息边界、删除测试"：推进信息、暴露性格、制造冲突或埋钩子；删掉寒暄空转、信息倾倒、台词穿帮、违反角色声纹表和删掉也不影响戏的对白。
- 正文生成必须执行 Fable 5 三层去 AI 腔流水线：生成前建立声纹表 v2 并参考对白纹理卡，生成中用长短混合、非直答、动作承接、具体交易条件和潜台词施压，避免电报腔与书面舞台腔；生成后用 `qa_generated_script.py` 检查单句过长、短句过密、旁白占比、情绪直给、AI 腔高危词、书面/舞台腔词组、句式趋同和缺少潜台词信号。
- 现场人话机制（硬性）：抽象概念必须翻译成当下利益、具体动作、物件、证据或可见后果；情绪说明改成身体反应/动作；剧情解释必须被追问或证据逼出来；口号威胁改成具体后果；普通谈判/关系场禁止连续短促问答，必须带试探、反驳、遮掩或关系态度。
- 对白纹理层只可作为统计约束；禁止把全文层或对白纹理构建过程中的原句写进提示词、剧本、示例或交付物。
- 单集体量门（硬性）：每集有效台词+旁白 250-1000 个中文字符，推荐 450-750；只统计对白与旁白，不统计场次/画面/动作/音效等格式标签。低于 250 或高于 1000 必须返工。
- 单集场数门（硬性）：每集只能 1-3 场，推荐 2-3 场；禁止超过 3 场。1 场不是例外，但必须完成完整的场景目标、信息差或转折、动作链、反应链和状态改变。
- 每场有效字数建议 120-350 字；单场低于 80 字视为未展开，高于 400 字必须拆场或删冗余。
- 以上体量门、场数门与单场字数区间的数字以本文件为唯一权威：公开包由 `qa_generated_script.py` 按本文件同一组默认参数执行检查。
- 避免"不够爽""节奏慢"这类泛诊断；点名缺失的机制并给替换节拍。
- 不引用、不翻译、不近义改写、不续写受版权保护的原文。

## Self-Check Before Answering 回答前自检

- 加载了最小有用的 云端规则资料集合；需要例子时先用云端机制检索，不足时再用云端全文检索。
- 没有引用或近义改写云端全文证据；使用云端结果时保持原创、机制级。
- 把抽象剧情笔记转成了视觉动作、音效、物体、反应或屏幕可读规则。
- 重要创作任务检查了追更留存、剧情工程、漫剧视觉执行三层。
- 长项目和续写包含连续性圣经更新。
- 正文强制套用云端规则资料中的华语短剧剧本格式（`第N集`/`场号 地点 内外 日夜`/`人物：`/`△`/`角色：台词`/`（OS）（VO）`），除非用户明文要求其他格式。
