Agent skill

Caption Generator

by szhshp in szhshp/panda-video-generator

Prefer the hosting AI Agent to write narration into input.txt from crawl JSON (no external LLM).

No licenceAuto-check: notesMedia & Creative

Install Caption Generator

skills CLI
$ npx skills add szhshp/panda-video-generator --skill caption-generator -a claude-code

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

GitHub CLI
$ gh skill install szhshp/panda-video-generator caption-generator --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/szhshp/panda-video-generator.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agent/skills/caption-generator .claude/skills/caption-generator && 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
caption-generator
GitHub stars
291
Token cost
~1.5k tokens
SKILL.md length
358 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
None found

At a glance

Prefer the hosting AI Agent to write narration into input.txt from crawl JSON (no external LLM).

  • Works in 3 steps: 环境变量 CLI:爬虫 JSON → 口播 + 估算 WebVTT +… → 仅写口播 input.txt(内存对象或 JSON 路径) → 只要口播字符串;或本地把正文变成 WebVTT(不经云端 LLM)
  • Tasks that involve Text to speech and voice
  • SKILL.md covers Agent 使用优先级(必读), LLM 提供商(默认 DeepSeek,可选 Kimi), 1. 环境变量 CLI:爬虫 JSON → 口播 + 估算… and 2. 仅写口播 input.txt(内存对象或 JSON 路径), plus 1 more section
  • Calls pnpm and tsx; reaches api.deepseek.com and api.moonshot.cn; needs DEEPSEEK_API_KEY and MOONSHOT_API_KEY

What it does

Caption Generator is an agent skill from szhshp/panda-video-generator. Prefer the hosting AI Agent to write narration into input.txt from crawl JSON (no external LLM). Fallback only: pnpm caption:env / generateVideoScript (DeepSeek or Kimi) + optional WebVTT estimate. Triggers: 口播, input.txt, captions.vtt, LLMPROVIDER, DEEPSEEK, MOONSHOT, KIMI.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Media & Creative, covering Text to speech and voice. It works with Kimi, DeepSeek and pnpm. The repository describes itself as: 熊猫视频自动化引擎: 用程序员的方式帮你自动化视频创作与发布.

When your agent uses it

  • Tasks that involve Text to speech and voice

Example prompts

  • “/caption-generator”

Requirements

  • A credential in DEEPSEEK_API_KEY
  • A credential in MOONSHOT_API_KEY

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. 环境变量 CLI:爬虫 JSON → 口播 + 估算 WebVTT + title.json
  2. 仅写口播 input.txt(内存对象或 JSON 路径)
  3. 只要口播字符串;或本地把正文变成 WebVTT(不经云端 LLM)

What it can do on your machine

Read from SKILL.md and the folder at commit 95ced9b. 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

    Shell commands in SKILL.md call:

    • pnpm
    • tsx

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.deepseek.com
    • api.moonshot.cn
    • api.moonshot.ai

    Also links to:

    • api-docs.deepseek.com
    • platform.moonshot.ai

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

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • DEEPSEEK_API_KEY
    • MOONSHOT_API_KEY
    • KIMI_API_KEY

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

Context cost

Caption Generator loads about 1.5k tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 358 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~74
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:24
    *;`loadCaptionLlmEnvFromDotenv` 会把仓库根 **`.env`** 里列出的 LLM 键写入 `process.env`,**同名字段以 `.env` 为准**(含 `LLM_PROVIDER`)。不负责爬取。

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); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 358 words (~1,529 tokens).

“若任务由 AI Agent 执行(Cursor、Claude Code、Copilot、OpenClaw 等),应优先让 Agent 根据爬虫 JSON(或等价的 title / content / answers)自行撰写口播正文,并写入 output/spider/input.txt(或用户配置的 TTS_INPUT_FILE)。不要为此先调用包内 DeepSeek/Kimi 接口,以减少对外部 API、密钥和计费的依赖。”

— opening of SKILL.md by szhshp
name
caption-generator

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agent/skills/caption-generator of szhshp/panda-video-generator.

Open the folder on GitHubat commit 95ced9b

Compare with similar skills

Caption Generator 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.

Caption Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Caption Generator this skillszhshp/panda-video-generator291—~1.5kAutomated safety check: NotesNone
Quota Axikunchenguid/quota-axi144—~547Automated safety check: PassMIT
Video Voiceoverzenstory-ai/oh-story-dsh4661 repos~1.1kAutomated safety check: PassMIT
BlockrunBlockRunAI/blockrun-mcp392—~2.7kAutomated safety check: PassMIT
KrillinAI CLI Operatorkrillinai/OpenCreator13k—~869Automated safety check: PassApache-2.0
AI SDK Developmenttrypostit/trypost6782 repos~3.5kAutomated safety check: PassMIT

Similar skills

  • Quota Axi

    kunchenguid/quota-axi

    Report local Claude, Codex, Cursor, GitHub Copilot, Grok, Kimi, Z.AI, Alibaba, OpenCode Go, Antigravity, Command Code, MiniMax, MiMo, DeepSeek, OpenRouter, ElevenLabs, Devin, Muse, and Higgsfield…

    144 GitHub stars~547 tokensUpdated today
    Backend & APIsAuto-check passed
  • Video Voiceover

    zenstory-ai/oh-story-dsh

    把带时间戳的 narration.json 合成为中文解说音频。使用 MiMo TTS(mimo-v2.5-tts)或 Fish Audio(s2.1-pro-free)或显式配置的通用 IndexTTS HTTP 服务逐段生成语音, 按时间窗动态适配语速并处理响度;输入输出时间线上的旁白,产出 ttssegments 与 ttsmeta.json。

    466 GitHub starsUsed in 1 repo~1.1k tokens
    Media & CreativeAuto-check passed
  • Blockrun

    BlockRunAI/blockrun-mcp

    Pay-per-call access to AI models, real-time data, media generation and multi-chain RPC over x402 micropayments (USDC on Base or Solana), or a BlockRun account API key.

    392 GitHub stars~2.7k tokensUpdated today
    Media & CreativeAuto-check passed
  • KrillinAI CLI Operator

    krillinai/OpenCreator

    Routes agents to the right KrillinAI command for subtitles, dubbing, video rendering, covers and speech, and explains how to read its JSON and manifest output.

    13k GitHub stars~869 tokensUpdated 3 days ago
    Media & CreativeAuto-check passed
  • AI SDK Development

    trypostit/trypost

    TRIGGER when working with ai-sdk which is Laravel official first-party AI SDK.

    678 GitHub starsUsed in 2 repos~3.5k tokens
    AI & LLM EngineeringAuto-check passed
  • Wedding Video Guided Wizard

    aaronyi97/wedding-video-guided-wizard

    Guide a creator through a real couple's custom wedding video, from a shareable story intake card and Kimi writing pack through narration, external GPT image prompts, image-to-video packs, music and…

    291 GitHub stars~1k tokensUpdated 28 days ago
    Media & CreativeAuto-check passed

More from szhshp/panda-video-generator

  • Playwright Publish

    szhshp/panda-video-generator

    Multi-platform browser login and video upload via Playwright Test only (headed Chromium).

    291 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Remotion Render

    szhshp/panda-video-generator

    Run Remotion renders from monorepo root: pnpm render:video, render:all / pipeline:tts-render, render:composition; sync-to-public, composition IDs, output/video paths, VIDEOPUBLICDIR.

    291 GitHub stars~901 tokensUpdated 1 mo ago
    Auto-check passed
  • Tts Node

    szhshp/panda-video-generator

    Atomic reference for @panda-video-generator/tts-node: pnpm tts, cli.ts, processNarrationFile — Edge-TTS narration → audio.mp3 + audio.vtt; env vars TTS, EDGETTS, ffmpeg.

    291 GitHub stars~954 tokensUpdated 1 mo ago
    Auto-check passed
  • URL To Video Pipeline

    szhshp/panda-video-generator

    Orchestrates repo pipeline from a single URL: branch Zhihu vs generic page → spider → DeepSeek caption when needed → Edge TTS → Remotion render to output/video/video.mp4.

    291 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check: notes
  • Spider

    szhshp/panda-video-generator

    Atomic reference for three spider flows: spider:extract:file, spider:extract:url, spider:zhihu — inputs, outputs, env vars only.

    291 GitHub stars~888 tokensUpdated 1 mo ago
    Auto-check: notes

Questions about Caption Generator

What does Caption Generator do?

Prefer the hosting AI Agent to write narration into input.txt from crawl JSON (no external LLM). Caption Generator is an agent skill from szhshp/panda-video-generator.txt from crawl JSON (no external LLM).

When should I use Caption Generator?

Caption Generator fits situations like: tasks that involve Text to speech and voice.

How do I install Caption Generator in Claude Code?

Run `npx skills add szhshp/panda-video-generator --skill caption-generator -a claude-code`. Or copy the skill folder (.agent/skills/caption-generator in szhshp/panda-video-generator) into .claude/skills/caption-generator in your project. Claude Code loads it when a task matches its description.

How do I install Caption Generator in Codex?

Run `npx skills add szhshp/panda-video-generator --skill caption-generator -a codex`. Or copy the skill folder (.agent/skills/caption-generator in szhshp/panda-video-generator) into .agents/skills/caption-generator in your project. Codex loads it when a task matches its description.

Can I use Caption Generator 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 szhshp/panda-video-generator --skill caption-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/caption-generator, .gemini/skills/caption-generator, .github/skills/caption-generator and .opencode/skills/caption-generator in your project.

What does Caption Generator need to run?

Going by SKILL.md and its folder, Caption Generator needs the command-line tools its instructions call (pnpm and tsx) and credentials named DEEPSEEK_API_KEY, MOONSHOT_API_KEY and KIMI_API_KEY. Our summary lists: A credential in DEEPSEEK_API_KEY; A credential in MOONSHOT_API_KEY.

Does Caption Generator access the network?

SKILL.md names 5 domains. In commands or code: api.deepseek.com, api.moonshot.cn and api.moonshot.ai; the agent is likely to contact these when it follows the instructions. As links in the text: api-docs.deepseek.com and platform.moonshot.ai. This is read from the text; nothing was executed.

Is Caption Generator safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Caption Generator use?

No licence was found for Caption Generator or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Caption Generator use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Caption Generator?

Skills that share tags, products or a category with Caption Generator: Quota Axi (kunchenguid/quota-axi, 144 stars), Video Voiceover (zenstory-ai/oh-story-dsh, 466 stars), Blockrun (BlockRunAI/blockrun-mcp, 392 stars) and KrillinAI CLI Operator (krillinai/OpenCreator, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Caption Generator?

szhshp (a GitHub user) maintains it in szhshp/panda-video-generator, which has 291 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on August 10, 2026.

Source: szhshp/panda-video-generator on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.