Agent Skills › ChatCut-Inc/agent-plugin › widget-forms

widget-forms

GitHub

定义Grok Bot交互适配器规范,指导如何适配ChatCut表单至媒体与交互界面。规定仅对MG参考或设计样式使用图片气泡预览,其他场景采用文本选项、原生卡片或明确同意机制,严格限制音视频展示方式,确保交互稳定可靠。

grok/skills/widget-forms/SKILL.md ChatCut-Inc/agent-plugin

触发场景

需要适配ChatCut问题到Grok Bot交互界面时 处理视觉预览、音频参考或头像选择等特定交互场景时

安装

npx skills add ChatCut-Inc/agent-plugin --skill widget-forms -g -y
更多选项

非标准路径

npx skills add https://github.com/ChatCut-Inc/agent-plugin/tree/main/grok/skills/widget-forms -g -y

不安装直接使用

npx skills use ChatCut-Inc/agent-plugin@widget-forms

指定 Agent (Claude Code)

npx skills add ChatCut-Inc/agent-plugin --skill widget-forms -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": "widget-forms",
    "description": "Adapt ChatCut questions and previews to the media and interaction surfaces that Grok Bot reliably supports."
}

Grok Bot Interaction Adapter

Use ordinary chat text for questions and choices. Use chat image bubbles only for the visual-preview cases defined below.

Stable visual-preview path

The only media-preview path to rely on is a normal chat image bubble, and only for Motion Graphic references or Design Style preset thumbnails.

For an MG reference or Design Style choice:

  1. Select a small relevant set, normally 3–6 options.
  2. Obtain each returned thumbnail or preview-image URL from the live tool result or the pinned widget-media manifest. Never invent or rewrite the URL.
  3. Download each image to a temporary local file readable by the host. Do not save it into the plugin package or the user's project unless the workflow separately requires an import.
  4. Display the downloaded images as ordinary chat image bubbles, in the same order as the choices.
  5. Immediately follow them with concise localized choices, using either Grok Bot's native option cards or ordinary text options. Keep every visible label mapped to the exact returned preset or reference id.
  6. Stop and wait for the user's selection. If an image cannot be downloaded or displayed, omit that bubble and keep the corresponding choice; do not expose the source URL.

Do not use this image-bubble path for avatars, voices, audio samples, generated project video, or general project preview.

Text questions and choices

For every other question, ask only the minimum blocking question. Use either Grok Bot's native option cards or concise ordinary text choices, while keeping stable ids mapped internally.

  • short_text: ask one direct text question.
  • single_choice: use short native option cards or ordinary text choices; accept the selected label.
  • explicit_consent: quote the caller's full consent statement and require an explicit affirmative response. Never infer consent from an attachment or another answer.
  • audio_reference: ask the user to attach the source file in the conversation, then load asset-import. Return the imported ChatCut audio assetId; never treat a local path, attachment URL, or raw bytes as an asset id.
  • avatar_choice: show names and concise returned descriptions as text. Tell the user that visual previews are available in ChatCut's Digital Humans library when previewing matters.
  • voice_choice: show names and concise returned traits as text. Tell the user to audition voices in the ChatCut editor or voice library before choosing when sound matters.

Widget requests from other workflows

Workflow guides shared with ChatCut's own editor may ask for a <widget> form, a <choices/> list, or a named control. Grok Bot does not render those tags, so never emit them; keep the workflow's field ids, required fields, defaults and stop-and-wait points, and present each control this way:

  • <choices/> or any single-choice control: single_choice above.
  • A text field or <form-textarea>: ask in ordinary chat. For a long prefilled value such as a transcript to review, show the complete text in numbered consecutive chunks without omitting lines, then ask the user to approve it or send corrections. Use the approved or corrected text exactly as the submitted field value.
  • <form-files>: audio_reference above, accepting the file types the workflow names.
  • playable_single_choice or another playable picker: voice_choice above.
  • playable_preview for a newly cloned voice: the cloned-voice handling under Audio and video restrictions below.
  • <form-visual> or an avatar picker: avatar_choice above, unless the choice is an MG reference or Design Style preset, which uses the visual-preview path.
  • <clone-voice/> and other editor actions: unavailable here; follow the workflow's external-host branch instead.

Audio and video restrictions

Voice samples are auditioned in ChatCut rather than in chat. For a newly cloned voice, report that its preview is ready in ChatCut, provide the clean editor link supplied by the project workflow, and ask the user to reply with Retry or Apply after listening.

Do not represent a project preview as an embedded video or popup. Project and timeline workflows must provide the clean ChatCut editor link; internal inspection tools may still be used for agent verification.

版本历史

  • 5b93f3a 当前 2026-11-07 13:04
  • 0dd9c5e 2026-09-22 02:34

同 Skill 集合

antigravity-desktop/skills/connect-chatcut-desktop/SKILL.md
antigravity/skills/asset-import/SKILL.md
antigravity/skills/create-motion-graphics/SKILL.md
antigravity/skills/export/SKILL.md
antigravity/skills/known-errors/SKILL.md
antigravity/skills/music/SKILL.md
antigravity/skills/shader-gen/SKILL.md
antigravity/skills/verification/SKILL.md
antigravity/skills/video-gen/SKILL.md
antigravity/skills/visual-analysis/SKILL.md
antigravity/skills/widget-forms/SKILL.md
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/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/create-motion-graphics/SKILL.md
codex/skills/export/SKILL.md
codex/skills/get-started/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/verification/SKILL.md
codex/skills/video-gen/SKILL.md
codex/skills/visual-analysis/SKILL.md
codex/skills/widget-forms/SKILL.md

元信息

文件数
0
版本
5b93f3a
Hash
ce7d34af
收录时间
2026-09-22 02:34

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-10 06:52
浙ICP备14020137号-1