cli-anything-dify-workflow
Original:🇺🇸 English
Translated
Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.
9installs
Sourcehkuds/cli-anything
Added on
NPX Install
npx skill4agent add hkuds/cli-anything cli-anything-dify-workflowTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Dify Workflow CLI Skill
Installation
Install the upstream Dify workflow CLI first:
bash
python -m pip install "dify-ai-workflow-tools @ git+https://github.com/Akabane71/dify-workflow-cli.git@main"Then install the CLI-Anything harness:
bash
pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=dify-workflow/agent-harnessUsage
The harness forwards to the upstream CLI.
dify-workflowbash
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-4oCommand 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 /
-jon upstream commands when available.--json-output - The harness itself is a wrapper. Real workflow logic is provided by the upstream project.
- If is not on PATH but the
dify-workflowPython package is installed, the wrapper falls back todify_workflow.python -m dify_workflow.cli - All operations are local file edits on Dify YAML/JSON DSL files.