Skip to main content

chatcut-editor-handoff

Open a ChatCut project editor in the Kimi Work in-app browser with automatic login, keep one editor tab per session, and show only clean links to the user. Use whenever a ChatCut tool result carries browserHandoff, when the user says "用内置浏览器打开" a ChatCut project, or before long-running visible editing work.

소스 정보

저장소
ChatCut-Inc/agent-plugin
최근 소스 활동
2026년 9월 30일 07:56
감지된 SKILL.md 언어
영어
스타
924
포크
79

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
chatcut-editor-handoff
description
Open a ChatCut project editor in the Kimi Work in-app browser with automatic login, keep one editor tab per session, and show only clean links to the user. Use whenever a ChatCut tool result carries browserHandoff, when the user says "用内置浏览器打开" a ChatCut project, or before long-running visible editing work.
# ChatCut Editor Handoff (Kimi Work) Open the live ChatCut editor in the in-app browser so the user can watch edits land in real time and edit manually themselves. Uses the native `InAppBrowser` tool — see the `in-app-browser` skill for the full action reference. ## When to open - **Before the first project-mutating operation of the session** (create, edit, captions, import, timeline changes) — open by default, without being asked. Editing with the editor closed is a broken experience. - A ChatCut tool result includes `browserHandoff` (especially `required: true`) or a live project/editor URL, and the project was just created or targeted for visible editing work. - The user explicitly asks to open a project in the in-app browser. - Before long-running visible work (import, transcription, generation, timeline assembly) when the editor is not already open on the current project. Pure discovery (`list_projects` only, no follow-up work) does not auto-open. Do not re-open on every turn; the editor is live-synced, so an already-open tab shows new edits without any reload. ## How to open 1. Choose the URL: `browserHandoff.url` when present (it carries `editor-boot-token`, which auto-logs the in-app browser into the same account as the MCP connector); otherwise the returned `editorUrl`. Preserve all query parameters. Never rewrite or hand-build editor URLs. 2. Localize the path by conversation language: Chinese → insert `/zh/` after the editor site domain; otherwise keep the default. Keep domain, remaining path, query, and hash intact. 3. First open of the session: ```json { "action": "navigate", "session": "chatcut", "params": { "url": "<handoff-url>", "newTab": true } } ``` 4. Later in the session, reuse the same tab: `find_tab` with the editor URL to re-activate it, or `navigate` with the same `session` and no `newTab`. Keep ONE editor tab per session. ## After opening - Once the tab reports opened, the handoff is complete. Continue the ChatCut workflow; do not poll the page, take screenshots, or run visual checks just to prove the editor opened. - ChatCut can take a while on first load of a new project (cold sync). If it visibly sticks on "Loading workspace / Syncing project data" for more than ~20 seconds, `navigate` to the same URL once more — the session cookie is already set and the boot token is multi-use within its TTL. - If `InAppBrowser` is not available this turn, agent browser control is disabled: present the clean `editorUrl` as a Markdown link instead, and say the user can open it themselves. Do not work around via HTTP or shell. ## Link hygiene (always) - URLs shown to the user — in tables, Markdown links, or plain text — must be the clean `editorUrl`. - Never show a URL containing `editor-boot-token`. If only the handoff URL is available, strip the token parameter before display. - The tokenized URL is only ever passed to `InAppBrowser`.
GitHub에서 보기