hkuds avatar

Cli Anything Dify Workflow

This wraps the Dify workflow DSL CLI so you can build and edit Dify workflow files without touching their web UI. You get commands to scaffold new workflows from templates, validate YAML structure, add or remove nodes and edges, configure LLM providers, and export finished workflows. It's a CLI-Anything harness, meaning it bridges the upstream Python tool into a format Claude can call directly. Useful if you're versioning Dify workflows in git or generating them programmatically. The tooling is young and comes from a third-party repo, so expect some rough edges, but the core premise of treating Dify's visual workflow format as editable code is solid.

skills.sh installs
527
GitHub stars
58.5K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

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

More from hkuds/cli-anything

All 51
1sickn33 avatardispatching-parallel-agentssickn33/antigravity-awesome-skillsdispatching parallel agents511skills.sh installs
2webmaxru avatarenonic-content-type-generatorwebmaxru/enonic-agent-skillsGenerates Enonic XP content type XML schema definitions from natural-language descriptions. Covers structured content modeling including input types, form layou485skills.sh installs
3sugarforever avatarvideo-scriptsugarforever/01coder-agent-skillsCreate video scripts and publishing materials for YouTubers/UP主. Use when user wants to prepare a video, write a script (口播稿), generate video title, description484skills.sh installs
4aj-geddes avatarbatch-processing-jobsaj-geddes/useful-ai-promptsImplement robust batch processing systems with job queues, schedulers, background tasks, and distributed workers. Use when processing large datasets, scheduled 479skills.sh installs
5webmaxru avatarenonic-controller-generatorwebmaxru/enonic-agent-skillsGenerates Enonic XP controller files (TypeScript/JavaScript) and paired XML descriptors for pages, parts, and layouts. Covers lib-portal imports, HTTP handler e477skills.sh installs
6manutej avatarkubernetes-orchestrationmanutej/luxor-claude-marketplaceComprehensive guide to Kubernetes container orchestration, covering workloads, networking, storage, security, and production operations474skills.sh installs