Agent SkillsChatCut-Inc/agent-plugin › widget-forms

widget-forms

GitHub

指导 Agent 在不同插件宿主(ChatCut、Codex、Claude Code)中适配结构化表单输入,确保正确调用对应工具收集用户信息。

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

Trigger Scenarios

需要在 ChatCut 或 Codex 中向用户请求结构化数据 需要在 Claude Code 中通过 Elicitation 形式获取用户输入

Install

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

Non-standard path

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

Use without installing

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": "Ask for structured ChatCut input using the current plugin host's supported form surface."
}

Widget Forms Host Adapter

The canonical agent's raw <widget>, <choices/>, and <visual-option> tags render only inside ChatCut. Never emit those tags from the published Codex or Claude Code plugin.

Codex

Call the ChatCut MCP tool ask_followup_questions. Put related fields into one form, write visible text in the user's language, and stop after the call until the submitted answer appears in chat. Use the current tool schema for field and option shapes.

Do not add media-upload fields. Ask for missing source media separately and then use asset-import.

Claude Code

Follow the structured-input recipe in chatcut-plugin-basics-claude: use one visualize.show_widget Elicitation form, submit only through .elicit-submit, and wait for the user to send the filled prompt. Never call ChatCut's ask_followup_questions in Claude Code because that host does not render its MCP-App result.

Version History

  • e1867a8 Current 2026-08-02 23:37

    重构为Host Adapter模式,简化Codex与Claude Code的实现逻辑,移除冗余的MCP-App渲染说明,统一表单设计规则。

  • 5e9afe0 2026-07-22 10:59

Same Skill Collection

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/voice/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/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/voice/SKILL.md
chatcut/skills/product-help/SKILL.md
chatcut/skills/talking-head-guide/SKILL.md
claude/skills/chatcut-plugin-basics-claude/SKILL.md
claude/skills/multicam-sync/SKILL.md
claude/skills/product-help/SKILL.md
claude/skills/talking-head-guide/SKILL.md
codex/skills/chatcut-plugin-basics/SKILL.md
codex/skills/multicam-sync/SKILL.md
codex/skills/product-help/SKILL.md
codex/skills/talking-head-guide/SKILL.md

Metadata

Files
0
Version
aad1e27
Hash
d6fe5832
Indexed
2026-07-22 10:59

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-13 01:53
浙ICP备14020137号-1 $お客様$