Video Publisher logo

Video Publisher

Community
oil-oil
video-publisher

将本地视频、标题和封面准备为小红书、抖音、B站、视频号或 YouTube 的已验证草稿,支持账号配置、恢复上传和草稿检查。用户要求准备或管理发布草稿时使用,默认停在最终发布按钮前;用户明确要求发布已核对的本次内容到指定平台时,也使用本 Skill 完成最终发布。不用于视频剪辑、封面制作、公众号长文或一般平台建议。

Overview

Publisheroil-oil
Repositoryvideo-publisher-skill
Skill namevideo-publisher
Stars
306
Forks
57
Bundled files
63
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 63 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by oil-oil on GitHub. Read the source before you install it.

Installation

Install the Video Publisher AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/oil-oil/video-publisher-skill/tree/main/video-publisher
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/oil-oil/video-publisher-skill.git /tmp/video-publisher-skill
mkdir -p .claude/skills
cp -r /tmp/video-publisher-skill/video-publisher .claude/skills/video-publisher
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Video Publisher in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Video Publisher on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Video Publisher is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

视频发布

确认一个视频内容包,交给维护好的程序完成多平台上传、表单修复和独立验证。默认把草稿留在最终发布按钮前;用户明确要求发布当前内容时,才进入下文的最终发布分支。

必须遵守

  • 将本文件所在目录记为 SKILL_DIR,所有相对命令都在该目录运行。
  • 日常发布只调用维护好的生产入口,不手工拆分平台阶段,也不自行控制创作者页面。
  • 准备草稿和验收期间不点击最终发布、保存或定时发布按钮。只有用户在当前任务明确要求将已确认的内容发布到具体平台,才进入最终发布分支;“准备草稿”“上传”“做好发布准备”和长期账号配置都不构成最终发布授权。
  • 只有配置声明所有视频均为原创,或用户明确确认当前视频拥有原创权利时,才允许勾选原创、自制等声明;不得从视频内容自行推断。
  • 使用用户确认的精确视频和封面路径,不静默替换、裁剪、转码或改用相似文件。
  • 让程序判断上传完成、草稿身份、字段状态、回执和 READY;不要把“执行过动作”解释为成功。
  • 当前请求与同一任务已经确认的标题、平台、封面意图和原创依据直接继承,不重复询问。做封面后继续发布的完整授权包含上传本次已生成封面;按 references/intake-workflow.md 交接。
  • 开始前区分新建草稿、恢复原草稿、替换草稿封面和修改已发布内容。原稿换源不等于另发一条;本生产入口不支持已发布内容换源,不能用新建或重发冒充。

标准发布流程

  1. 运行配置检查:

    bash
    node scripts/config.mjs status
  2. 若 onboardingRequired 为 true,读取 references/configuration.md,完成配置并执行 validate;配置完成前不打开创作者页面。

  3. 读取 references/intake-workflow.md 和 references/content-package.md,确认:

    • 精确本地视频;
    • 从 availablePlatforms 中选择的平台;
    • 标题和 tags/topics;不要写平台长文案,平台若必填描述就用标题或标题加 tags;
    • 小红书标题按加权长度不超过 20:所有 ASCII 字符算 0.5,其他 Unicode 字符算 1;未超限时保留原始标题;
    • 当前视频的原创权利依据;
    • 是否上传用户已经提供的封面。
  4. 将确认后的内容包 JSON 写到 Skill 目录之外。只有明确上传已有封面时才读取 references/cover-workflow.md。

  5. 直接运行生产入口;它会在打开页面前统一完成配置、内容包、媒体和封面校验:

    Windows 使用 scripts\run-safe-platforms.cmd,或 node scripts/v2/publisher.mjs,参数相同。

    bash
    scripts/run-safe-platforms.sh <package.json> [task-suffix] [platform...]

    命名参数:--package、--platform / --platforms、--task-suffix、--job-id、--operation、--space-name、--reuse-space、--cleanup-only。默认新任务开新 Ego 空间;中断恢复复用已记录空间。草稿就绪后留下本次空间,方便你在发布按钮前检查并手动点发布。只清过期采集空间和已退役的旧空间。要在就绪后立刻关掉本次空间,才加 --close-on-complete。

    已经 READY 的 Job 默认拒绝再次创建草稿。用户明确要重发时使用全新 Job,并加 --operation repost --confirm-new-copy。替换已 READY 且尚未发布的草稿封面时,读取 references/cover-workflow.md,沿用原 --job-id,只修改封面路径并加 --operation replace-cover;程序会复用原任务空间,不重新上传视频。标题、正文、tags、视频或其他字段发生变化时不得冒充封面替换。

    同一个多平台 Job 只恢复或重开部分平台时,必须沿用原 --job-id 并加 --no-cleanup-stale-spaces,防止清理影响未选平台的待发布页面;命令若报告关闭了当前 Job 的未选平台空间,不得宣称页面仍可见,必须恢复对应平台。

    平台参数省略时使用配置中的默认平台。仅在用户确认当前视频原创权利后追加 --confirm-original-rights。

  6. 读取命令最后输出的结构化摘要:

    • ready: true:所有所选平台已验证。草稿页留着,你检查后自己点发布;
    • ready: false:逐个平台报告 blocker、missing 和 evidencePath,不要笼统宣称失败或成功;
    • USER_CONTROL:立即停止全部浏览器工作,只有用户明确要求继续后才能重试;
    • INPUT_CHANNEL_BROKEN:立即说明受影响平台和缺失项,保留现有任务。通道未恢复时不重复跑生产命令;确认 Ego Lite 恢复后再沿用原 --job-id 和内容包,只恢复未完成平台;
    • 其他 blocker 只处理对应平台,不回退或重做已经 READY 的平台。

同一个内容包的中断恢复仍使用同一生产命令和 --job-id。程序负责复用任务状态、平台空间和已验证回执。

用户明确要求最终发布时

这是草稿准备完成后的独立分支,不修改生产入口的默认安全行为。只对本次明确指定的内容与平台执行;当前对话已经确认的内容与平台可沿用,缺少或含糊时先问清。原创权利、账号身份、视频、标题、封面、可见性和平台设置仍须与用户已确认的内容一致。

  1. 先用同一 Job 的 --inspect-only --job-id <原 Job ID> 重新核对目标平台,要求该平台仍为 READY、草稿身份一致且最终按钮可见。其他平台没有授权就不处理。若用户接管空间、页面改变、草稿缺失或任何核对失败,停止,不创建新草稿代替。
  2. 在对应的 Ego 任务空间中再次核对页面上的账号、视频、标题、封面和发布范围。然后仅在该页面执行 window.__VIDEO_PUBLISHER_FINAL_GUARD__?.releaseForConfirmedPublish?.(),必须返回 ok: true;它只解除当前页面的最终按钮拦截,不代表已经发布。不要在准备或诊断阶段调用,也不要用刷新页面绕过守卫。解除后只点击与用户请求相符的最终发布控件;YouTube 的 Save、Publish、Schedule 含义不同,不能互换。出现新的确认弹窗时核对其内容与公开范围后再继续。
  3. 点击后读取平台给出的成功状态、作品链接或作品列表中的匹配记录。没有可验证的发布证据时报告“发布结果未确认”,不得再次点击或另建草稿来猜测结果。一次授权只用于这次内容与这些平台;不要保存成长期自动发布设置。

交付时区分“本地封面已生成”“平台已接收封面”“草稿 READY”“已点击最终发布”和“平台已确认发布”。历史 READY 不能证明页面仍在;用户报告页面缺失时先检查原任务,不能直接报完成或默认重传。已发布的平台不再恢复上传。

只读检查使用:

bash
scripts/run-safe-platforms.sh <package.json> [task-suffix] [platform...] --inspect-only

按需读取

只读取当前任务需要的文档:

  • 首次配置、修改默认平台或新增账号:references/configuration.md
  • 选择视频、检查字幕、拟定发布内容:references/intake-workflow.md
  • 创建或修复内容包 JSON:references/content-package.md
  • 上传用户已有封面:references/cover-workflow.md
  • 查看命令参数、任务状态或单平台诊断入口:references/scripts.md
  • 诊断或修改页面适配器:先读 references/platform-common.md、references/ego-browser-workflow.md,再按平台读取 references/platform-xiaohongshu.md、references/platform-douyin.md、references/platform-bilibili.md、references/platform-wechat-channels.md 或 references/platform-youtube.md
  • 自定义发布步骤:先读 references/customizing-workflows.md,再按其中路由读取共享和平台文档
  • 更新实测范围或发布维护结论:references/acceptance-history.md

不要为普通发布加载适配器、调度、锁、恢复或历史验收文档。

维护边界

静态审查、文档修改和本地测试不读取个人配置,也不打开 Ego Lite。只有维护任务进入真实页面诊断时,才执行配置检查并遵循页面工作流。

页面适配器的改动必须以真实创作者页面证据和无操作复跑验收;调度、持久化、锁、任务空间、共享输入或回执改动还需要对应的崩溃恢复与完整生产回归。历史结果只记录在 references/acceptance-history.md。

任何 Agent 都不得并行控制创作者页面;生产编排器是唯一的页面控制入口。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

and 3 more files.

Frequently asked questions

What does the Video Publisher AI skill do?

将本地视频、标题和封面准备为小红书、抖音、B站、视频号或 YouTube 的已验证草稿,支持账号配置、恢复上传和草稿检查。用户要求准备或管理发布草稿时使用,默认停在最终发布按钮前;用户明确要求发布已核对的本次内容到指定平台时,也使用本 Skill 完成最终发布。不用于视频剪辑、封面制作、公众号长文或一般平台建议。

Why use Video Publisher on TypingMind?

Because you install it once and use it with any model. Video Publisher is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Video Publisher in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/oil-oil/video-publisher-skill/tree/main/video-publisher. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Video Publisher?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Video Publisher?

As many as you like. As long as a model supports skills, you can use Video Publisher with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Video Publisher AI skill free?

Yes. It is published on GitHub by oil-oil under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇