OpenParable
Skip to content
← Back to skills

CLI Anything N8n

Apps & Automation
cli-anything-n8n

CLI Anything N8n is an Agent Skill for apps & automation published in the HKUDS/CLI-Anything repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/HKUDS/CLI-Anything/blob/HEAD/n8n/agent-harness/cli_anything/n8n/skills/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cli-anything-n8n, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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

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