
Dify Workflow CLI Wrapper
Lets an agent create, inspect, validate, edit and export Dify workflow DSL files via a CLI.
- Repository
- HKUDS/CLI-Anything
- Stars
- 58,084
- Licence
- Apache-2.0
- Files
- 1 file
What it does
This skill teaches an AI agent to operate a command-line tool for building Dify workflows, which are visual automation pipelines for AI apps stored as YAML or JSON files. Once installed, the agent can create a starter workflow from a template, list node types, inspect and validate a workflow file, add or remove nodes and connections, set model or prompt settings, and export or diff files. All operations are local edits to those files, and the real logic comes from an upstream open-source project that the skill depends on.
Great for
- Developers who build or maintain Dify workflow files and want an agent to make repetitive edits
- Teams that version-control Dify YAML and want validation and diffs run from the command line
- Users comfortable installing Python packages from GitHub
Skip it if
- People who do not use Dify; the commands only make sense for its DSL format
- Anyone who expects a polished no-code interface, since this is a thin command-line wrapper with no GUI
- Users who cannot review files before the agent edits them, because edit commands change workflow files directly
Try asking
- “Create a new workflow file in workflow mode starting from an LLM template, then inspect it”
- “Validate my workflow.yaml and show the result as JSON”
- “Add a code node titled Process to workflow.yaml and remove the old edge”
- “Set the model in app.yaml to OpenAI gpt-4o”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.
skills.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip skills.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip skills.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Run guide or list-node-types first so the agent knows the valid node types and commands
- Ask the agent to run validate after each edit and to keep a backup or use git so changes can be reverted
- Prefer the -j JSON output flag when you want the agent to parse results reliably
What's inside
- SKILL.md
Redistributed unmodified from HKUDS/CLI-Anything under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.