Agent Skills
› HKUDS/CLI-Anything
› cli-anything-dify-workflow
cli-anything-dify-workflow
GitHub封装Dify工作流DSL CLI,提供创建、检查、验证、编辑和导出工作流文件的能力,简化Agent对Dify应用配置的自动化操作。
Trigger Scenarios
需要创建或生成Dify工作流文件
需要检查或验证Dify工作流YAML/JSON结构
需要修改Dify工作流的节点配置或模型设置
需要导出或导入Dify工作流定义
Install
npx skills add HKUDS/CLI-Anything --skill cli-anything-dify-workflow -g -y
SKILL.md
Frontmatter
{
"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:
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
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
-j/--json-outputon upstream commands when available. - The harness itself is a wrapper. Real workflow logic is provided by the upstream project.
- If
dify-workflowis not on PATH but thedify_workflowPython package is installed, the wrapper falls back topython -m dify_workflow.cli. - All operations are local file edits on Dify YAML/JSON DSL files.
Version History
- 6f372d3 Current 2026-08-20 06:40


