by oil-oil
将视频、标题和封面准备为经过核验的多平台草稿,支持恢复上传,停在最终发布之前。
# Add to your Claude Code skills
git clone https://github.com/oil-oil/video-publisher-skillGuides for using ai agents skills like video-publisher-skill.
video-publisher-skill is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by oil-oil. 将视频、标题和封面准备为经过核验的多平台草稿,支持恢复上传,停在最终发布之前。. It has 303 GitHub stars.
video-publisher-skill's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/oil-oil/video-publisher-skill" and add it to your Claude Code skills directory (see the Installation section above).
video-publisher-skill is primarily written in JavaScript. It is open-source under oil-oil on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh video-publisher-skill against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
将视频、标题和封面准备为经过核验的多平台草稿,支持恢复上传,默认停在最终发布之前。
[!IMPORTANT] Skill 默认不会点击最终发布按钮。只有用户明确要求把本次内容发布到指定平台,才会重新核对草稿并完成最终发布;准备草稿、上传和长期账号配置不算授权。
截至 2026-09-06,已有四平台完整流程及中断恢复的历史验收,YouTube 单平台也已验证元数据、16:9 缩略图、私密可见性和无操作复查。近期小红书、抖音、B 站、视频号的页面适配另有局部实测。
当前版本的五平台同跑、YouTube 空间崩溃恢复,以及最新恢复与清理修正,尚未完成完整线上回归。本地自动化测试不能替代这些实测。具体范围见验收记录。
| 平台 | 发布前准备 |
|---|---|
| 小红书 | 标题、真实话题实体、原创声明、可选 3:4 封面 |
| 抖音 | 标题与正文、真实话题实体、可选 3:4 / 4:3 封面 |
| Bilibili | 标题、简介、标签、自制声明、可选 4:3 首页封面、旧草稿隔离 |
| 微信视频号 | 描述与话题、原创声明、可选 3:4 / 4:3 封面 |
| YouTube | 标题、简介、标签、受众与可见性、可选 16:9 缩略图;停在最终保存或发布前 |
它不会制作或编辑封面;如果你已经有封面文件,可以选择让 Skill 上传;如果你在上传视频的同时并行生成封面,也可以通过 --await-cover <cover-state.json> 流式等待封面就绪后单趟完成上传与校验。
Video Publisher 使用一个调度器,根据资源类型安排工作:
--await-cover 时,各平台仅等待自身所需画幅(3x4 / 4x3 / 16x9)就绪即单趟完成封面提交与独立验收,无需等全套封面出齐或二次重跑。任务空间、草稿身份、状态备份和封面回执都会持久化。流程中断后再次运行同一个任务,会先检查真实页面,再决定复用、修复或重新上传,而不是从头猜测。
ego-browser 命令Codex:
git clone https://github.com/oil-oil/video-publisher-skill.git
mkdir -p ~/.codex/skills/video-publisher
cp -R video-publisher-skill/video-publisher/. ~/.codex/skills/video-publisher/
Claude Code:
mkdir -p ~/.claude/skills/video-publisher
cp -R video-publisher-skill/video-publisher/. ~/.claude/skills/video-publisher/
Windows PowerShell 安装到 Codex:
git clone https://github.com/oil-oil/video-publisher-skill.git
$skillDestination = Join-Path $env:USERPROFILE '.codex\skills\video-publisher'
New-Item -ItemType Directory -Path $skillDestination -Force | Out-Null
Copy-Item -Path '.\video-publisher-skill\video-publisher\*' -Destination $skillDestination -Recurse
Windows 使用 scripts\run-safe-platforms.cmd,参数与 .sh 完全一致;也可以直接运行 node scripts/v2/publisher.mjs。路径含空格或中文时加引号。生产程序直接将 UTF-8 脚本传给 Ego CLI 的 stdin,不经过 PowerShell 文本管道。
Set-Location $skillDestination
.\scripts\run-safe-platforms.cmd --package 'C:\Videos\package.json' --platform xiaohongshu
CLI 输出先按严格 UTF-8 解码;当前中文 Windows 的 Ego Lite 输出 GBK 时回退到 GB18030。其他系统代码页或需要固定编码时可设置 $env:VIDEO_PUBLISHER_EGO_OUTPUT_ENCODING='windows-1252' 等 TextDecoder 支持的编码。本地配置、状态 JSON 和输入脚本始终使用 UTF-8。
使用 $video-publisher,把 /path/to/video.mp4 准备到小红书、抖音、Bilibili 和微信视频号,全部停在发布前。
第一次使用会自动进入 onboarding。它会先问你实际拥有哪些创作者平台账号,再从这些可用平台中选择默认发布平台;如果你只有小红书和抖音,后续就不会打开 Bilibili 或微信视频号。平台专属问题也会按选择出现,例如没有抖音时不会询问抖音默认话题。
之后才会配置素材目录、文案与标签偏好,以及原创声明策略。个人配置保存在 ~/.config/video-publisher/config.json,不会写入 Skill 目录。
之后只需要给出视频路径;当前任务中的明确要求会覆盖个人默认配置。
READY。只有用户明确要求发布本次内容,Agent 才能在重新核对草稿后解除当前页面的保护。READY 表示当前页面证据完整且可以人工复核,不等于内容已经发布。如果你希望增加自己的步骤,例如“抖音填写标签后点击某个设置按钮”,直接把平台、触发时机、按钮文字或附近区域,以及成功后的页面状态告诉 Agent。
项目内的自定义发布流程扩展规范会指导 Agent 将这一步实现成可重复运行的 inspect → action → verify 流程,并通过真实页面测试,而不是把一次性的坐标点击写死。
运行全部自动化测试:
node --test video-publisher/scripts/tests/*.test.mjs video-publisher/scripts/v2/tests/*.test.mjs
进一步了解实现与真实测试边界: