Communitygithub.com

Dify ワークフロー CLI スキル

Dify ワークフロー DSL CLI のラッパー。CLI-Anything ハーネスを通じて Dify ワークフローファイルの作成、検査、検証、編集、エクスポートを行います。

Dify ワークフロー CLI スキル とは?

このスキルは、CLI-Anything フレームワークを使用して Dify ワークフロー DSL CLI をラップし、開発者や AI エージェントが Dify ワークフローファイル(YAML/JSON)を直接操作できるようにします。主な機能として、ワークフローの作成(テンプレート指定可)、構造の検査・検証、ノード・エッジの編集(追加、削除、更新)、モデル設定やプロンプトの構成、エクスポート・インポート・差分表示などがあります。出力形式に JSON を指定可能で、エージェントによるプログラム的処理に適しています。元の CLI ツールがインストールされていない場合は Python モジュールとして自動フォールバックするため、環境依存が少なく、Claude Code や Cursor などのエージェント連携に最適です。

対応~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-dify-workflow

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Dify ワークフロー CLI スキル は何をしますか?

インストール

最初に上流の Dify ワークフロー CLI をインストールします。

python -m pip install "dify-ai-workflow-tools @ git+https://github.com/Akabane71/dify-workflow-cli.git@main"

次に CLI-Anything ハーネスをインストールします。

pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=dify-workflow/agent-harness

使用法

ハーネスは上流の 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

コマンドグループ

  • 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

エージェント向けガイダンス

  • 上流コマンドでは可能な限り -j / --json-output を使用してください。
  • ハーネス自体はラッパーです。実際のワークフローロジックは上流プロジェクトによって提供されます。
  • dify-workflow が PATH 上にないものの、dify_workflow Python パッケージがインストールされている場合、ラッパーは python -m dify_workflow.cli にフォールバックします。
  • すべての操作は Dify YAML/JSON DSL ファイルに対するローカルファイル編集です。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

cli-anything-inkscape

>-

関連スキル