CLI-Anything cli-anything-n8n
install
source · Clone the upstream repo
git clone https://github.com/HKUDS/CLI-Anything
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/HKUDS/CLI-Anything "$T" && mkdir -p ~/.claude/skills && cp -r "$T/n8n/agent-harness/cli_anything/n8n/skills" ~/.claude/skills/hkuds-cli-anything-cli-anything-n8n && rm -rf "$T"
manifest:
n8n/agent-harness/cli_anything/n8n/skills/SKILL.mdsource content
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
flag for structured output--json - Use
to pass complex JSON from files@file.json - Check return codes: 0 = success, non-zero = error
- All IDs are strings, not integers
- API key is always masked in
outputconfig show - Not available in public API: data tables, credential listing, execution stop