workflow-creator
What it does
It creates or edits reusable workflow files in the project's workflow folder and gives each one a slash command. It is for people who repeat the same multi-step agent job and want it saved.
When to use it
- ✓When you want a multi-step agent job saved so you can reuse it.
- ✓When you want to edit an existing saved workflow.
- ✓When you ask to create or save a workflow in your project.
Skill link
https://github.com/QwenLM/qwen-code/blob/main/packages/core/src/skills/bundled/workflow-creator/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Save a reusable workflow for my weekly release checklist, so I can run it with one slash command.”
5 new skills a week. 1 minute to read.
How it works
The agent writes a small workflow script into the project's workflow folder, reads it back to check its steps, and reports the file path and slash command. It does not run the workflow unless you ask.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Workflow Creator
Create and maintain saved Dynamic Workflows for the current workspace.
Boundary
- This skill manages
.qwen/workflows/<name>.jsfiles used by theworkflowtool and exposed as/<name>slash commands. - Do not create or edit
qwen-workflow-design/*.yaml; those Task Flow definitions are a different feature. - Local hosts may also discover trusted ancestor
.qwen/workflowsdirectories up to the nearest Git root, with the nearest definition first. Discovery does not change the project save destination: use the current session target. - Use project scope by default. Write to
~/.qwen/workflowsonly when the user explicitly asks for a workflow shared across projects.
Workflow
- Inspect the current task and any existing workflow with the requested name. Ask a question only when the goal, ordering, or write scope is materially ambiguous.
- Choose a lower-case name containing only letters, digits, and hyphens. It must start with a letter and be at most 41 characters.
- Create the smallest script that captures the requested phases, dependencies, and final result. Do not add speculative branches, retries, or agents.
- Read the saved file back and verify its name, metadata, phase order, dependency flow, and final return value. Do not execute it unless the user also asks to run it.
- Report the saved path and slash command. In the interactive TUI's ink renderer, the slash command runs in the foreground: progress stays in the tool card, and completion displays the result and notifies the model. The OpenTUI renderer does not yet run client-scheduled tools; there, ask the model to call
Workflow({ name: '<name>' })instead./workflows <runId>shows the run after it settles. In Web Shell, tell the user to return to Workflows and refresh the Saved tab if it is already open.
Script contract
- Start with a literal metadata declaration:
export const meta = {
name: 'Release readiness',
description: 'Inspect, validate, and summarize a release candidate',
};
- Use the sandbox globals
phase(title),log(message),agent(prompt, options?),parallel(thunks),pipeline(items, ...stages),workflow(nameOrRef, args?),args, andbudget. Theworkflow-authoringskill is the full reference for them — load it before writing anything beyond a trivial script. - Scripts cannot import modules or access the filesystem, shell, environment, or network directly. Put required reads and actions in explicit agent prompts.
- Give every agent a complete, scoped prompt and a concise
label. State whether it may edit files. - Express real concurrency as
parallel([() => agent(...), () => agent(...)]). Do not pass already-started promises toparallel. - Keep dependent work sequential and pass prior results explicitly.
- Put variable user input in
argsinstead of hard-coding one-off values. - End every successful path with an explicit
returnof the final result. A trailing expression is not a return value. - Do not use
node --checkfor validation: valid workflow scripts may contain top-levelawaitandreturnbecause the runtime wraps them in an async function.
Updates
- Preserve unrelated behavior and metadata when editing an existing workflow.
- Do not overwrite an existing workflow with a different design unless the user requested that update.
- Do not delete or rename a workflow unless the user explicitly asks.
FAQ
Where are the workflows saved?
By default they go in the project's workflow folder, and only go to your home folder if you ask for a shared one.
Does it run the workflow after saving?
No. It only runs the workflow if you also ask it to.
What name can I give a workflow?
Lower-case letters, digits and hyphens, starting with a letter and up to 41 characters.
Details
Original description by the author
Create or update reusable Dynamic Workflow JavaScript files under .qwen/workflows. Use when the user asks to create, save, edit, or reuse a Dynamic Workflow, including requests started from the Web Shell Workflows page.
repo: QwenLM/qwen-code
Popularity
- GitHub stars
- 29k
- Ranking position
- #9789
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
codegraph
29kHelps your agent analyze an indexed codebase through its call graph, dependencies, dead code, hotspots and semantic search.
qwen-code-claw
29kHelps your agent hand coding tasks to Qwen Code, such as understanding a codebase, fixing bugs, refactoring code or generating a new project.
structured-debugging
29kTeaches your agent a step-by-step way to debug hard bugs: form a hypothesis, add targeted checks, test it and find the real cause before fixing.
tmux-real-user-testing
29kHelps your agent test a terminal app like a real user inside tmux, saving a step-by-step readable log with a screen snapshot of each action.
Similar skills
knowledge-automation
394kHelps your agent set up a recurring job that brings new content into your Knowledge vault on a schedule, then checks that the job runs.
knowledge-source-ingest
394kHelps your agent keep a Knowledge vault current with new items from chat channels, feeds, or mailboxes, without re-adding what it already has.
benchmark
280kHelps your agent measure code speed and performance. It's useful for ensuring things are fast and finding slowness issues.