Communitygithub.com

0xsline/openchatcut

将支持 MCP 的编码代理连接到 OpenChatCut,并在本地编辑视频项目。当用户要求安装、连接或设置 OpenChatCut;检查或编辑 OpenChatCut 项目;处理其时间轴、字幕、媒体、生成、运动图形、音频、色彩或导出工具;或从 OpenChatCut MCP 错误中恢复时使用。

openchatcut 是什么?

OpenChatCut 是一款本地优先、面向代理的原生视频编辑器。此技能是唯一的外部入口;专门的编辑指导保留在运行的编辑器中,并通过 `load_skill` 按需加载。该技能支持 Claude Code、Cursor、Codex 等 MCP 编码代理,通过 MCP 协议与 OpenChatCut 编辑器交互。它提供了一套清晰的步骤:启动编辑器、检查状态、加载技能、编辑会话管理、应用更改等。技能版本管理确保了兼容性,并且提供了更新命令以保持技能与服务器基线同步。该技能支持多种平台,包括本地视频编辑项目的时间轴、歌词、字幕、媒体、生成、运动图形、音频、色彩和导出工具。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/0xsline/openchatcut/tree/HEAD/skills/openchatcut

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

openchatcut 是做什么的?

OpenChatCut 是一个本地优先、面向代理的原生视频编辑器。此技能是 唯一的外部入口点;专门的编辑指导保留在运行的编辑器中,并 通过 load_skill 按需加载。

路由任务

  • 安装、连接或诊断 MCP 服务器:阅读 references/getting-started.md。
  • 检查或修改项目:阅读 references/editing-workflow.md。
  • 从失败的工具调用、过期的会话或缺失的编辑器中恢复: 阅读 references/known-errors.md。

基本要素

  1. 在连接之前启动 OpenChatCut。默认的 MCP 端点是 http://localhost:5199/api/external-mcp/mcp。
  2. 调用 openchatcut_status,然后调用 list_projects。仅在用户命名项目或当前上下文标识项目时才选择项目。
  3. 在进行专门工作之前调用 load_skill。它是只读的,不需要 begin_edit_session 或 editSessionId;可用的名称和支持文件 来自实时的 MCP 工具描述。 启用渐进式暴露后,此调用会显示该技能引用的工具 并发出 tools/list_changed;在继续之前刷新列表。
  4. 在读取或编辑项目之前,调用 begin_edit_session。保留其 editSessionId 并将其传递给每个草稿安全的编辑器工具。
  5. 如果 begin_edit_session 报告了一个活动会话,请调用 list_edit_sessions。 孤立的会话可以使用 recover_edit_session 恢复或丢弃, 使用 recoveryActions 中列出的操作;在线的所有者必须完成或 丢弃自己的会话。
  6. 使用 approvalMode: "manual",除非用户明确要求无人值守 应用。在手动模式下,用户在 OpenChatCut 中批准完整的提案。 在自动模式下,review_edit_session 应用完整的草稿。
  7. 以 review_edit_session 结束。仅在 get_edit_session 返回 applied 后报告成功。

技能版本

2026-09-04.1

OpenChatCut MCP 服务器宣布其所需的技能基线。如果服务器 基线较新,请运行:

npx skills update openchatcut

备用命令:

npx skills add 0xsline/OpenChatCut --skill openchatcut

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

0xsline/openchatcut

Use when acquiring or importing media into a OpenChatCut project asset library for video editing or creation, including local/attached videos, user-provided paths, public media URLs, web video/audio/image assets, upload fallback decisions, and deciding between import_media, download_media, or manual user action.

0xsline/openchatcut

Use when a OpenChatCut video editing or creation workflow needs export, render, download, share, final delivery, subtitle-file export, render choice, local-only asset handling, or export fallback explanation.

0xsline/openchatcut

AI image generation via Fal.ai, gpt-image-2, nano-banana, MiniMax image-01, and xAI Grok Imagine. Use when the user wants to generate or create an image / picture / still.

0xsline/openchatcut

Use when a OpenChatCut tool call fails or returns an unexpected shape.

0xsline/openchatcut

Music generation via Mureka, MiniMax, Atlas Cloud, and Sonilo. Use for instrumentals, songs, soundtracks, track/stem generation, covers, or video-conditioned scoring of the finished cut through `submit_music`.

0xsline/openchatcut

OpenChatCut product knowledge — UI layout, editor features, and how generation providers are configured. Use when the user asks about the product interface, how to use a feature, where to find something, or needs GUI guidance for something the agent cannot do directly. Also use as fallback when a task fails and the user needs to complete it manually in the UI. NOT for live project-state queries ("where are my folders?", "what's on my timeline?", "where is clip X?") — those are answered by `read_project`, not by this skill.

0xsline/openchatcut

AI shader generator for WebGL video effects, transitions, masks, and color grading (LUT / 调色 / 电影感 / film look). Use when the user wants a video effect (滤镜 / 特效), a transition (转场 / crossfade / wipe / cube / 3d), a mask (蒙版 / 遮罩 / reveal), a zoom / push-in (推近 / 推镜头), or a color grade — try the built-in effects (zoom, builtin LUTs) before generating a new shader.

0xsline/openchatcut

Use when checking whether agent edits are reflected in the OpenChatCut project and editor.

0xsline/openchatcut

AI video generation via Fal.ai, Seedance 2.0, Kling, MiniMax Hailuo, xAI Grok Imagine, and OFox. Use when the user wants to generate a video clip — text-to-video, image-to-video, first/last-frame transitions, reference-guided generation, multi-shot, or generatively editing / extending an existing clip.

0xsline/openchatcut

Text-to-Speech (TTS), voiceover, narration placement/sync, and custom sound effects (SFX) generator. Use when the user wants generated speech from text, wants to add/replace/align narration or voiceover for an existing video/timeline, wants to keep existing voiceover synced after visual retiming edits, needs voice audition/selection, or explicitly wants a newly generated/custom sound effect that is not available in the Sound Effects library.

0xsline/openchatcut

Use when the agent should ask the user for structured input with an in-chat form, including single-select, multi-select, text fields, style pickers, or voice audition choices.

相关技能