Agent Skills
› HKUDS/CLI-Anything
› cli-anything-n8n
cli-anything-n8n
GitHubn8n工作流自动化平台的CLI工具,支持通过API管理工作流、执行记录、凭证、变量及标签。提供结构化输出和文件输入功能,适用于AI Agent集成与自动化操作。
Trigger Scenarios
需要管理n8n工作流或执行记录
通过命令行自动化配置n8n凭证或变量
Install
npx skills add HKUDS/CLI-Anything --skill cli-anything-n8n -g -y
SKILL.md
Frontmatter
{
"name": "cli-anything-n8n",
"description": "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)."
}
cli-anything-n8n
CLI harness for n8n workflow automation — built with the CLI-Anything pattern. Verified against n8n OpenAPI spec v1.1.1.
Installation
pip install cli-anything-n8n
Configuration
cli-anything-n8n config set base_url https://your-n8n-instance.com
cli-anything-n8n config set api_key your-api-key
# Or environment variables
export N8N_BASE_URL=https://your-n8n-instance.com
export N8N_API_KEY=your-api-key
export N8N_TIMEOUT=60 # optional, default 30s
Command Groups
| Group | Commands |
|---|---|
| workflow | list, get, create, update, delete, activate, deactivate, tags, set-tags, transfer |
| execution | list, get, delete, retry |
| credential | create, delete, schema, transfer |
| variable | list, create, update, delete |
| tag | list, get, create, update, delete |
| config | show, set |
For AI Agents
- Always use
--jsonflag for structured output - Use
@file.jsonto 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 showoutput - Not available in public API: data tables, credential listing, execution stop
Version History
- 6f372d3 Current 2026-08-20 06:42


