Cli Anything N8n

by hkuds34f519533bc1No license51K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 2 weeks ago

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).

Instructions onlyDevOps & Cloud
AI-generated overview

Command-line interface for managing n8n workflows, executions, credentials, variables, and tags.

What it does
This skill documents a CLI harness for the n8n workflow automation platform, based on the n8n Public API v1.1.1. It covers command groups for workflows, executions, credentials, variables, tags, and configuration, including listing, creating, updating, deleting, activating, and transferring resources. It also gives agent-oriented guidance such as using JSON output, passing JSON from files, and checking return codes.
When to use it
Use it when you need to operate an n8n instance from the command line or through an agent, such as managing workflows, inspecting or retrying executions, or handling credentials, variables, and tags. It is also relevant when scripting n8n automation tasks against the Public API.
Requirements
Requires the cli-anything-n8n package installed via pip, an n8n instance running version 1.0.0 or later, and configuration of a base URL and API key either through config commands or the N8N_BASE_URL and N8N_API_KEY environment variables. Network access to the n8n instance is needed; an optional N8N_TIMEOUT variable sets the request timeout. The skill ships no scripts.

cli-anything-n8n

CLI harness for n8n workflow automation — built with the CLI-Anything pattern. Verified against n8n OpenAPI spec v1.1.1.

Installation

bash
pip install cli-anything-n8n

Configuration

bash
cli-anything-n8n config set base_url https://your-n8n-instance.comcli-anything-n8n config set api_key your-api-key
# Or environment variablesexport N8N_BASE_URL=https://your-n8n-instance.comexport N8N_API_KEY=your-api-keyexport N8N_TIMEOUT=60  # optional, default 30s

Command Groups

GroupCommands
workflowlist, get, create, update, delete, activate, deactivate, tags, set-tags, transfer
executionlist, get, delete, retry
credentialcreate, delete, schema, transfer
variablelist, create, update, delete
taglist, get, create, update, delete
configshow, set

For AI Agents

  • Always use --json flag for structured output
  • Use @file.json to 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 show output
  • Not available in public API: data tables, credential listing, execution stop

Source and attribution

Source:hkuds/cli-anythinginskills/cli-anything-n8nat commit34f5195

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal