cli-anything-dify-workflow
What it does
This skill lets your agent create and edit workflows for the Dify AI platform through a command-line wrapper. It is for builders who design AI workflows in Dify.
When to use it
- ✓When you want to create a new Dify workflow from a template.
- ✓When you want to check or validate a Dify workflow file.
- ✓When you want to add nodes or set the model for a Dify app.
Skill link
https://github.com/HKUDS/CLI-Anything/blob/main/dify-workflow/agent-harness/cli_anything/dify_workflow/skills/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
“Create a Dify workflow from the LLM template, add a code node, and validate the file.”
5 new skills a week. 1 minute to read.
How it works
The skill passes your commands to the upstream Dify workflow tool, which does the actual work. The wrapper gives your agent a consistent set of commands.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Dify Workflow CLI Skill
Installation
Install the upstream Dify workflow CLI first:
python -m pip install "dify-ai-workflow-tools @ git+https://github.com/Akabane71/dify-workflow-cli.git@main"
Then install the CLI-Anything harness:
pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=dify-workflow/agent-harness
Usage
The harness forwards to the upstream dify-workflow CLI.
cli-anything-dify-workflow guide
cli-anything-dify-workflow list-node-types
cli-anything-dify-workflow create -o workflow.yaml --mode workflow --template llm
cli-anything-dify-workflow inspect workflow.yaml -j
cli-anything-dify-workflow validate workflow.yaml -j
cli-anything-dify-workflow edit add-node -f workflow.yaml --type code --title "Process"
cli-anything-dify-workflow config set-model -f app.yaml --provider openai --name gpt-4o
Command Groups
guidelist-node-typescreateinspectvalidatechecklistedit add-node|remove-node|update-node|add-edge|remove-edge|set-titleconfig set-model|set-prompt|add-variable|set-opening|add-question|add-tool|remove-toolexportimportdifflayout
Agent Guidance
- Prefer
-j/--json-outputon upstream commands when available. - The harness itself is a wrapper. Real workflow logic is provided by the upstream project.
- If
dify-workflowis not on PATH but thedify_workflowPython package is installed, the wrapper falls back topython -m dify_workflow.cli. - All operations are local file edits on Dify YAML/JSON DSL files.
FAQ
Do I need to install something first?
Yes, you must install the upstream Dify workflow tool before the wrapper can work.
Does the wrapper do the work itself?
No, the real workflow logic comes from the upstream project.
Can it export my workflow?
Yes, the skill supports exporting and importing workflow files.
Details
Original description by the author
Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.
repo: HKUDS/CLI-Anything
Popularity
- GitHub stars
- 58k
- Ranking position
- #3200
- License
- Apache-2.0
- Updated
- 9/21/2026
Comments
- …
More skills from this repository
cli-anything-3mf
58kLets your agent inspect and fix 3D printing files, including finding round holes, resizing them, repairing meshes, and comparing two files.
cli-anything-qgis
58kLets your agent open, edit, and export QGIS map projects from the terminal, including layers, features, print layouts, and processing tools.
cli-anything-adguardhome
58kLets your agent manage AdGuard Home, a network-wide ad blocker, including filters, DNS rewrites, clients, and query logs.
cli-anything-anygen
58kLets your agent generate slides, documents, websites, and diagrams from a written prompt using the AnyGen service.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.