export

GitHub

用于 ChatCut 插件的视频、音频及字幕导出任务。指导代理确认时间线参数,提交渲染并跟踪状态。重点处理本地渲染后从下载文件夹查找文件并交付用户,解决浏览器特定的下载权限问题,避免不必要的云端重试。

codex/skills/export/SKILL.md ChatCut-Inc/agent-plugin

Trigger Scenarios

用户请求渲染或下载最终成品 需要交付视频、音频或字幕文件

Install

npx skills add ChatCut-Inc/agent-plugin --skill export -g -y
More Options

Non-standard path

npx skills add https://github.com/ChatCut-Inc/agent-plugin/tree/main/codex/skills/export -g -y

Use without installing

npx skills use ChatCut-Inc/agent-plugin@export

指定 Agent (Claude Code)

npx skills add ChatCut-Inc/agent-plugin --skill export -a claude-code -g -y

安装 repo 全部 skill

npx skills add ChatCut-Inc/agent-plugin --all -g -y

预览 repo 内 skill

npx skills add ChatCut-Inc/agent-plugin --list

SKILL.md

Frontmatter
{
    "name": "export",
    "description": "Hosted ChatCut plugin sessions only (the `chatcut` MCP server). If the conversation is driving ChatCut Desktop (a `chatcut_desktop*` MCP server), load this skill only when the user explicitly chooses the plugin\/web surface — desktop sessions otherwise ship their own instructions and tools. Export or deliver a ChatCut project through the hosted connector, including video, audio, subtitles, XML, and render-status checks."
}

Export

Export only when the user asks for a render, download, or final standalone deliverable. A review checkpoint normally stays as an editable ChatCut timeline. To check your own work, use preview_timeline for the picture and a format:"audio" export to hear sound; never make a full-resolution export for a self-check (see verification).

Use submit_export with the current tool schema. Confirm the target timeline, range, resolution, codec, and format from project state and user intent; do not guess a non-active timeline. Give each export a short, distinctive name. Record every returned renderId and expectedFilename.

Video and audio render locally by default: omit renderMode, and the connected ChatCut editor tab renders the timeline on the user's device. Open the project through the browser handoff in the plugin basics skill, activate the requested timeline, and keep that tab open until delivery finishes. If no capable editor is connected, resolve the reported browser or timeline issue and retry locally; there is no automatic cloud retry. Media the editor can already read needs no upload for a local export.

Use track_export for browser and cloud export status; do not use generation/transcription track_progress. Pass the returned renderId, or use the latest-render option for the latest project export. A wait call is a single status read; honor its check-back interval. If submission timed out or its acknowledgement is uncertain, check the latest export before resubmitting so the same export does not start twice.

Delivery

A completed browser export (source:"browser") has no downloadUrl: the rendering tab hands the file to that browser's downloads. Completion does not prove the file was saved, so deliver it only after finding it.

  1. Look in the user's downloads folder (usually ~/Downloads) for expectedFilename, allowing a browser suffix such as (1) before the extension. Without expectedFilename, look for the completed track_export entry's name (the submitted name plus .mp4, .webm, or .mp3) and take the newest match modified after you submitted. Search for that name only; do not list or read other files there. If you cannot read files on the user's computer, give the user the file name instead.
  2. Found: give the user the path and concise render metadata. In Claude Code, also provide a local-file preview link; in Codex, show the local file through its normal file delivery. If the user asked for a specific folder, copy the file there.
  3. Not found: follow the result's deliveryGuidance when present, asking the user for the one step that matches the browser that rendered it, then look again:
    • Chrome: allow "Download multiple files" from the prompt in the address bar (once; the site stays allowed), then click Download again in the editor's Export queue.
    • Claude desktop Browser pane or WorkBuddy: click Save in the save dialog; it defaults to Downloads.
    • Codex in-app browser: click Download again in the editor's Export queue.
    • Otherwise: ask where the browser saved the file.

If reading the downloads folder needs the user's approval (a macOS privacy prompt or a host permission prompt), tell them you are looking there for the exported file. If the status says the export was written to a file the user picked, that file is the delivery. Do not skip these steps to switch to cloud, and never use cloud just to get a link or to check your own work.

If the user says they cannot complete the local step (opening the editor, or the download step above), or it still fails after they tried, explain the local blocker in one sentence and ask whether to export in the cloud; after they agree, export with renderMode:"cloud" and deliver its downloadUrl. Do not offer cloud before the user has had that chance. Only when cloud cannot do it either (for example 4K, media that exists only on the user's computer and cannot be uploaded, or a refused or failed cloud render), tell the user that ChatCut Desktop renders on their computer. Once open, Desktop connects itself to Codex, Claude Code, and WorkBuddy; in Codex, the ChatCut Desktop plugin's connect-chatcut-desktop skill covers installing it.

A completed result with a downloadUrl (cloud video/audio, subtitles, XML): use the host's normal file/link delivery. If the user asked for a specific local path, download it there yourself. In Claude Code, download it to that path or a collision-safe local path and provide the path and a local-file preview link.

Queued or running exports are not delivered. Report any warnings and their effect on the output.

Other Formats

Subtitle and NLE XML exports use the corresponding submit_export format and can complete synchronously with a URL/path; report warnings about unsupported or dropped elements. An archive runs through the editor's bundle pipeline and may return no renderId; then check its progress in the editor rather than promising track_export support. For transparent Motion Graphic delivery, use the dedicated MG export tool exposed by the current manifest and track the returned render ids.

Cloud Rendering

Use renderMode:"cloud" only when the user asks for it, or as the fallback above after the user agrees. If a cloud render is blocked by media that is not remotely readable, use asset-import when the user permits upload, or report the blocker; do not flatten or substitute the edit locally without user intent.

Version History

  • e8ebd99 Current 2026-11-02 11:54

    修复了浏览器导出的交付逻辑:不再依赖云下载链接,改为在本地下载文件夹中查找渲染完成的文件;明确了 Chrome、Claude Desktop 和 Codex 等宿主环境下的具体交付步骤和权限处理。

  • 014586d 2026-08-27 10:43
  • e1867a8 2026-08-02 23:37

    同步插件更新,优化Claude Code环境下的本地文件下载与交付流程,明确使用curl进行安全命名下载及文本汇报格式。

  • f39cdae 2026-07-30 21:54

    同步插件版本至66c0309a40866ab98e1147b05d4cc160094efab5

  • 5e9afe0 2026-07-22 10:58

Same Skill Collection

chatcut-desktop-codex-plugin/skills/connect-chatcut-desktop/SKILL.md
chatcut/skills/asset-import/SKILL.md
chatcut/skills/chatcut-plugin-basics-claude/SKILL.md
chatcut/skills/chatcut-plugin-basics/SKILL.md
chatcut/skills/create-motion-graphics/SKILL.md
chatcut/skills/export/SKILL.md
chatcut/skills/image-gen/SKILL.md
chatcut/skills/known-errors/SKILL.md
chatcut/skills/music/SKILL.md
chatcut/skills/shader-gen/SKILL.md
chatcut/skills/transcription/SKILL.md
chatcut/skills/verification/SKILL.md
chatcut/skills/video-gen/SKILL.md
chatcut/skills/voice/SKILL.md
chatcut/skills/widget-forms/SKILL.md
claude/skills/asset-import/SKILL.md
claude/skills/create-motion-graphics/SKILL.md
claude/skills/export/SKILL.md
claude/skills/image-gen/SKILL.md
claude/skills/known-errors/SKILL.md
claude/skills/motion-graphic-gen/SKILL.md
claude/skills/music/SKILL.md
claude/skills/shader-gen/SKILL.md
claude/skills/transcription/SKILL.md
claude/skills/verification/SKILL.md
claude/skills/video-gen/SKILL.md
claude/skills/visual-analysis/SKILL.md
claude/skills/widget-forms/SKILL.md
codex/skills/asset-import/SKILL.md
codex/skills/chatcut-plugin-basics/SKILL.md
codex/skills/create-motion-graphics/SKILL.md
codex/skills/image-gen/SKILL.md
codex/skills/known-errors/SKILL.md
codex/skills/music/SKILL.md
codex/skills/shader-gen/SKILL.md
codex/skills/transcription/SKILL.md
codex/skills/verification/SKILL.md
codex/skills/video-gen/SKILL.md
codex/skills/visual-analysis/SKILL.md
codex/skills/widget-forms/SKILL.md
grok/skills/asset-import/SKILL.md
grok/skills/chatcut-plugin-basics/SKILL.md
grok/skills/create-motion-graphics/SKILL.md
grok/skills/export/SKILL.md
grok/skills/known-errors/SKILL.md
grok/skills/lipsync/SKILL.md
grok/skills/music/SKILL.md
grok/skills/shader-gen/SKILL.md
grok/skills/transcription/SKILL.md

Metadata

Files
0
Version
e8ebd99
Hash
ac702dca
Indexed
2026-07-22 10:58

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-02 17:40
浙ICP备14020137号-1