env-setup — Claude Code skill: checks and installs dependencies
env-setup is a Claude Code skill that checks the machine setup for the video-agent-kit plugin and installs supported missing dependencies.
no license ★ 297 updated 2026-10-29
npx skills add wwwzhouhui/skills_collection --skill env-setup -a claude-codeWhat env-setup does
env-setup inspects FFmpeg and ffprobe, required codecs and filters, Python packages in Claude Code’s interpreter, and fonts that contain Chinese glyphs. It also checks which speech channel is available. The script reports requirements and install commands for the current operating system; --fix installs items it can handle automatically.
Run python3 <plugin_root>/skills/env-setup/scripts/env_doctor.py to inspect the setup, or add --fix to install automatic fixes. The environment needs Python 3.10 or later, the packages mcp, requests, opencv-python-headless, numpy, pillow, jieba, fonttools, and scenedetect, plus FFmpeg with libx264, aac, libmp3lame, libass, and libfreetype. A font without Chinese glyphs can render subtitles as square boxes. Outside ZCode, speech features need cloud credentials or access to Speech MCP.
What it helps with
- check which video-agent-kit dependencies are missing
- diagnose an
Unknown encoder 'libx264'failure - install missing Python packages and FFmpeg
- find why Chinese subtitles render as square boxes
Example prompts for the agent
- Check the environment for video-agent-kit before the first edit.
- Install the missing dependencies for this project.
- Find out why
speech_transcribereturns a 401 error.
How to install env-setup
1Skills CLI (Vercel)
npx skills add wwwzhouhui/skills_collection --skill env-setup -a claude-code2Manually: put the files in place
~/.claude/skills/env-setup/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/env-setup/
1Skills CLI (Vercel)
npx skills add wwwzhouhui/skills_collection --skill env-setup -a codex2Manually: put the files in place
.agents/skills/env-setup/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add wwwzhouhui/skills_collection --skill env-setup -a cursor2Manually: put the files in place
.cursor/skills/env-setup/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install wwwzhouhui/skills_collection video-agent-kit/skills/env-setup2Manually: put the files in place
.github/skills/env-setup/SKILL.md1Skills CLI (Vercel)
npx skills add wwwzhouhui/skills_collection --skill env-setup -a gemini-cli2Platform CLI
gemini skills install https://github.com/wwwzhouhui/skills_collection --path video-agent-kit/skills/env-setupManually: put the files in place
.devin/skills/env-setup/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about env-setup
How do I install env-setup in Claude Code?
Run npx skills add wwwzhouhui/skills_collection --skill env-setup -a claude-code.
What does env-setup do?
It checks system tools, Python dependencies, fonts, and the speech channel used by video-agent-kit. It can install supported components or print commands for manual installation.
What does env-setup need to run?
The checks require Python 3.10 or later and mcp, requests, opencv-python-headless, numpy, pillow, jieba, fonttools, and scenedetect; FFmpeg and ffprobe also need the required codecs and filters. Speech transcription and synthesis need cloud credentials or Speech MCP access. ZCode uses its official channel and does not need a local key.