Cli Anything N8n

hkuds/cli-anything/skills/cli-anything-n8n

作者 hkuds34f519533bc1無授權條款51K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫2 週前更新

Command-line interface for n8n workflow automation platform. Manages workflows, executions, credentials, variables, and tags. Based on n8n Public API v1.1.1 (n8n >= 1.0.0).

僅含說明DevOps & Cloud
AI 產生的概覽

用於管理 n8n 工作流程、執行紀錄、認證、變數與標籤的命令列介面。

功能
此技能說明一套以 n8n 公用 API v1.1.1 為基礎的 n8n 工作流程自動化平台命令列工具。內容涵蓋工作流程、執行紀錄、認證、變數、標籤與設定等命令群組,可列出、建立、更新、刪除、啟用及轉移資源。它也提供給代理使用的建議,例如採用 JSON 輸出、從檔案傳入 JSON,以及檢查傳回碼。
適用情境
當你需要從命令列或透過代理操作 n8n 執行個體時使用,例如管理工作流程、檢視或重試執行紀錄,以及處理認證、變數與標籤。它也適合用於針對公用 API 撰寫 n8n 自動化指令碼的情境。
執行需求
需要透過 pip 安裝 cli-anything-n8n 套件、執行 n8n 1.0.0 或更新版本的執行個體,並透過設定命令或 N8N_BASE_URL 與 N8N_API_KEY 環境變數設定基礎 URL 與 API 金鑰。需要能連線至 n8n 執行個體的網路;選用的 N8N_TIMEOUT 變數可設定請求逾時。此技能未附帶指令碼。

cli-anything-n8n

CLI harness for n8n workflow automation — built with the CLI-Anything pattern. Verified against n8n OpenAPI spec v1.1.1.

Installation

bash
pip install cli-anything-n8n

Configuration

bash
cli-anything-n8n config set base_url https://your-n8n-instance.comcli-anything-n8n config set api_key your-api-key
# Or environment variablesexport N8N_BASE_URL=https://your-n8n-instance.comexport N8N_API_KEY=your-api-keyexport N8N_TIMEOUT=60  # optional, default 30s

Command Groups

GroupCommands
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

For AI Agents

  • Always use --json flag for structured output
  • Use @file.json to pass complex JSON from files
  • Check return codes: 0 = success, non-zero = error
  • All IDs are strings, not integers
  • API key is always masked in config show output
  • Not available in public API: data tables, credential listing, execution stop

來源與署名

來源:hkuds/cli-anything位於skills/cli-anything-n8n提交34f5195

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架