ai-drama-prompt-factory

ai-drama-prompt-factory is a skill for Claude Code, Codex from LeoYeAI/openclaw-master-skills. It costs 165 tokens per session (8,622 once invoked), scanned A, original, MIT.

A prompt-planning workflow that turns a novel or story idea into structured prompts for characters, locations, props, storyboard images, video, and audio. It produces prompt data for other AI generation tools rather than creating the media itself.

In plain words
What is it for?
Use it to plan an original short drama or adapt a story into production prompts, including character designs, scenes, scripts, storyboards, and audiovisual instructions.
Why use it?
It organises the many creative steps involved in adapting or developing a short drama and keeps the prompts connected across scenes.

Skill for Claude CodeCodex

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

Good fit Use it to plan an original short drama or adapt a story into production prompts, including character designs, scenes, scripts, storyboards, and audiovisual instructions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leoyeai/openclaw-master-skills/ai-drama-prompt-factory
About the project

OpenClaw Master Skills is a curated, regularly updated collection of skills that extends an AI personal assistant platform with capabilities such as research, browser automation, presentation creation, and prompt work. It is intended for people using OpenClaw or MyClaw.ai to give their agents additional tasks and workflows. The catalogue contains many skills and agents from this collection.

LeoYeAI/openclaw-master-skills · 2,141 stars · on GitHub · myclaw.ai

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 LeoYeAI/openclaw-master-skills --skill ai-drama-prompt-factory
Clone the repo
git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills

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 ai-drama-prompt-factory

README.md
[![agentmods](https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/ai-drama-prompt-factory/github.svg)](https://agentmods.dev/skills/leoyeai/openclaw-master-skills/ai-drama-prompt-factory)
Your own site
<a href="https://agentmods.dev/skills/leoyeai/openclaw-master-skills/ai-drama-prompt-factory"><img src="https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/ai-drama-prompt-factory/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 ai-drama-prompt-factory

Your own site · 80×15
<a href="https://agentmods.dev/skills/leoyeai/openclaw-master-skills/ai-drama-prompt-factory"><img src="https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/ai-drama-prompt-factory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 165 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,622 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00165 $0.08622
Opus 5 $0.00082 $0.04311
Sonnet 5 $0.00033 $0.01724
Haiku 4.5 $0.00016 $0.00862

Measured 9d ago against content hash 6fe61cd72934, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ai-drama-prompt-factory 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 9d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/doc_fetch.py, scripts/doc_indexer.py, scripts/doc_search.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/ai-drama-prompt-factory/SKILL.md · 792 lines

How it starts

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

AI短剧提示词工厂 (AI Drama Prompt Factory)

端到端将小说或故事创意转化为结构化提示词包,输出标准JSON供外部AI生成工具消费。

系统边界:只生产提示词数据,不做图片/视频/音频的实际生成。


⚡ 启动协议(每次任务开始时必须执行)

任何短剧相关任务触发后,在执行任何工作之前,必须先向用户确认以下信息:

Step 1:确认项目类型

向用户确认:

  • A 小说改编 — 用户提供小说/故事文本,改编为短剧提示词
  • B 原创短剧 — 用户提供创意/主题,从零创建短剧提示词

Step 2:确认执行模式

向用户确认交付方式:

  • 🚀 全程模式 — 一次跑完全部Phase,中间不停,最终一次性交付所有产出文件
  • 📋 分阶段模式 — 每个Phase完成后输出交付物,等用户确认/修改后再进入下一阶段(推荐)
  • 🎯 单阶段模式 — 只执行用户指定的某个Phase(需已有前序Phase的产出)

Step 3:确认基础参数

向用户确认:

  • 视觉风格 — 电影写实 / 日系动漫 / 2.5D(默认:电影写实)
  • 剧本风格 — 标准叙事 / 爽文漫剧(默认:标准叙事)
  • 目标集数 — 预计多少集(可后续调整)
  • 每集时长 — 1分钟 / 2分钟 / 3分钟(默认:1-2分钟)
  • 剧本分镜Markdown输出 — 是否同时输出可读性更强的Markdown分镜表格文档?(默认:否,仅输出JSON)

确认完成后,开始执行第一个Phase。


核心铁律(Phase 5组装时必须遵守)

铁律一:分镜图片提示词中必须使用角色和道具的名字

✅ 张慧芬转身替病床上的陈易(觉醒前)整理输液管
❌ 48岁中年女性转身替24岁苍白男性整理输液管

铁律二:视频提示词必须基于分镜图片提示词派生 视频是图片的动态延伸,不能独立生成。

铁律三:提示词使用中文自然语言描述 连贯的场景叙述句,不是英文标签堆叠。


全流程架构

启动协议 → Phase 1 策划 → Phase 2 设计 → Phase 3 剧本 → Phase 4 诊断 → Phase 5 组装
                                                          ↑        │
                                                          └────────┘
                                                          (修改≤3轮)
路径 流程 诊断
A: 小说改编 全5阶段 必须
B: 原创短剧 Phase 1→2→3→5 可选

Phase 1:策划

📥 输入

  • 路径A:小说/故事文本(短篇直接读取,超过3万字先建索引,参见 references/doc-reader-guide.md
  • 路径B:用户的创意描述/主题

📤 交付物(2个文件)

文件1:planning/story-outline.md

必须包含以下完整结构:

# 故事大纲:{作品名称}

## 1. 基础信息
- 作品名称:{名称}
- 来源:{原创/改编自《XX》}
- 写作视角:{第一人称/第三人称全知/等}
- 视觉风格:{电影写实/日系动漫/2.5D}
- 剧本风格:{标准叙事/爽文漫剧}
- 目标集数:{N}集
- 每集时长:{N}分钟

## 2. 时空背景
{年代、地点、社会环境、特殊设定,150-300字}

## 3. 叙事结构
- 结构类型:{三幕/五幕/单元剧}
- 递进模式:{描述}
- 情绪曲线概要:{描述}

## 4. 核心冲突
{主角+困境+对抗力量+逆袭路径,100-200字}

## 5. 角色清单

### 主要角色
| 角色名 | 性别 | 年龄 | 身份 | 核心特征 | 外观变体 |
|--------|------|------|------|---------|---------|
| 陈易 | 男 | 24 | 大学生/觉醒者 | 外表懦弱内心坚韧 | 觉醒前、觉醒后 |
| ... | | | | | |

### 次要角色
| 角色名 | 性别 | 身份 | 故事功能 |
|--------|------|------|---------|
| ... | | | |

## 6. 关键道具
| 道具名 | 外观概述 | 剧情功能 | 首次出现 |
|--------|---------|---------|---------|
| 天机古卷 | 泛黄线装古书 | 主角能力来源 | 第1集 |

## 7. 核心场景清单
| 场景名 | 类型 | 出现集数 |
|--------|------|---------|
| 医院普通病房 | 室内 | 第1-2集 |
| 世界杯决赛球场 | 室外 | 第5-6集 |

Read the full file on GitHub · 792 lines

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. 9d ago First seen · 792 lines · 165 tokens per session scan A 6fe61cd72934

Subscribe to this mod's changes

ai-drama-prompt-factory is a skill published in the GitHub repository LeoYeAI/openclaw-master-skills (2,141 stars, last pushed 1mo ago), licensed MIT. It adds 165 tokens to every session and 8,622 once invoked, about $0.0008 per session on Opus 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-09-03.

Related

Other skills, from other repositories

comfyui-skill-openclaw

Run registered ComfyUI workflows through the fast comfyui-skill CLI, and use the official local Comfy MCP for live template, node, model, validation, and orchestration capabilities. Use this Skill when: (1) The user requests to "generate an image", "draw a picture", or "execute a ComfyUI workflow". (2) The user has…

HuangYuChuh/ComfyUI_Skills_OpenClaw · 125 tokens

openclaw-auto-dream

Cognitive memory architecture for OpenClaw agents — periodic dream cycles that consolidate daily logs into structured long-term memory with importance scoring, insights, and push notifications. Use when: user asks for 'auto memory', 'dream', 'auto-dream', 'memory consolidation', 'memory dashboard'. Powered by…

LeoYeAI/openclaw-auto-dream · 79 tokens

openclaw-ultra-scraping

Powerful web scraping, crawling, and data extraction with stealth anti-bot bypass. Bypasses anti-bot systems (Cloudflare Turnstile, CAPTCHAs) out of the box. Use when: (1) scraping websites that block normal requests, (2) extracting structured data from web pages, (3) crawling multiple pages with concurrency, (4)…

LeoYeAI/openclaw-ultra-scraping · 180 tokens

myclaw-backup

Backup and restore all OpenClaw configuration, agent memory, skills, and workspace data. Part of the MyClaw.ai (https://myclaw.ai) open skills ecosystem — the AI personal assistant platform that gives every user a full server with complete code control. Use when the user wants to create a snapshot of their OpenClaw…

LeoYeAI/openclaw-backup · 179 tokens

agentsec

Audit AI agent skills for security vulnerabilities. Use when scanning installed skills against the OWASP Agentic Skills Top 10, checking skills before running them, gating CI/CD on skill safety, or generating audit reports (text, JSON, SARIF, HTML) for stakeholders.

semiotic-ai/agentsec · 57 tokens

create-teammate

Distill a teammate into an AI Skill. Auto-collect Slack/Teams/GitHub data, generate Work Skill + 5-layer Persona, with continuous evolution. Use when: user wants to capture a colleague's knowledge before they leave, create an AI version of a teammate, distill tribal knowledge into a reusable skill, or says…

LeoYeAI/teammate-skill · 78 tokens