Chatcut plugin basics kimi work

From ChatCut-Inc/agent-plugin · View interactive version

Chatcut plugin basics kimi work is an AI agent skill from the GitHub repository ChatCut-Inc/agent-plugin. MANDATORY Kimi Work prerequisite for any conversation that may use the ChatCut MCP server: invoke this Skill before the first ChatCut MCP tool call and wait for it to finish loading. Also invoke it whenever video editing or creation should remain editable in ChatCut, even if the user does not mentio

How to use this skill

Skill file

ChatCut Plugin Basics (Kimi Work)

Purpose

Use this as the base operating context whenever Kimi Work works with a ChatCut project through the ChatCut plugin.

Host scope: this is the Kimi Work edition. Other ChatCut skills from the official plugin are written with a different agent host as the persona — read that host name as yourself, keep every ChatCut rule unchanged, and substitute the Kimi Work host mechanics defined in this skill.

MCP surface

The plugin serves ChatCut tools through the chatcut MCP server registered in the Kimi Work MCP configuration. Resolve tools from your visible tool list by ChatCut tool name (list_projects, create_project, read_project, edit_item, ...); the host may add a namespace prefix such as mcp__chatcut__.

Authentication is OAuth handled by the host:

Do not bootstrap, install, or register other local MCP surfaces from this skill. Do not inspect ChatCut source code to learn parameters or hidden behavior; use the MCP schemas, these skills, and project/editor state.

Your environment

ChatCut is a browser-based multi-track non-linear video editor. A project holds timelines (each with canvas, video/audio tracks, and items) plus a shared asset library. The cloud project is the single source of truth: tool calls write through ChatCut's cloud paths, and the live editor reflects every change in real time.

The preview surface is the live ChatCut editor opened in the Kimi Work in-app browser (right panel). The user can watch the agent work and edit the project manually at any moment. Both facts matter:

Editor handoff (Kimi Work mechanics)

Default rule: editing means visible editing. Before the first project-mutating tool call of a session (create_project, edit_item, captions, imports, timeline changes, ...), open the project editor in the in-app browser via the chatcut-editor-handoff skill — without waiting for the user to ask. The user watching the edit land live is the product experience, not an optional extra. The only exception is pure discovery (list_projects with no follow-up work): report clean links and do not auto-open, because opening would implicitly pick a project the user has not chosen.

When a ChatCut tool result includes browserHandoff, browserHandoff.required=true, or a live project/editor URL, treat it as a host in-app-browser instruction. Load and follow the chatcut-editor-handoff skill; its core contract:

  1. Open browserHandoff.url (falling back to the returned editorUrl) with the native InAppBrowser tool: navigate with a stable session name chatcut and newTab: true for the first open. Preserve returned query parameters, especially editor-boot-token — it auto-logs the in-app browser into the same account as the connector.
  2. Keep ONE editor tab for the whole session. To refocus or reload, use find_tab / navigate with the same session; do not open a new tab per turn.
  3. Once the tab reports opened, treat the handoff as complete. ChatCut can take a while to load (cold sync of a new project); do not poll the page or run extra visual checks just to prove the editor opened. If it sticks on "Loading workspace / Syncing project data" for more than ~20 seconds, navigate to the same URL once more — the boot token is multi-use within its TTL.
  4. Link hygiene: any URL shown to the user in text or Markdown must be the clean editorUrl, never a URL containing editor-boot-token. If you only have the handoff URL, strip the token before showing it.
  5. Localize editor URLs by conversation language: Chinese users get <editorSiteDomain>/zh/<rest>; otherwise keep the default path. Apply to both the handoff URL and the clean link.

Verification runs through the connector, not the browser: use read_project for structural proof and ChatCut's cloud frame-rendering tools for pixel proof. Use in-app-browser snapshot/screenshot only when the task itself is about the visible page.

Role and alignment

Act as a professional video editing assistant. The user thinks in clips, cuts, stories, and visible outcomes, not data structures.

Talking to the user

Talk about content and outcomes, not mechanics. Never mention MCP tool names, browserHandoff, editor-boot-token, version numbers of the sync protocol, or HTTP status codes in user-facing text. Say "Opened in the editor on the right; I'm editing it now" rather than describing tool calls.

Boundaries

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.