← Back to Skills Marketplace
ghwyever

02 Script Generator

by GHwyever · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ⚠ suspicious
150
Downloads
1
Stars
1
Active Installs
5
Versions
Install in OpenClaw
/install 02-script-generator
Description
Automatically converts novel IP info into concise, platform-compliant short drama scripts with controlled pacing, conflict, and 60-second episode format.
README (SKILL.md)

短剧剧本生成技能

功能介绍

根据IP解析结果自动生成符合抖音/番茄平台规范的短剧剧本,单集时长 90–120 秒,节奏紧凑、冲突密集。

输入参数

  • ip_info:结构化IP信息(必填)
  • episode_count:生成集数,默认 1
  • duration:单集时长,默认 90 秒,范围 90–120 秒

输出结果

  • scenes:分场景剧本列表
  • total_duration:单集总时长

使用场景

  • 小说IP自动转短剧剧本
  • 批量合规剧本生成
  • 规模化短剧内容生产

技术说明

支持通用大模型接入,需配置 API_KEY、API_BASE、MODEL_NAME。

Usage Guidance
This skill will send the ip_info you provide to the external API you configure (API_BASE) along with the API_KEY. Before installing: 1) confirm the manifest/SKILL.md requirement for API_KEY, API_BASE, and MODEL_NAME (the registry summary claiming no env vars is incorrect); 2) only use a trusted LLM provider endpoint for API_BASE — do not point it at unknown/personal servers if ip_info contains any confidential or copyrighted material; 3) be aware the code blindly parses the model's returned text as JSON (malformed responses could cause errors); 4) prefer using a provider-specific key with limited scope and rate limits; 5) because the skill's source and homepage are unknown, review or run the code in an isolated environment if possible and request provenance or an official homepage from the author. Providing any additional information (author identity, known API_BASE defaults, or an updated registry manifest) would raise confidence toward benign.
Capability Analysis
Type: OpenClaw Skill Name: 02-script-generator Version: 1.0.4 The skill is a standard script generator that facilitates LLM-based content creation for short dramas. The code in skill.js correctly implements the functionality described in SKILL.md and manifest.json, using user-configured environment variables (API_KEY, API_BASE) to communicate with an external AI model. No evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Assessment
Purpose & Capability
The code and SKILL.md align with the stated purpose of converting IP info to short-drama scripts via a large model. However the top-level registry metadata you provided claims "Required env vars: none" while the manifest and SKILL.md clearly require API_KEY, API_BASE, and MODEL_NAME — this mismatch is unexpected. Also source/homepage are unknown which reduces ability to verify authorship.
Instruction Scope
Runtime instructions and the implementation stay within the described task: they send the ip_info and a prompt to the configured LLM endpoint and return parsed JSON script output. The SKILL.md and code do not attempt to read other system files or unrelated environment variables. Important: the skill will transmit the full ip_info to whatever API_BASE you configure, which could leak sensitive content if ip_info contains secrets.
Install Mechanism
There is no install spec (instruction-only with a small runtime file). Nothing is downloaded from external URLs or written to unusual locations in the install step.
Credentials
Requesting API_KEY, API_BASE, and MODEL_NAME is reasonable for a generic LLM-backed generator, but API_BASE being user-specified allows pointing to any HTTP endpoint — meaning the skill will send your ip_info and API_KEY to that endpoint. The initial registry summary claiming no required env vars contradicts the manifest; that inconsistency should be resolved before trusting this skill.
Persistence & Privilege
The skill does not request always:true and has no special persistence or privilege. It does not modify other skills or global agent configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install 02-script-generator
  3. After installation, invoke the skill by name or use /02-script-generator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.4
- Simplified and clarified feature descriptions, aligning with platform norms (抖音/番茄). - Added new input parameters: episode_count and duration, allowing customization of episode count and length (90–120 seconds per episode). - Updated output to include total_duration for each episode. - Usage scenarios and technical notes now emphasize compliance and support for general AI model integration through customizable API settings. - Removed the _meta.json file.
v1.0.3
- Updated manifest.json; no changes to skill features or functionality. - Documentation remains consistent, with no substantive SKILL.md content changes.
v1.0.2
Version 1.0.2 - Added metadata file (_meta.json) for improved skill management and discovery. - No changes to the skill’s core functionality or documentation content.
v1.0.1
- No code or documentation changes detected in this version. - The skill retains all previous features and technical specifications without modification.
v1.0.0
- Initial release of the 短剧剧本生成技能. - Automatically adapts novel content into short drama scripts tailored for 番茄/抖音 platforms. - Strictly controls pacing, plot twists, and duration to maximize audience retention. - Outputs scene-by-scene scripts with roles, lines, actions, and estimated timing. - Enables rapid, large-scale production of short dramas optimized for short video platforms.
Metadata
Slug 02-script-generator
Version 1.0.4
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 5
Frequently Asked Questions

What is 02 Script Generator?

Automatically converts novel IP info into concise, platform-compliant short drama scripts with controlled pacing, conflict, and 60-second episode format. It is an AI Agent Skill for Claude Code / OpenClaw, with 150 downloads so far.

How do I install 02 Script Generator?

Run "/install 02-script-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 02 Script Generator free?

Yes, 02 Script Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 02 Script Generator support?

02 Script Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 02 Script Generator?

It is built and maintained by GHwyever (@ghwyever); the current version is v1.0.4.

💬 Comments