n8n-cli
Use the n8n CLI to manage workflows, credentials, executions, and more on an n8n instance. Use when the user asks to interact with n8n, automate workflows, manage credentials, or operate their instance from the command line.
Install
Install this Claude and Codex skill with the command below. The command stays visible even when copy support is unavailable.
git clone https://github.com/n8n-io/n8n /tmp/n8n && ln -s /tmp/n8n/packages/@n8n/cli/skills/n8n-cli ~/.claude/skills/n8n-cli
From README
n8n CLI The n8n-cli command-line tool manages an n8n instance via its REST API. It auto-detects piped output and switches to JSON, making it composable for scripts and LLM tool use. Global Flags Every command supports these flags: | Flag | Short | Description | |------|-------|-------------| | --url | -u | Instance URL (overrides config/env) | | --apiKey | -k | API key (overrides config/env) | | --format | -f | Output format: table, json, id-only | | --json | | Shorthand for --format=json | | --jq | | jq-style filter (implies --json), e.g. '.[0].id', '.[].name' | | --quiet | -q | Suppress output | | --no-header | | Hide table headers (for awk/cut parsing) | | --debug | | Print HTTP details to stderr | Auto-JSON: When stdout is piped (not a TTY), output defaults to JSON automatically. Workflows Executions Credentials Tip: Use credential schema to discover required fields before creating.