Skip to main content

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

来源信息

仓库
HKUDS/CLI-Anything
最近来源活动
2026年4月7日 07:31
检测到的 SKILL.md 语言
英语
星标
57,617
Forks
5,188

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
cli-anything-dify-workflow
description
Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.
# 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-harness ``` ## Usage The harness forwards to the upstream `dify-workflow` CLI. ```bash 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` ## Agent Guidance - Prefer `-j` / `--json-output` on upstream commands when available. - The harness itself is a wrapper. Real workflow logic is provided by the upstream project. - If `dify-workflow` is not on PATH but the `dify_workflow` Python package is installed, the wrapper falls back to `python -m dify_workflow.cli`. - All operations are local file edits on Dify YAML/JSON DSL files.
在 GitHub 查看