twwch/workflow-skill/coze-workflow
Claude Code and agent skill by twwch/workflow-skill
- community
Checking that the SKILL.md file is still in the repository.
Generate Coze workflow YAML files packaged as ZIP for import into coze.cn cloud platform. Produces importable workflow definitions with correct node schemas, edges, and layout.
Install
npx vskill@latest install twwch/workflow-skill/coze-workflowSKILL.md
Coze Workflow Generator
Overview
This skill generates Coze workflow files that can be directly imported into coze.cn cloud platform via ZIP upload. Given a natural language description of a desired workflow, it produces a complete YAML file packaged as a ZIP with correct node schemas, edges, layout, and byte-level zip formatting.
The skill triggers when the user asks to:
- Create, generate, or build a Coze workflow
- Convert a process description into a Coze workflow
- Scaffold a workflow for a Coze bot or application
Primary output: .zip file for coze.cn cloud import (via UI "导入" dialog).
Smart Interaction Logic
Before generating, assess whether the user's description is sufficient:
Proceed directly if the description includes:
- Clear input/output expectations
- Processing logic (what the workflow should do)
- Enough detail to select appropriate nodes
Ask clarifying questions (max 3 rounds) if unclear:
- "What inputs will the workflow receive, and what outputs should it produce?"
- "What processing steps are needed? (e.g., LLM call, loop iteration, data aggregation)"
- "Any specific models or plugins to use?"
Node Type Reference
Core node types (all verified from real coze.cn export)
| YAML Type | Purpose | |
|---|---|---|
start | Entry point; defines workflow input variables | |
end | Terminal node; collects outputs | |
llm | Invokes a large language model | |
loop | Iterates over array with inner sub-nodes | |
plugin | Executes a registered plugin/tool | |
variable_merge | Merges variables from multiple branches | |
image_generate | Generates images from prompts | |
code | Run Python (language: 3) / TypeScript (language: 5) | |
http | HTTP API calls (GET/POST/PUT/DELETE) | |
condition | Conditional branching (IF/ELIF/ELSE) | |
intent | LLM-based intent classification | |
knowledge | Knowledge base search | |
text | Text concat/split | |
question | Pause for user input | |
batch | Parallel array processing | |
subflow | Sub-workflow call |
Additional node types (verified from real coze.cn export)
| YAML Type | Purpose | Builder Function | |
|---|---|---|---|
code | Run Python/TypeScript code | code_node() | |
http | HTTP API calls | http_node() | |
condition | Conditional branching (IF/ELSE) | selector_node() | |
intent | LLM-based intent classification | intent_node() | |
knowledge | Knowledge base search | knowledge_node() | |
subflow | Sub-workflow call | — | |
batch | Parallel array processing | — | |
text | Text concat/split | — | |
question | Pause for user input | — | |
to_json | JSON serialize | — | |
from_json | JSON deserialize | — | |
assign_variable | Variable assignment | — | |
database | SQL custom query | — | |
insert_record / update_record / select_record / delete_record | DB CRUD | — | |
dataset_write / dataset_delete | Knowledge write/delete | — | |
image_generate / drawing_board | Image generation | — | |
video_generation / video_audio_extractor / video_frame_extractor | Video | — | |
conversation_create / conversation_update / conversation_delete / conversation_list | Conversation mgmt | — | |
conversation_history_list / conversation_clear | Conversation history | — | |
message_create / message_update / message_delete / message_list | Message mgmt | — | |
ltm_write / ltm_read | Long-term memory | — |
Condition edge ports: sourcePortID="true" (IF), sourcePortID="false" (ELSE), sourcePortID="true_1" (ELIF) Intent edge ports: sourcePortID="branch_0", sourcePortID="branch_1", ..., sourcePortID="default"
YAML Format (coze.cn Cloud)
Critical formatting rules (verified via byte-level experiments)
- 4-space indentation for all nesting levels
- Double quotes for string IDs:
id: "100001", notid: '100001' - YAML must NOT be generated via `yaml.dump()` — use string template concatenation to preserve exact formatting
- Node IDs: Start =
"100001", End ="900001", others = 6-digit strings
Top-level structure
Data references (between nodes)
Start node template
LLM node template (complete — all 14 llmParam fields required)
End node template
Loop node template (with inner sub-nodes)
Loop edge rules:
- Entry edge:
source_node: "<loop_id>",source_port: loop-function-inline-output→ first inner node - Exit edge: last inner node →
target_node: "<loop_id>",target_port: loop-function-inline-input - Top-level edge out of loop:
source_port: loop-output
Variable Merge node template
Edge format
ZIP Packaging
Directory structure (naming contract — strictly enforced)
<NAME>must match in directory name, filename, and YAMLname:field<NAME>must be^[a-zA-Z][a-zA-Z0-9_]*$<DIGITS>can be any number (e.g.,0001)
MANIFEST.yml format
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/coze-workflow/SKILL.md
Popularity
- Repository stars
- 56
- Repository forks
- 14
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 26 Apr 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/twwch/workflow-skill/coze-workflow)