Communitygithub.com

0xsline/openchatcut

連接支援 MCP 的編碼代理至 OpenChatCut,編輯本機影片專案。當使用者要求安裝、連接或設定 OpenChatCut,檢查或編輯 OpenChatCut 專案,處理其時間軸、逐字稿、字幕、媒體、生成、動態圖形、音訊、調色或匯出工具,或從 OpenChatCut MCP 錯誤中復原時使用。

openchatcut 是什麼?

OpenChatCut 是一款以本機為優先、天生支援代理的影片編輯器。此技能是唯一的外部進入點;專門的編輯指引則保留在執行中的編輯器內,並可透過 `load_skill` 按需載入。工作流程首先要求啟動 OpenChatCut 並呼叫 `openchatcut_status` 與 `list_projects` 以選擇專案,接著視需要呼叫 `load_skill` 來揭露技能相關工具。進行讀取或編輯前必須呼叫 `begin_edit_session` 取得編輯工作階段 ID,並傳入每個草稿安全的編輯工具。支援 `manual` 與 `auto` 兩種核准模式,最終須呼叫 `review_edit_session` 並確認 `get_edit_session` 回傳 `applied` 才算完成。此技能適用於任何支援 MCP 的編碼代理(如 Claude Code、Cursor、Codex 等),並提供已知錯誤復原指引。

相容平台~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.

相關技能