Skip to content
Skillpedia
Automations58k · #3227

cli-anything-n8n

What it does

This skill lets an AI agent control an n8n server, which connects apps and runs automated workflows. It is for people who build or watch automations and want an agent to handle the routine work.

When to use it

  • ✓When you want to turn an n8n workflow on or off.
  • ✓When you need to check whether a recent workflow run failed.
  • ✓When you want to retry a failed run or update the tags on a workflow.

Skill link

https://github.com/HKUDS/CLI-Anything/blob/main/n8n/agent-harness/cli_anything/n8n/skills/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/HKUDS/CLI-Anything/blob/main/n8n/agent-harness/cli_anything/n8n/skills/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“I want to see which of my n8n workflows failed in the last day and retry the safe ones.”

5 new skills a week. 1 minute to read.

How it works

The agent sends requests to your n8n server using its address and API key. It reads and changes workflows, runs, and settings, then returns the results in a structured form.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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

Group Commands
workflow list, get, create, update, delete, activate, deactivate, tags, set-tags, transfer
execution list, get, delete, retry
credential create, delete, schema, transfer
variable list, create, update, delete
tag list, get, create, update, delete
config show, 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
FAQ

What do I need to connect?

You need your n8n server address and an API key, saved in the skill's config or set as environment settings.

Can it view stored passwords?

No. The skill says listing credentials is not part of the public interface, and API keys are hidden in config output.

Which n8n versions does it support?

The skill is built for n8n version 1.0.0 or newer.

Details

Original description by the author

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

repo: HKUDS/CLI-Anything

Popularity

GitHub stars
58k
Ranking position
#3227
License
Apache-2.0
Updated
9/21/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills