Communitygithub.com

CLI-Anything-Dify-Workflow

Wrapper pour l'interface en ligne de commande (CLI) du DSL de workflow Dify. Créez, inspectez, validez, éditez et exportez des fichiers de workflow Dify via un harnais CLI-Anything.

Qu'est-ce que CLI-Anything-Dify-Workflow ?

Cette compétence fournit un harnais CLI-Anything qui enveloppe le CLI `dify-workflow` officiel, permettant aux agents IA d'interagir de manière programmatique avec les fichiers de workflow Dify (YAML/JSON DSL). Elle permet aux développeurs de créer, inspecter, valider, éditer et exporter des workflows Dify directement depuis un environnement CLI, ce qui facilite l'automatisation des tâches DevOps ou l'intégration de workflows dans des pipelines CI/CD. Les commandes incluent la création de workflows à partir de modèles (LLM, Chatbot, etc.), la validation avec une sortie JSON structurée, et l'édition granulaire de nœuds, d'arêtes et de configurations. Le harnais gère également les cas où le binaire `dify-workflow` n'est pas sur le PATH en se repliant sur `python -m dify_workflow.cli`, assurant une compatibilité maximale avec les environnements Python. Idéal pour les utilisateurs de Claude Code, Cursor ou Codex cherchant à manipuler des workflows Dify sans intervention manuelle.

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

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Compétence CLI de workflow Dify

Installation

Installez d'abord le CLI du workflow Dify en amont :

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

Installez ensuite le harnais CLI-Anything :

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

Utilisation

Le harnais transmet les appels au CLI dify-workflow en amont.

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

Groupes de commandes

  • 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

Conseils pour l'agent

  • Préférez -j / --json-output sur les commandes en amont lorsque cela est disponible.
  • Le harnais lui-même est une enveloppe. La logique réelle du workflow est fournie par le projet en amont.
  • Si dify-workflow n'est pas sur le PATH mais que le paquet Python dify_workflow est installé, le harnais se replie sur python -m dify_workflow.cli.
  • Toutes les opérations sont des modifications de fichiers locales sur des fichiers DSL Dify au format YAML/JSON.

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

>-

Skills associés