/narrator-ai-cli-skill
AI 电影/短剧解说视频自动生成(AI 解说大师 CLI Skill)。当用户需要创建电影解说视频、短剧解说、影视二创、AI 配音旁白视频、film commentary、video narration、drama dubbing、movie narration 时触发。内置电影素材库、BGM、多语种配音、解说模板。通过 narrator-ai-cli 命令行实现:搜片→选模板→选 BGM→选配音→生成文案→合成视频的全流程自动化。CLI client for Narrator AI video narration API.
$ npx -y skills add NarratorAI-Studio/narrator-ai-cli-skill --skill narrator-ai-cli-skill --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/narrator-ai-cli-skill
Context preview
The summary Claude sees to decide when to auto-load this skill.
AI 电影/短剧解说视频自动生成(AI 解说大师 CLI Skill)。当用户需要创建电影解说视频、短剧解说、影视二创、AI 配音旁白视频、film commentary、video narration、drama dubbing、movie narration 时触发。内置电影素材库、BGM、多语种配音、解说模板。通过 narrator-ai-cli 命令行实现:搜片→选模板→选 BGM→选配音→生成文案→合成视频的全流程自动化。CLI client for Narrator AI video narration API.
SKILL.md
narrator-ai-cli-skill.SKILL.mdname: narrator-ai-cli
version: "1.0.5"
license: MIT
description: >-
AI 电影/短剧解说视频自动生成(AI 解说大师 CLI Skill)。当用户需要创建电影解说视频、短剧解说、影视二创、AI 配音旁白视频、film commentary、video narration、drama dubbing、movie narration 时触发。内置电影素材库、BGM、多语种配音、解说模板。通过 narrator-ai-cli 命令行实现:搜片→选模板→选 BGM→选配音→生成文案→合成视频的全流程自动化。CLI client for Narrator AI video narration API.
user-invocable: true
tags:
- video-narration
- film-commentary
- ai-video
- short-drama
- content-creation
- dubbing
- tts
- video-production
metadata:
openclaw:
emoji: "🎬"
primaryEnv: NARRATOR_APP_KEY
install:
- name: narrator-ai-cli
type: pip
spec: "narrator-ai-cli @ https://github.com/NarratorAI-Studio/narrator-ai-cli/archive/refs/tags/v1.0.0.zip"
requires:
bins:
- narrator-ai-cli
env:
- NARRATOR_APP_KEYnarrator-ai-cli — AI Video Narration CLI Skill
CLI client for [Narrator AI](https://openapi.jieshuo.cn) video narration API. Designed for AI agents and developers.
- **CLI repo**: https://github.com/NarratorAI-Studio/narrator-ai-cli
- **Resources preview** (BGM / dubbing / templates): https://ceex7z9m67.feishu.cn/wiki/WLPnwBysairenFkZDbicZOfKnbc
Reference Index
This file covers decision flow, the common workflow, and pointers. Detailed lookups live in `references/`:
| Topic | File | |---|---| | Resource selection (material / BGM / dubbing / templates) — list commands, response formats, field mapping | `references/resources.md` | | Full workflow steps with parameter tables and JSON examples (Fast Path + Standard Path) | `references/workflows.md` | | Magic Video — optional visual template step (catalog, params, language rules) | `references/magic-video.md` | | Polling pattern, task types, file ops, user account, error codes | `references/operations.md` |
Pipeline at a Glance
┌─── Fast Path (原创文案, cheaper) ───┐
│ fast-writing → fast-clip-data │
Source material ──┤ ↓ ├──→ video-composing ──→ (magic-video)
(material list / │ [video-composing keys off │ final MP4 URL optional visual
search-movie / │ fast-clip-data.task_order_num] │ template pass
file upload) └─────────────────────────────────────┘
┌─── Standard Path (二创文案) ────────┐
│ popular-learning → generate- │
│ writing → clip-data │
│ ↓ │
│ [video-composing keys off │
│ generate-writing.task_order_num] │
└─────────────────────────────────────┘Agent Rules (mandatory — apply across all steps)
> **Always:** > - **Confirm before acting.** Every resource (source, BGM, dubbing, template) and every `magic-video` submission requires explicit user approval. Never auto-select, never auto-submit. > - **Source data, never invent.** Construct `confirmed_movie_json` from `material list` fields or `task search-movie` output. If neither yields it, ask the user — do not fabricate. > - **Honor the language chain.** The dubbing voice's language defines the writing task `language` param AND every `magic-video` text param. All three must match. → `references/magic-video.md` § Language Awareness > - **Paginate `material list` to exhaustion, search programmatically.** Fetch all pages until `total` is consumed, then `grep -i` or `python3 -c` on the JSON. Never trust truncated terminal display. > - **Poll with the canonical `while` loop at 5-second intervals.** Never use a fixed-iteration `for` loop. → `references/operations.md` § Task Polling > > **Never:** > - **Submit `magic-video` without showing the full request body** (templates + every `template_params` value) and getting user confirmation. The cost is 30 pts/minute and irreversible. > - **Submit Chinese default values for `magic-video` text params when narration language is non-Chinese.** The defaults are hardcoded Chinese and will appear as Chinese text in a non-Chinese video. > - **Submit `.task_id` (32-char hex) as `order_num`.** Downstream tasks want `.task_order_num` (the prefixed string like `generate_writing_xxxxx`), not `.task_id`. Submitting the hex returns `10001 任务关联记录数据异常`. The other look-alike — `.results.order_info.order_num` (`script_xxxxx`) — is also wrong; see `references/operations.md` § Task Query Response Shape. > - **Auto-switch paths after a failure.** If a step fails, surface the error to the user and ask explicitly: retry the same path, switch to the other path, or abort. Never infer a path switch on the agent's own initiative.
Prerequisites
This skill assumes the `narrator-ai-cli` binary is installed and configured with a valid `NARRATOR_APP_KEY`. See [README.md](README.md) for install / setup. Agents can verify with `narrator-ai-cli user balance`.
Core Concepts
| Concept | Description | |---|---| | **file_id** | 32-char hex string for uploaded files. Via `file upload` or task results | | **task_id** | 32-char hex string returned on task creation. Poll with `task query` | | **task_order_num** | Assigned after task creation. Used as `order_num` for downstream tasks | | **files[]** | Output files in the completed task response (flat, top-level array). Each entry has `file_id`, `file_path`, `suffix`. Read `.files[0].file_id` for the next step's input | | **learning_model_id** | Narration style model — from a pre-built template (90+) or `popular-learning` result | | **learning_srt** | Reference SRT file_id. **Mutually exclusive** with `learning_model_id` |
Conversation Initiation
> ⚠️ **Agent behavior — first message of a session**: Before asking the user for a movie title or workflow path, **proactively orient them** about what the skill offers. Most users assume they need to upload their own video + SRT and don't realize a pre-built material library ships with the ski
Read more
name: narrator-ai-cli
version: "1.0.5"
license: MIT
description: >-
AI 电影/短剧解说视频自动生成(AI 解说大师 CLI Skill)。当用户需要创建电影解说视频、短剧解说、影视二创、AI 配音旁白视频、film commentary、video narration、drama dubbing、movie narration 时触发。内置电影素材库、BGM、多语种配音、解说模板。通过 narrator-ai-cli 命令行实现:搜片→选模板→选 BGM→选配音→生成文案→合成视频的全流程自动化。CLI client for Narrator AI video narration API.
user-invocable: true
tags:
- video-narration
- film-commentary
- ai-video
- short-drama
- content-creation
- dubbing
- tts
- video-production
metadata:
openclaw:
emoji: "🎬"
primaryEnv: NARRATOR_APP_KEY
install:
- name: narrator-ai-cli
type: pip
spec: "narrator-ai-cli @ https://github.com/NarratorAI-Studio/narrator-ai-cli/archive/refs/tags/v1.0.0.zip"
requires:
bins:
- narrator-ai-cli
env:
- NARRATOR_APP_KEYnarrator-ai-cli — AI Video Narration CLI Skill
CLI client for [Narrator AI](https://openapi.jieshuo.cn) video narration API. Designed for AI agents and developers.
- **CLI repo**: https://github.com/NarratorAI-Studio/narrator-ai-cli
- **Resources preview** (BGM / dubbing / templates): https://ceex7z9m67.feishu.cn/wiki/WLPnwBysairenFkZDbicZOfKnbc
Reference Index
This file covers decision flow, the common workflow, and pointers. Detailed lookups live in `references/`:
| Topic | File | |---|---| | Resource selection (material / BGM / dubbing / templates) — list commands, response formats, field mapping | `references/resources.md` | | Full workflow steps with parameter tables and JSON examples (Fast Path + Standard Path) | `references/workflows.md` | | Magic Video — optional visual template step (catalog, params, language rules) | `references/magic-video.md` | | Polling pattern, task types, file ops, user account, error codes | `references/operations.md` |
Pipeline at a Glance
┌─── Fast Path (原创文案, cheaper) ───┐
│ fast-writing → fast-clip-data │
Source material ──┤ ↓ ├──→ video-composing ──→ (magic-video)
(material list / │ [video-composing keys off │ final MP4 URL optional visual
search-movie / │ fast-clip-data.task_order_num] │ template pass
file upload) └─────────────────────────────────────┘
┌─── Standard Path (二创文案) ────────┐
│ popular-learning → generate- │
│ writing → clip-data │
│ ↓ │
│ [video-composing keys off │
│ generate-writing.task_order_num] │
└─────────────────────────────────────┘Agent Rules (mandatory — apply across all steps)
> **Always:** > - **Confirm before acting.** Every resource (source, BGM, dubbing, template) and every `magic-video` submission requires explicit user approval. Never auto-select, never auto-submit. > - **Source data, never invent.** Construct `confirmed_movie_json` from `material list` fields or `task search-movie` output. If neither yields it, ask the user — do not fabricate. > - **Honor the language chain.** The dubbing voice's language defines the writing task `language` param AND every `magic-video` text param. All three must match. → `references/magic-video.md` § Language Awareness > - **Paginate `material list` to exhaustion, search programmatically.** Fetch all pages until `total` is consumed, then `grep -i` or `python3 -c` on the JSON. Never trust truncated terminal display. > - **Poll with the canonical `while` loop at 5-second intervals.** Never use a fixed-iteration `for` loop. → `references/operations.md` § Task Polling > > **Never:** > - **Submit `magic-video` without showing the full request body** (templates + every `template_params` value) and getting user confirmation. The cost is 30 pts/minute and irreversible. > - **Submit Chinese default values for `magic-video` text params when narration language is non-Chinese.** The defaults are hardcoded Chinese and will appear as Chinese text in a non-Chinese video. > - **Submit `.task_id` (32-char hex) as `order_num`.** Downstream tasks want `.task_order_num` (the prefixed string like `generate_writing_xxxxx`), not `.task_id`. Submitting the hex returns `10001 任务关联记录数据异常`. The other look-alike — `.results.order_info.order_num` (`script_xxxxx`) — is also wrong; see `references/operations.md` § Task Query Response Shape. > - **Auto-switch paths after a failure.** If a step fails, surface the error to the user and ask explicitly: retry the same path, switch to the other path, or abort. Never infer a path switch on the agent's own initiative.
Prerequisites
This skill assumes the `narrator-ai-cli` binary is installed and configured with a valid `NARRATOR_APP_KEY`. See [README.md](README.md) for install / setup. Agents can verify with `narrator-ai-cli user balance`.
Core Concepts
| Concept | Description | |---|---| | **file_id** | 32-char hex string for uploaded files. Via `file upload` or task results | | **task_id** | 32-char hex string returned on task creation. Poll with `task query` | | **task_order_num** | Assigned after task creation. Used as `order_num` for downstream tasks | | **files[]** | Output files in the completed task response (flat, top-level array). Each entry has `file_id`, `file_path`, `suffix`. Read `.files[0].file_id` for the next step's input | | **learning_model_id** | Narration style model — from a pre-built template (90+) or `popular-learning` result | | **learning_srt** | Reference SRT file_id. **Mutually exclusive** with `learning_model_id` |
Conversation Initiation
> ⚠️ **Agent behavior — first message of a session**: Before asking the user for a movie title or workflow path, **proactively orient them** about what the skill offers. Most users assume they need to upload their own video + SRT and don't realize a pre-built material library ships with the ski
Install this Skill in your AI agent (OpenClaw, Windsurf, WorkBuddy, etc.), then just say "create a movie narration video" — the AI handles the rest.

