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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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
--jsonflag for structured output - Use
@file.jsonto 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 showoutput - 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
Comments
- …
More skills from this repository
cli-anything-3mf
58kLets your agent inspect and fix 3D printing files, including finding round holes, resizing them, repairing meshes, and comparing two files.
cli-anything-qgis
58kLets your agent open, edit, and export QGIS map projects from the terminal, including layers, features, print layouts, and processing tools.
cli-anything-adguardhome
58kLets your agent manage AdGuard Home, a network-wide ad blocker, including filters, DNS rewrites, clients, and query logs.
cli-anything-anygen
58kLets your agent generate slides, documents, websites, and diagrams from a written prompt using the AnyGen service.
Similar skills
knowledge-automation
394kHelps your agent set up a recurring job that brings new content into your Knowledge vault on a schedule, then checks that the job runs.
knowledge-source-ingest
394kHelps your agent keep a Knowledge vault current with new items from chat channels, feeds, or mailboxes, without re-adding what it already has.
benchmark
280kHelps your agent measure code speed and performance. It's useful for ensuring things are fast and finding slowness issues.