Skip to content
hkuds avatar

Cli Anything Dify Workflow

Command-line toolkit for creating, validating, editing, and exporting Dify workflow DSL files locally.

CCM score
52 of 100
skills.sh installs
590
GitHub stars
67.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full workflow file lifecycle: create, inspect, validate, edit nodes and edges, configure models and prompts, export, import, diff, and layout
  • Exposes command groups including create, inspect, validate, checklist, edit, config, export, import, diff, and layout
  • Forwards every call to the upstream dify-workflow CLI, with -j JSON output available on supported commands
  • Designed for agents that need to script Dify YAML or JSON edits as plain local file operations

Install

$ npx -y skills add hkuds/cli-anything --skill cli-anything-dify-workflow -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

  • guide
  • list-node-types
  • create
  • inspect
  • validate
  • checklist
  • edit add-node|remove-node|update-node|add-edge|remove-edge|set-title
  • config set-model|set-prompt|add-variable|set-opening|add-question|add-tool|remove-tool
  • export
  • import
  • diff
  • layout

Details

Repository
github.com/hkuds/cli-anything
Categories
Workflow Automation, CLI & Terminal
First seen
Jun 3, 2026

Questions

What does the cli-anything-dify-workflow skill do?

It wraps the Dify workflow DSL CLI so an agent can create, inspect, validate, edit, and export Dify workflow files. All operations are local file edits on Dify YAML or JSON DSL files. Real workflow logic comes from the upstream project.

How do I install the cli-anything-dify-workflow skill?

Run npx -y skills add hkuds/cli-anything --skill cli-anything-dify-workflow -y in a project. The skill also needs the upstream dify-ai-workflow-tools package and the CLI-Anything harness installed with pip, as described in its SKILL.md.

Where does cli-anything-dify-workflow rank in its category?

It is in the Workflow Automation category and ranks in the top 100 on that category page. Other skills in the category include computer-use, python-executor, gws-events, recipe-save-email-attachments, and gws-events-renew.

What commands does the skill give an agent for Dify workflows?

It offers commands such as create, inspect, validate, checklist, edit add-node, config set-model, export, import, diff, and layout. Its guidance prefers the -j JSON output flag on upstream commands when available.

More from hkuds/cli-anything

All 51

Similar to Cli Anything Dify Workflow

More Workflow Automation