agentleFS
maoshuhuamaoshuhua/pavo-cli/skills/short-drama/SKILL.md

short-drama

Skill1 starsChanged 4 months agoMITView on GitHub

使用 PAVO CLI 查询并并行下载当前登录人的短剧成片,以及创建、续写、修改和恢复多轮短剧创作会话。适用于查看或下载个人短剧、查询已生成短剧、创作短剧、写短剧剧本、继续某个短剧、回答短剧创作问题、调整短剧风格或获取短剧生成结果时。短剧必须通过 pavo short-drama 命令完成。

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. ZJU-REAL/Easel★ 3.1ksame name
    2. zenstory-ai/drama-skills★ 2.5ksame name
    3. CatCatUncle/openworkbuddy★ 259same name
    4. qxryz/workflowgenerator★ 53same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

Files
SKILL.md

PAVO 短剧

使用 pavo short-drama 处理短剧创作。短剧是服务端维护状态的多轮会话:首次创建会话,后续补充、选择、确认与修改都复用同一个 conversation_id。不要改用其他生成命令,不要调用其他图像或视频服务,也不要自行代写、扩写或重组用户的短剧需求。

命令

  1. pavo short-drama start
  2. pavo short-drama reply
  3. pavo short-drama resume
  4. pavo short-drama status
  5. pavo short-drama result
  6. pavo short-drama list
  7. pavo download-result

服务端阶段推进

不执行积分估算,遇到计费信息也不暂停。用户已经明确要求创作或继续整部短剧时,若服务端 review 或 billing_pending 只是在询问是否进入下一生成阶段,使用服务端原始“继续/确认”选项和同一个 conversation_id 推进,不自行改写选项值。

如果服务端要求选择剧情、风格、角色、镜头、模型或其他会改变创作结果的内容,仍应展示原始问题与选项并等待用户决定;不要把创作选择当成纯阶段确认自动代答。

查询当前登录人的短剧

分页查询当前登录人的已完成短剧成片并并行下载查询结果。此命令固定使用服务端类别 short_drama_final:

pavo short-drama list --page 1 --page-size 5 \
  --download-dir "ABSOLUTE_WORKSPACE_PATH/pavo_outputs/visuals/short_drama_final" \
  --download-concurrency 4

按用户要求传递页码和每页数量;未指定时沿用 --page 1 --page-size 5。查询命令必须下载资产,不要省略 --download-dir;使用默认 4 路并发,只有用户明确要求时才在 1–32 范围内调整 --download-concurrency。输出中的 pagination 是分页信息,groups[].list[] 是按日期分组的短剧,downloaded 与 failed 是下载成功和失败数量。使用成功项的绝对 local_path 展示视频,不要改用远程 URL;单项下载失败时继续展示其他成功短剧,只告知该项 download_error 中的失败原因,不要把整个查询报告为失败。这用于跨会话浏览个人短剧;已知 conversation_id 且需要读取某个会话的持久结果时,仍使用 pavo short-drama result。

首次创作

原样传递用户的短剧需求。需要本地参考文件时,为每个文件增加一个 --file。命令会创建会话,并以 mode: "short_drama"、extra_context.agent_params.image_model_code: "agnes-image" 和 video_model_code: "agnes-video-new" 发起首轮请求:

pavo short-drama start --prompt "USER_PROMPT"

默认从 stdout 的最终 JSON 记录并向用户返回 conversation_id。优先读取 assistant_text(完整服务端文本)、assistant_messages 和 review,将服务端给出的剧本、角色、场景或确认详情完整展示给用户;不要只做一句概括。过程事件会写入 stderr,仅用于诊断。

模型选择

默认使用 agnes-image 与 agnes-video-new。用户未要求选择或切换模型时,不要主动展示模型表,也不要自行替换默认值;服务端会在提交时验证可用性。

用户明确要求选择、比较或切换模型时,不得使用静态模型表。先动态查询当前已上线的短剧模型:

pavo models --mode short_drama --type image --online-only
pavo models --mode short_drama --type video --online-only

将查询结果展示给用户,让用户分别选择一个图像模型和一个视频模型,不要代替用户决定。只使用返回的 code;判断免费模型时只认 tags[].code == "free",不要用 subscription_level == 0 推断免费。服务端若返回模型无权限或不支持,如实报告并等待用户重新选择。

只有 start 和 reply 可设置模型;resume 仅恢复已有任务,不能改模型。选择或切换时,始终显式传递完整的一对 --image-model-code 与 --video-model-code:

pavo short-drama reply \
  --conversation-id "CONVERSATION_ID" \
  --prompt "USER_REPLY" \
  --image-model-code "seedream5-0-pro" \
  --video-model-code "seedance-2-0"

后续轮次

服务端要求用户补充信息、选择创作方向或确认下一步时,展示当前问题与选项并等待用户回答。不要替用户选择风格、剧情、角色或镜头。收到回答后,使用同一会话 ID:

pavo short-drama reply \
  --conversation-id "CONVERSATION_ID" \
  --prompt "USER_REPLY"

每次 reply 仍会携带短剧模式和默认的 Agnes 图片、视频模型。不要为后续轮次创建新会话;始终使用 reply 继续。

中断、状态和结果

流断开或已有短剧轮次仍在运行时,保留同一 conversation_id 并恢复,不要重新提交提示词:

pavo short-drama resume --conversation-id "CONVERSATION_ID"

查询持久状态或最终生成结果:

pavo short-drama status --conversation-id "CONVERSATION_ID"
pavo short-drama result --conversation-id "CONVERSATION_ID"

若最终 results 或 assets[].result 含有成功的 url,默认先返回 URL。仅在用户要求保存、导出或在桌面聊天中展示产物时下载:

pavo download-result \
  --url "RESULT_URL" \
  --output-path "ABSOLUTE_WORKSPACE_PATH/pavo_outputs/short-drama/CONVERSATION_ID/RESULT_FILE"

所有由本 Skill 保存到本地的附件和生成产物统一放在当前工作区的 pavo_outputs/ 下,并按短剧会话和阶段建立子目录;只有用户明确指定其他输出路径时才使用该路径。也可在 start、reply 或 resume 中使用 --download-dir,让 CLI 为每一张成功图片和每一段成功视频写入绝对 assets[].result.local_path(同时兼容填入 results[].local_path)。

桌面聊天中需要展示角色图、场景图、关键帧或视频时,必须在该轮命令上传入 --live-assets --download-dir,并使用每个阶段独立的绝对目录,例如:

pavo short-drama reply \
  --conversation-id "CONVERSATION_ID" \
  --prompt "USER_REPLY" \
  --live-assets \
  --download-dir "ABSOLUTE_WORKSPACE_PATH/pavo_outputs/short-drama/CONVERSATION_ID/step-4-character-image"

启用 --live-assets 后,stdout 是 JSONL:每收到并下载完成一张图片或一段视频,就会先输出一条 type: "asset_ready" 记录。立即展示该记录中 asset.result.local_path 的资产,不要等本阶段的其他资产完成。最后一条 type: "complete" 的 result 包含完整汇总、assistant_text 和 review;仅在此时展示服务端的确认问题或要求用户选择下一步。不要只展示最后一个结果,也不要只返回远程 URL。

身份验证与失败处理

优先尝试所需命令。若 CLI 提示未登录,获取用户手机号与国家码(未指定时用 86),运行 pavo login send-code --country-code "COUNTRY_CODE" --phone-number "PHONE_NUMBER"。发送成功后等待用户提供本次短信验证码,再运行 pavo login --country-code "COUNTRY_CODE" --phone-number "PHONE_NUMBER";非交互终端仅在用户已明确提供验证码时增加 --verification-code。不要猜测或复用验证码,不得在回复、日志或生成文件中泄露验证码、访问令牌或预签名上传 URL。

命令失败时报告 CLI 错误及已知的 conversation_id,然后停止;不要伪造结果、不要转用其他提供方、不要因短暂断线创建替代会话。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.