Chuyển đến nội dung
Skillpedia
Agent58k · #3200

cli-anything-dify-workflow

Skill này làm gì

Skill này cho phép agent tạo và sửa workflow cho nền tảng AI Dify qua một lớp bao dòng lệnh. Nó dành cho người xây dựng muốn thiết kế workflow AI trong Dify.

Khi nào nên dùng

  • ✓Khi bạn muốn tạo một workflow Dify mới từ một template.
  • ✓Khi bạn muốn kiểm tra hoặc xác thực một file workflow Dify.
  • ✓Khi bạn muốn thêm node hoặc đặt mô hình cho một app Dify.

Liên kết skill

https://github.com/HKUDS/CLI-Anything/blob/main/dify-workflow/agent-harness/cli_anything/dify_workflow/skills/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/HKUDS/CLI-Anything/blob/main/dify-workflow/agent-harness/cli_anything/dify_workflow/skills/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo một workflow Dify từ template LLM, thêm một node code và xác thực file.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill chuyển lệnh của bạn cho công cụ workflow Dify gốc, nơi thực hiện công việc thật. Lớp bao cho agent một bộ lệnh nhất quán.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

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.
Câu hỏi thường gặp

Tôi có cần cài gì trước không?

Có, bạn phải cài công cụ workflow Dify gốc trước khi lớp bao hoạt động.

Lớp bao có tự làm việc không?

Không, logic workflow thật đến từ dự án gốc.

Nó có xuất được workflow của tôi không?

Có, skill hỗ trợ xuất và nhập file workflow.

Chi tiết

Mô tả gốc của tác giả

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

repo: HKUDS/CLI-Anything

Độ phổ biến

Sao GitHub
58k
Vị trí xếp hạng
#3200
Giấy phép
Apache-2.0
Cập nhật
21/9/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự