Communitygithub.com

cli-anything-n8n

基于 CLI-Anything 模式的 n8n 工作流自动化 CLI 工具。

cli-anything-n8n 是什么?

cli-anything-n8n 是一个基于 CLI-Anything 模式构建的命令行工具,专门用于与 n8n 工作流自动化平台交互。它通过严格的 OpenAPI 规范 (v1.1.1) 进行验证,确保与 n8n API 的兼容性。该工具支持对工作流、执行记录、凭证、变量和标签的全面管理,包括创建、读取、更新、删除及批量传输等操作。对于 AI 代理和自动化脚本,它特别强调使用 `--json` 标志输出结构化数据,并支持从文件传递复杂 JSON 参数。主要特性包括:通过配置文件或环境变量 (N8N_BASE_URL, N8N_API_KEY) 进行灵活配置,可选的超时设置,以及统一的错误返回码处理。请注意,该工具的公开 API 不包含数据表管理、凭证列表查看和执行停止等功能。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-n8n

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

cli-anything-n8n 是做什么的?

用于 n8n 工作流自动化的 CLI 工具——基于 CLI-Anything 模式构建。 已根据 n8n OpenAPI 规范 v1.1.1 进行验证。

安装

pip install cli-anything-n8n

配置

cli-anything-n8n config set base_url https://your-n8n-instance.com
cli-anything-n8n config set api_key your-api-key

# 或者使用环境变量
export N8N_BASE_URL=https://your-n8n-instance.com
export N8N_API_KEY=your-api-key
export N8N_TIMEOUT=60  # 可选,默认 30 秒

命令组

命令组命令
workflowlist, get, create, update, delete, activate, deactivate, tags, set-tags, transfer
executionlist, get, delete, retry
credentialcreate, delete, schema, transfer
variablelist, create, update, delete
taglist, get, create, update, delete
configshow, set

针对 AI 代理

  • 始终使用 --json 标志以获取结构化输出
  • 使用 @file.json 从文件传递复杂 JSON
  • 检查返回码:0 = 成功,非零 = 错误
  • 所有 ID 均为字符串,而非整数
  • 在 config show 输出中,API 密钥始终被屏蔽
  • 公开 API 中不可用:数据表、凭证列表、执行停止

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-dify-workflow

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

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

>-

相关技能