Agent skill

Classical Poem Silk Video

by Mr-funny in Mr-funny/hbg-classical-poem-silk-video

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…

MITAuto-check passedDevOps & Cloud

Install Classical Poem Silk Video

skills CLI
$ npx skills add Mr-funny/hbg-classical-poem-silk-video --skill classical-poem-silk-video -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Mr-funny/hbg-classical-poem-silk-video classical-poem-silk-video --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Mr-funny/hbg-classical-poem-silk-video.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skill/classical-poem-silk-video .claude/skills/classical-poem-silk-video && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
classical-poem-silk-video
GitHub stars
361
Token cost
~1.6k tokens
SKILL.md length
797 words
Files
15 (incl. scripts, references, assets)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

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…

  • Works in 12 steps: Read the complete poem. Identify title,… → Group scenes → Build a compact scene ledger with… → …
  • Users ask for 古诗词动态视频、诗词逐句或两句一景、国风视频、毛笔字逐字出现、整首诗拼接成片,or want the established 月落乌啼霜满天 workflow applied to another poem
  • SKILL.md covers Workflow, Image and motion rules and Output contract
  • Runs Shell and Python scripts from its folder

What it does

Classical Poem Silk Video is an agent skill from Mr-funny/hbg-classical-poem-silk-video. 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…

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 18 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `references/runtime-contract.md` and `references/style-and-scene-mapping.md`).

It sits in DevOps & Cloud, covering Image generation, Containers and Deployment. It works with Docker and FFmpeg. The repository describes itself as: 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. The licence is MIT.

When your agent uses it

  • Users ask for 古诗词动态视频、诗词逐句或两句一景、国风视频、毛笔字逐字出现、整首诗拼接成片,or want the established 月落乌啼霜满天 workflow applied to another poem
  • Tasks that involve Image generation
  • Tasks that involve Containers

Example prompts

  • “/classical-poem-silk-video”

Requirements

  • Python 3
  • A Bash shell
  • Docker

Workflow steps

12 steps, taken from the first numbered list in SKILL.md.

  1. Read the complete poem. Identify title, poet, era, place, season, time, explicit imagery, actions, and emotional arc.
  2. Group scenes
  3. Build a compact scene ledger with literal images, dominant action, depth layers, emotional function, and forbidden imagery reserved for…
  4. Define one series bible. Read style-and-scene-mapping.md. Keep the series' Chinese visual DNA, historical period, typography zone, and…
  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…
  6. Animate each image through the gemini-flow-suite Docker container without opening or controlling the host browser. Use…
  7. Inspect every generated clip at early, middle, and late timestamps. Reject severe anatomy changes, duplicated animals, new architecture…
  8. Remove only the white Gemini sparkle/diamond watermark with clean_star_watermark.sh. Preserve a traditional red seal or other intentional…
  9. Create the vertical two-column calligraphy ASS file with make_scene_ass.py. Use Ma Shan Zheng; place the first line in the right column…
  10. Burn captions and retain the AI clip's original audio with render_scene.sh. Do not replace or discard the source audio.
  11. Join the rendered scenes. Use concat_poem_crossfade.sh when adjacent scenes should dissolve naturally, or concat_poem.sh for deliberate…
  12. Run final_media_qa.sh on the final encoded file. Verify 1080x1920, 30 fps, H.264/AAC, expected duration, both audio sources, safe…

What it can do on your machine

Read from SKILL.md and the folder at commit 3326843. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 9 files in scripts/ (Shell and Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Classical Poem Silk Video loads about 1.6k tokens when it runs, and up to ~3.7k if it reads all its reference files. Until then it costs about 172 tokens; SKILL.md has 797 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~172
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Mr-funny/hbg-classical-poem-silk-video at commit 3326843, republished under its MIT licence (© Mr-funny). 797 words, ~1,629 tokens.

Download SKILL.mdSave it as .claude/skills/classical-poem-silk-video/SKILL.md (or your agent's skills folder). This skill also uses 14 other files; get the full folder from 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 and run 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. 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 and a scene-specific motion prompt. Require natural ambient audio and no spoken dialogue. If the runtime is missing, follow 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. 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. 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. Do not replace or discard the source audio.
  11. Join the rendered scenes. Use concat_poem_crossfade.sh when adjacent scenes should dissolve naturally, or 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 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.
Show full SKILL.md (336 more words)Show less

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.

© Mr-funny, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 14 other files (scripts, references, assets) in skill/classical-poem-silk-video of Mr-funny/hbg-classical-poem-silk-video.

  • SKILL.md
  • agents/openai.yaml
  • assets/MaShanZheng-Regular.ttf
  • assets/OFL.txt
  • references/runtime-contract.md
  • references/style-and-scene-mapping.md
  • scripts/check_prerequisites.sh
  • scripts/clean_star_watermark.sh
  • scripts/concat_poem.sh
  • scripts/concat_poem_crossfade.sh
  • scripts/docker_gemini_i2v.py
  • scripts/docker_gemini_i2v.sh
  • scripts/final_media_qa.sh
  • scripts/make_scene_ass.py
  • scripts/render_scene.sh

Open the folder on GitHubat commit 3326843

Compare with similar skills

Classical Poem Silk Video next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Classical Poem Silk Video compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Classical Poem Silk Video this skillMr-funny/hbg-classical-poem-silk-video361—~1.6kAutomated safety check: PassMIT
Vhs Demobabarot/gh-infra136—~1.2kAutomated safety check: PassMIT
GreptimeDB Dev Docker ImageGreptimeTeam/greptimedb6.7k—~4kAutomated safety check: NotesApache-2.0
Senior DevOps Toolkitmaslennikov-ig/claude-code-orchestrator-kit2606 repos~1.1kAutomated safety check: NotesCustom licence
LangBot Deployment Guidelangbot-app/LangBot18k—~1.5kAutomated safety check: NotesApache-2.0
Reflexo ReleaseMyriad-Dreamin/typst.ts1.2k—~1.5kAutomated safety check: PassApache-2.0

Similar skills

  • Vhs Demo

    babarot/gh-infra

    A skill your agent uses when running demo recordings, diagnosing recording failures, or regenerating GIFs from existing MP4s.

    136 GitHub stars~1.2k tokensUpdated today
    DevOps & CloudAuto-check passed
  • GreptimeDB Dev Docker Image

    GreptimeTeam/greptimedb

    Packages a locally built GreptimeDB debug binary into a development-only Docker image for local-cluster testing, with an optional push to a dev registry.

    6.7k GitHub stars~4k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Senior DevOps Toolkit

    maslennikov-ig/claude-code-orchestrator-kit

    Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup…

    260 GitHub starsUsed in 6 repos~1.1k tokens
    DevOps & CloudAuto-check: notes
  • LangBot Deployment Guide

    langbot-app/LangBot

    Deploys and configures a LangBot instance with Docker Compose or Kubernetes, covering config.yaml, the Box sandbox runtime, the plugin runtime and the global API key.

    18k GitHub stars~1.5k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Reflexo Release

    Myriad-Dreamin/typst.ts

    Guide Reflexo/typst.ts release preparation and operator handoffs.

    1.2k GitHub stars~1.5k tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed
  • 1panel App Builder

    arch3rPro/1Panel-Appstore

    A skill your agent uses when packaging Docker deployments as 1Panel local app store apps, including GitHub projects, docker-compose.yml files, docker run commands, app metadata, version directories…

    214 GitHub stars~1.3k tokensUpdated today
    DevOps & CloudAuto-check passed

Works with

Questions about Classical Poem Silk Video

What does Classical Poem Silk Video do?

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…. Classical Poem Silk Video is an agent skill from Mr-funny/hbg-classical-poem-silk-video. 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.

When should I use Classical Poem Silk Video?

Classical Poem Silk Video fits situations like: users ask for 古诗词动态视频、诗词逐句或两句一景、国风视频、毛笔字逐字出现、整首诗拼接成片,or want the established 月落乌啼霜满天 workflow applied to another poem; tasks that involve Image generation; tasks that involve Containers.

How do I install Classical Poem Silk Video in Claude Code?

Run `npx skills add Mr-funny/hbg-classical-poem-silk-video --skill classical-poem-silk-video -a claude-code`. Or copy the skill folder (skill/classical-poem-silk-video in Mr-funny/hbg-classical-poem-silk-video) into .claude/skills/classical-poem-silk-video in your project. Claude Code loads it when a task matches its description.

How do I install Classical Poem Silk Video in Codex?

Run `npx skills add Mr-funny/hbg-classical-poem-silk-video --skill classical-poem-silk-video -a codex`. Or copy the skill folder (skill/classical-poem-silk-video in Mr-funny/hbg-classical-poem-silk-video) into .agents/skills/classical-poem-silk-video in your project. Codex loads it when a task matches its description.

Can I use Classical Poem Silk Video in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Mr-funny/hbg-classical-poem-silk-video --skill classical-poem-silk-video -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/classical-poem-silk-video, .gemini/skills/classical-poem-silk-video, .github/skills/classical-poem-silk-video and .opencode/skills/classical-poem-silk-video in your project.

What does Classical Poem Silk Video need to run?

Going by SKILL.md and its folder, Classical Poem Silk Video needs a shell and Python for the scripts in its folder. Our summary lists: Python 3; A Bash shell; Docker.

Does Classical Poem Silk Video access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Classical Poem Silk Video safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Classical Poem Silk Video use?

Classical Poem Silk Video is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Classical Poem Silk Video use?

About 1.6k tokens (SKILL.md is roughly 6.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.1k tokens, read only when the agent opens those files.

What are the alternatives to Classical Poem Silk Video?

Skills that share tags, products or a category with Classical Poem Silk Video: Vhs Demo (babarot/gh-infra, 136 stars), GreptimeDB Dev Docker Image (GreptimeTeam/greptimedb, 6.7k stars), Senior DevOps Toolkit (maslennikov-ig/claude-code-orchestrator-kit, 260 stars) and LangBot Deployment Guide (langbot-app/LangBot, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Classical Poem Silk Video?

Mr-funny (a GitHub user) maintains it in Mr-funny/hbg-classical-poem-silk-video, which has 361 GitHub stars. The repository was last updated on August 3, 2026.

Source: Mr-funny/hbg-classical-poem-silk-video on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.