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 从公开仓库中收录这些内容。

举报或申请下架