cc-workflow-ai-editor
它能做什么
这项技能教智能体如何在 CC Workflow Studio 中构建和修改可视化工作流。用户描述需求,智能体通过应用提供的工具更新工作流画布。
适用场景
- ✓当用户想在 CC Workflow Studio 中创建新的 AI 智能体工作流时。
- ✓当用户想修改现有工作流中的节点或连接时。
- ✓当用户想通过内置 MCP 服务器编辑工作流画布时。
技能链接
https://github.com/breaking-brake/cc-wf-studio/blob/main/.github/skills/cc-workflow-ai-editor/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我在 CC Workflow Studio 中创建一个工作流:先审查拉取请求,然后发布摘要。做好后给我看结果。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先读取结构定义和当前工作流,询问需要修改什么,然后生成工作流数据。它用工作流工具应用修改,修复错误,并请用户反馈。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
- Call
get_workflow_schemaviacc-workflow-studioMCP server - Call
get_current_workflowviacc-workflow-studioMCP server - Ask the user what to create or modify
- Generate workflow JSON: use built-in sub-agents (builtInType: explore/plan/general-purpose) by default. Only call
list_available_agentswhen the user explicitly asks to use an existing custom sub-agent. - Apply changes via
cc-workflow-studioMCP server:- New workflow or structural changes (add/remove nodes/connections): use
apply_workflow - Partial updates to existing nodes (change name, position, or data): use
update_nodes(more token-efficient) - Fix errors if any
- New workflow or structural changes (add/remove nodes/connections): use
- Ask for feedback, repeat from step 4
Group Node
Group nodes are visual containers for organizing related nodes on the canvas. They do NOT affect workflow execution.
Rules
- Group nodes have
type: "group"and requiredata.label(display name) - Group nodes must have
style: { width, height }to define their visual area - Group nodes CANNOT have connections (no edges to/from group nodes)
- To place a node inside a group, set the child node's
parentIdto the group'sid - Child node
positionis relative to the group's top-left corner (not the canvas origin) - The
namefield on group nodes is not validated (can be empty or omitted)
Example
{
"nodes": [
{
"id": "group-1",
"type": "group",
"name": "",
"position": { "x": 100, "y": 100 },
"style": { "width": 400, "height": 300 },
"data": { "label": "Data Processing" }
},
{
"id": "node-1",
"type": "subAgent",
"name": "fetch-data",
"parentId": "group-1",
"position": { "x": 50, "y": 50 },
"data": { "description": "Fetch data from API", "outputPorts": 1 }
}
]
}
常见问题
它使用哪些工具?
技能使用 MCP 工具:get_workflow_schema、get_current_workflow、apply_workflow 和 update_nodes。
什么是分组节点?
分组节点是用来容纳相关节点的可视化容器,不会改变工作流的运行方式。
什么时候会使用自定义子智能体?
技能默认使用内置子智能体,只有用户要求时才会查找自定义子智能体。
详情
作者的原始描述
AI workflow editor for CC Workflow Studio. Create and edit visual AI agent workflows through interactive conversation using MCP tools (get_workflow_schema, get_current_workflow, apply_workflow, update_nodes). Use when the user wants to create a new workflow, modify an existing workflow, or edit the workflow canvas in CC Workflow Studio via the built-in MCP server.
热度
- GitHub 星标
- 5.4k
- 排名
- #14843
- 许可证
- —
- 更新时间
- 2026/10/6
评论
- …