Deep Code CLI is a terminal-based AI coding assistant optimized for the DeepSeek V4 model, with controls for reasoning depth and support for extensible agent skills. Developers use it to work with code from any project directory. The catalogue skills extend its capabilities.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add lessweb/deepcode-cli --skill video-generatorgit clone --depth 1 https://github.com/lessweb/deepcode-cliWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/lessweb/deepcode-cli/video-generator)<a href="https://agentmods.dev/skills/lessweb/deepcode-cli/video-generator"><img src="https://agentmods.dev/badge/skills/lessweb/deepcode-cli/video-generator/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/lessweb/deepcode-cli/video-generator"><img src="https://agentmods.dev/badge/skills/lessweb/deepcode-cli/video-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00072 | $0.01790 |
| Opus 5.5 | $0.00029 | $0.00716 |
| Sonnet 5.5 | $0.00014 | $0.00358 |
| Haiku 4.5 | $0.00007 | $0.00179 |
Grade A, and why
video-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Video Generator
由 MiniMax H3 驱动,同步生成画面、对白与环境音。使用本技能目录中的 scripts/video_generator.py;需要 Python 3.10+,依赖安装命令为 python3 -m pip install -r scripts/requirements.txt。
所有用户可见说明、问题和选项使用用户的语言。
收集需求
- 整理用户的真实需求时,读取 视频提示词编写指南 并按指南扩写提示词,组织为
integrated_multimodal_description、overall_soundscape、non_diegetic_music三个核心字段。沿时间线描述主体、动作、镜头、风格、对白与声音,保留用户原始对白、画面文字、语言及限制条件,不要擅自添加会改变意图的设定。 - 根据输入类型采用指南中的纯文本、首帧或首尾帧写法,首尾帧需添加对齐说明并描述连续变化路径;参考素材不能自动视为首尾帧。指南中的仅尾帧(L2VA)写法不适用于本脚本。
- 收集用户提到的本地文件路径或 HTTP(S) 素材直链,并确定每份素材的用途。网页链接不等于素材直链;含义不清时询问。
- 支持纯文本、首尾帧、参考素材三种输入。首帧可附加尾帧;不接受只有尾帧。首尾帧仅支持 JPG/JPEG、PNG、WEBP,每张不超过 10MB,宽和高均至少 300 像素。
- 参考素材最多为 4 张图片 + 1 个视频 + 2 个音频,每个文件不超过上传接口的 50 MiB 限制。首尾帧与任何参考素材互斥;冲突时让用户选择用途,不能静默丢弃素材。
- 平台积分有换算,最终费用只能引用试算接口的
credits。
确认比例、分辨率、时长和模式
用户已明确指定支持的比例、分辨率、时长或模式(tier)时直接采用。任何缺失项都必须用 AskUserQuestion 让用户选择并确认,合并询问缺失项,不得默默采用默认值。四项参数全部明确后才能试算。
比例选项必须同时包含方向符号和文字:▭ 21:9(超宽横屏)、▭ 16:9(横屏)、▭ 4:3(横屏)、□ 1:1(正方形)、▯ 3:4(竖屏)、▯ 9:16(竖屏)。还支持 auto(自动比例,方向由模型决定),仅在用户明确选择自动时使用。若工具限制选项数量,展示最相关的几个,在题目中列出其余比例及方向供用户填写。分辨率选项为 720p、1080p。
时长支持 5–20 整数秒。模式选项为 turbo(10步推理,缩短渲染时间)或 base(20步推理,提升画质)。确认时长后,按实际时长完善提示词时间线,确保切镜时间在视频时长内,尾帧对齐时间与时长一致。
如果宿主agent没有名为 AskUserQuestion 的工具,使用宿主agent等价的交互提问工具;没有等价工具时直接提问并等待明确回复。缺失的选择和生成授权不能通过默认选项或等待超时代替。
试算与提交确认
在技能目录运行(将占位符替换为真实参数,使用正确的 shell 引号):
python3 scripts/video_generator.py cost \
--prompt '<最终视频提示词>' --ratio '16:9' --resolution 720p \
--duration 5 --tier turbo
素材参数同样传给 cost 和 generate:
- 首尾帧:
--first-frame '<路径或URL>',可附加--last-frame '<路径或URL>'。 - 参考素材:重复
--image '<路径或URL>'(最多 4 次),--video '<路径或URL>'(最多 1 次),重复--audio '<路径或URL>'(最多 2 次)。
cost 校验本地素材的大小和扩展名、线上 URL 格式并调用 GET /plugin/calc-video-gen-cost,只输出 credits 和 minMinutes 等公开信息,不上传或提交任务。保存本次提示词、素材顺序和所有参数。
取得试算结果后,必须用 AskUserQuestion 询问是否提交并生成视频。问题中展示最终需求、素材用途、比例、分辨率、时长、模式、准确积分及“至少需要 minMinutes 分钟,实际可能更久”,提供“确认生成”和“取消”选项。只有用户明确确认才执行:
python3 scripts/video_generator.py generate \
--prompt '<与试算相同的提示词>' --ratio '16:9' --resolution 720p \
--duration 5 --tier turbo \
--confirmed-credits '<用户确认的credits>' \
--output "<目标 MP4 路径>"
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +3 lines a4a6d9d9cb31
- 1mo ago First seen · 78 lines · 72 tokens per session scan A 5a6d37e934f9
video-generator is a skill published in the GitHub repository lessweb/deepcode-cli (2,170 stars, last pushed yesterday), licensed MIT. It adds 72 tokens to every session and 1,790 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-10.
Other skills, from other repositories
skill-creator
Create, install, or update skills in the workspace. Use when (1) installing a skill from a URL or remote source, (2) creating a new skill from scratch, (3) updating or restructuring existing skills. Always use this skill for any skill installation or creation task.
image-generation
Generate or edit images from text prompts. Use when the user asks to create, draw, design, or edit an image, illustration, photo, icon, poster, or any visual content.
plugin-creator
Create and scaffold plugin directories for Codex with a required .codex-plugin/plugin.json, optional plugin folders/files, valid manifest defaults, and personal-marketplace entries by default. Use when Codex needs to create a new personal plugin, add optional plugin structure, generate or update marketplace entries…
update-v8-version
Update Codex's pinned v8 / rustyv8 versions, validate the release-candidate path, and investigate failed V8 canary or artifact builds. Use when asked to bump V8, update rustyv8 artifacts, prepare or validate a V8 release candidate, check v8-canary, or diagnose why a V8 version update no longer builds.
weibo-poster
A writing guide for Weibo, a Chinese microblogging platform similar to a short-post social network. It covers concise posts, longer posts, hashtags, @ mentions, image layouts, and posting-time suggestions.
xiaohongshu-writer
A writing guide for Xiaohongshu, a Chinese social platform for short lifestyle and advice posts. It helps shape titles, post structure, emoji use, cover text, and hashtags.