# n8n-cli

> Claude/Codex skill by [@n8n-io](https://omgskills.com/library/n8n-io/index.md) · 209k stars · Updated 2026-10-29

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.

Tags: ai, apis, automation, cli, data-flow, development, integration-framework, integrations, ipaas, low-code, low-code-platform, mcp, mcp-client, mcp-server, n8n, no-code, self-hosted, typescript, workflow, workflow-automation

## Install

```sh
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.

## Links

- HTML page: https://omgskills.com/library/n8n-io/n8n/n8n-cli/
- GitHub: https://github.com/n8n-io/n8n
- Author: [@n8n-io](https://omgskills.com/library/n8n-io/index.md)

## More from this repo

- [n8n:create-pr](https://omgskills.com/library/n8n-io/n8n/create-pr/index.md) — Creates GitHub pull requests with properly formatted titles that pass the check-pr-title CI validation.
   - [@n8n-io](https://omgskills.com/library/n8n-io/index.md) · 210k stars
- [agent-builder](https://omgskills.com/library/n8n-io/n8n/packages/@n8n/instance-ai/skills/agent-builder/index.md) — Load immediately after an Agent intent, before the first agent\_builder\_\* call.
   - [@n8n-io](https://omgskills.com/library/n8n-io/index.md) · 209k stars
- [data-table-manager](https://omgskills.com/library/n8n-io/n8n/data-table-manager/index.md) — Load before calling data\_tables or parse-file.
   - [@n8n-io](https://omgskills.com/library/n8n-io/index.md) · 209k stars
