能做什么
Agent Skill for turning Chinese classical poems into vertical Chinese-art videos with ImageGen stills, Docker I2V, calligraphy captions, retained ambience, BGM and final MP4 QA.
作者提供的原文
- 连接方式 供 AI 读取的指令文件
- 账号或密钥 尚未确认(README 提到密钥或 .env 文件)
- 分类 自动化与智能体
给作者:在 README 中加徽章
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/skills/mr-funny-hbg-classical-poem-silk-video)相似的 Skill
同类工作,排序与 Skill 列表相同
Skill 和 MCP 有什么不同
MCP = 手
把 AI 连到外部服务或数据,例如读取 Notion 或开发票。需要有程序或服务器在运行。
Skill = 手册
教 AI 怎么做某项工作的文本文件,不连接任何服务。
有些会重叠:少数 Skill 带有调用工具的脚本,少数 MCP 只提供知识。请从你想完成的工作出发。
适用的应用
Claude CodeCodex
依据开发者 README 和 repo 中的文件夹
安装
安全吗?
- 作者
GitHub 账号 Mr-funny(个人),已创建 9 年
- 使用与维护
★ 392 星,目前用户较少 · 代码最近更新 2026年8月3日
- 有脚本吗?
有 9 个可以在电脑上运行的脚本:scripts/check_prerequisites.sh, scripts/clean_star_watermark.sh, scripts/concat_poem.sh, scripts/concat_poem_crossfade.sh 另外还有 5 个文件
- 会联网吗?
脚本中没有发现联网命令
- 会修改整台电脑的设置吗?
没有发现 hook 或写入电脑设置的操作
根据仓库 commit 3326843 中的文件自动检查(只读取文件,没有运行任何内容)。这不是安全保证,请自己阅读后再决定
第一步:你用哪个 AI?
选择你用的应用,本页只显示该应用的安装方法
方式 1上传到 claude.ai(网页和应用)
无法上传到 claude.ai,因为描述超过 200 个字符(661 个字符)。请改用"让 AI 帮你安装"
方式 1让 Claude Code 帮你安装
复制这句话,粘贴到 Claude Code 的对话中
如果只用于一个项目,请粘贴到在该项目文件夹中打开的对话里 · AI 在安装前一定会先告诉你路径
AI 会先说明要做什么,每一步都会征求你的同意
重新打开 Claude Code,输入 /classical-poem-silk-video,或直接提出相关任务,Claude 会自动选用
Checked against official docs 2026年11月12日 · Source: code.claude.com
适合使用 Terminal 的人
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
打开终端
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
把 skill 文件夹复制到 ~/.claude/skills
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
重新打开 Claude Code,输入 /classical-poem-silk-video,或直接提出相关任务,Claude 会自动选用
ChatGPT 桌面应用
ChatGPT 桌面应用内置 Codex,Codex 从 ~/.agents/skills 文件夹读取 Skill
方式 1让 ChatGPT 帮你安装
在 ChatGPT 桌面应用中打开 Codex,把这句话粘贴到对话中
AI 在安装前一定会先告诉你路径
AI 会先说明要做什么,每一步都会征求你的同意
方式 2自己放入文件夹
把 classical-poem-silk-video 文件夹放到 ~/.agents/skills/classical-poem-silk-video
~ 是你的主文件夹($HOME)
适合使用 Terminal 的人
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
打开终端
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
把 skill 文件夹复制到 ~/.agents/skills
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
安装之后
- ChatGPT 桌面应用:打开侧边栏中的 Skills,确认 Skill 已出现
- 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
- Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
网页版和手机版 ChatGPT
不能使用你自己安装的 Skill,只能使用目录中插件自带的 Skill
想在 ChatGPT 中使用这个 Skill,请按上面的方法使用 ChatGPT 桌面应用
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
方式 1让 Codex 帮你安装
复制这句话,粘贴到 Codex 的对话中 · 适用于 ChatGPT 桌面应用中的 Codex、Codex CLI 和 IDE 扩展
如果只用于一个项目,请粘贴到在该项目文件夹中打开的对话里 · AI 在安装前一定会先告诉你路径
AI 会先说明要做什么,每一步都会征求你的同意
Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex · 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
适合使用 Terminal 的人
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
打开终端
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
把 skill 文件夹复制到 ~/.agents/skills
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
重新打开 Codex 并提出相关任务,Codex 会列出这个 skill
方式 1让 Cursor 帮你安装
复制这句话,粘贴到 Cursor 的对话中
如果只用于一个项目,请粘贴到在该项目文件夹中打开的对话里 · AI 在安装前一定会先告诉你路径
AI 会先说明要做什么,每一步都会征求你的同意
在 Cursor 的 Agent 聊天中输入 / 并选择 classical-poem-silk-video
Checked against official docs 2026年11月12日 · Source: cursor.com
适合使用 Terminal 的人
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
打开终端
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
把 skill 文件夹复制到 ~/.cursor/skills
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
在 Cursor 的 Agent 聊天中输入 / 并选择 classical-poem-silk-video
方式 1让 AI 帮你安装
适用于其他能读取 Skill 的应用。这句话列出了 Claude Code、Codex 和 Cursor 的路径,AI 会按你的应用选择 · 复制这句话,粘贴到应用的对话中
如果只用于一个项目,请粘贴到在该项目文件夹中打开的对话里 · AI 在安装前一定会先告诉你路径
AI 会先说明要做什么,每一步都会征求你的同意
Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com
适合使用 Terminal 的人
其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。
已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹
查看原始 SKILL.md
以下文字来自开发者的 repo,不是 PopNx MCP 的指令
6,513 个字符 · 在 GitHub 打开完整文件
---
name: classical-poem-silk-video
description: Turn Chinese classical poems and ci into coherent vertical Chinese-art videos with poem-driven scene grouping, GPT ImageGen stills, Docker-only Gemini I2V, retained model-generated ambience, Gemini sparkle-watermark cleanup, brush-calligraphy captions revealed character by character, optional local BGM mixing, stitching, and final-frame QA. Supports verse-driven variation across ink landscape, gongbi bird-and-flower, colored figure-and-horse painting, blue-green landscape, xuan paper, silk, and related Chinese visual languages. Use when users ask for 古诗词动态视频、诗词逐句或两句一景、国风视频、毛笔字逐字出现、整首诗拼接成片,or want the established 月落乌啼霜满天 workflow applied to another poem.
---
# Classical Poem Silk Video
Create a finished 9:16 poem video from the complete poem. Keep the visual series coherent without forcing every scene into one antique-silk template, let each scene express only its assigned lines, retain each generated clip's original ambience, and deliver the final MP4 visibly in chat.
Before the first run on a machine, read [runtime-contract.md](references/runtime-contract.md) and run [check_prerequisites.sh](scripts/check_prerequisites.sh). Never print, copy, or commit authentication cookies, API keys, browser profiles, or generated account data.
## Workflow
1. Read the complete poem. Identify title, poet, era, place, season, time, explicit imagery, actions, and emotional arc.
2. Group scenes:
- Four lines or fewer: default to one line per scene.
- More than four lines: default to two consecutive lines per scene.
- Respect an explicit grouping request over these defaults.
3. Build a compact scene ledger with literal images, dominant action, depth layers, emotional function, and forbidden imagery reserved for other scenes.
4. Define one series bible. Read [style-and-scene-mapping.md](references/style-and-scene-mapping.md). Keep the series' Chinese visual DNA, historical period, typography zone, and quality level coherent, while choosing a poem-driven substyle, medium, palette, and depth pattern for every scene.
5. Generate one text-free 9:16 initial frame per scene with the built-in `image_gen` tool. Leave clean negative space on the right for typography. Save every accepted image into the active project.
6. Animate each image through the `gemini-flow-suite` Docker container without opening or controlling the host browser. Use [docker_gemini_i2v.sh](scripts/docker_gemini_i2v.sh) and a scene-specific motion prompt. Require natural ambient audio and no spoken dialogue. If the runtime is missing, follow [runtime-contract.md](references/runtime-contract.md); never improvise by exposing credentials or driving the user's browser.
7. Inspect every generated clip at early, middle, and late timestamps. Reject severe anatomy changes, duplicated animals, new architecture, style drift, or composition resets.
8. Remove only the white Gemini sparkle/diamond watermark with [clean_star_watermark.sh](scripts/clean_star_watermark.sh). Preserve a traditional red seal or other intentional painting content unless the user explicitly asks to remove it.
9. Create the vertical two-column calligraphy ASS file with [make_scene_ass.py](scripts/make_scene_ass.py). Use `Ma Shan Zheng`; place the first line in the right column and the second in the left column. Reveal one character at a time and omit punctuation from the displayed columns.
10. Burn captions and retain the AI clip's original audio with [render_scene.sh](scripts/render_scene.sh). Do not replace or discard the source audio.
11. Join the rendered scenes. Use [concat_poem_crossfade.sh](scripts/concat_poem_crossfade.sh) when adjacent scenes should dissolve naturally, or [concat_poem.sh](scripts/concat_poem.sh) for deliberate hard cuts. Crossfade both picture and retained ambience, while keeping BGM continuous and quiet beneath them; never restart the BGM at every scene.
12. Run [final_media_qa.sh](scripts/final_media_qa.sh) on the final encoded file. Verify 1080x1920, 30 fps, H.264/AAC, expected duration, both audio sources, safe typography, no white sparkle watermark, preserved red seal, natural transition midpoints, and no black or corrupt ending frame. Open suspicious frames at full resolution before delivery.
## Image and motion rules
- Use the built-in `image_gen` tool for still frames. Do not use Gemini/Flow image generation for them.
- Use the existing style reference only as a medium/patina reference; never copy its exact composition or subjects.
- Use one dominant event per scene. Do not illustrate the whole poem in scene 1.
- Keep the series coherent through Chinese visual language, period, recurring subjects, typography zone, and detail quality. Deliberately vary substyle, medium, dominant hue, light temperature, and depth pattern when the poem changes imagery or emotional function.
- Avoid repeating the same left-heavy subject, empty-right layout, parchment color, tree silhouette, and horizon height in every scene. Preserve caption safety while varying the visual skeleton.
- Translate sound through visible causes: open beaks, ripples, bending reeds, beating wings, or attentive posture.
- Keep the camera locked by default. Motion must come from existing depicted causes: drifting mist density, expanding water ripples, attached foliage oscillation, small anatomically coherent bird or horse actions, and cloth responding to wind. Use camera movement only when the user explicitly requests it.
- Prefer anchored local motion over long cross-frame travel. Treat architecture, tree trunks, shorelines, main body torsos, typography negative space, and the red seal as static anchors that may not be redrawn.
- Forbid new people, buildings, boats, birds, flowers, text, seals, or landmarks unless assigned to that scene.
- Preserve the model-generated audio. Measure both sources and place BGM roughly 6–10 dB below the retained ambience; 8%–16% linear gain is a starting range, not a fixed rule.
- If the user explicitly requests full-volume parallel sound, override the quiet-bed default: keep the generated ambience at its existing gain, mix the BGM at 100% linear gain with no ducking, and use only a final limiter to prevent clipping. Do not restart either source at scene boundaries.
## Output contract
Return the scene grouping, saved still paths, cleaned clip paths, final video path, and a short QA note. Render the final MP4 in chat using its absolute path. Do not claim completion from a tool call or file path alone.
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
来自 GitHub
- GitHub 星标
- 392
- 开发者
- Mr-funny
- 许可证
- MIT
- 最近代码更新
- 2026年8月3日
- repo 中的 SKILL.md 文件(含译本和模板)
- 1
- 主题
- agent-skill, chinese-poetry, codex, docker, ffmpeg, generative-ai, image-to-video