# n8n-cli

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

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/skills/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-skill](https://omgskills.com/skills/n8n-io/n8n/create-skill/index.md) — Guides users through creating effective Agent Skills.
   - [@n8n-io](https://omgskills.com/library/n8n-io/index.md) · 204k stars
- [data-table-manager](https://omgskills.com/skills/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) · 203k stars
- [n8n:content-design](https://omgskills.com/skills/n8n-io/n8n/content-design/index.md) — Product content designer for UI copy.
   - [@n8n-io](https://omgskills.com/library/n8n-io/index.md) · 203k stars
