en un clic
n8n
Manage n8n workflows, executions and credentials via REST API
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Manage n8n workflows, executions and credentials via REST API
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Manage Cloudflare zones, DNS records, Workers, Pages and cache via API
Manage Cloudinary media assets, transformations and upload via REST API
Monitor infrastructure, query metrics, manage monitors and events via Datadog API
Manage DigitalOcean droplets, domains, databases, apps and volumes via API v2
Manage Firebase projects, Firestore, Auth users and Hosting via REST API
Manage Intercom conversations, contacts, articles and help center via REST API
| name | n8n |
| description | Manage n8n workflows, executions and credentials via REST API |
| user-invocable | true |
| argument-hint | ["workflow ID"] |
Connect to the n8n REST API to manage workflows, executions and credentials. Works with self-hosted n8n instances and n8n Cloud. Pure Ruby, zero gems — stdlib only.
scripts/
├── auth.rb # API key auth via X-N8N-API-KEY header + n8n_request helper (required by all scripts)
├── check_setup.rb # Check if API key and host are configured (outputs OK or SETUP_NEEDED)
├── save_token.rb # Save and validate API key + host URL
├── workflows.rb # List all workflows
├── workflow.rb # Get workflow details
├── activate.rb # Activate a workflow
├── deactivate.rb # Deactivate a workflow
├── executions.rb # List executions (with optional filters)
├── execution.rb # Get execution details
└── credentials.rb # List credentials (no secrets shown)
ruby ~/.claude/skills/n8n/scripts/check_setup.rb
If the output is OK, proceed to the Flow section.
If the output is SETUP_NEEDED, guide the user step by step. Present ONE step at a time, wait for the user to confirm before moving to the next.
Step 1 — Ask the user for their n8n host URL:
What is the URL of your n8n instance?
- Self-hosted: typically
http://localhost:5678- n8n Cloud:
https://your-instance.app.n8n.cloudPaste the base URL here (no trailing slash).
Step 2 — Ask the user to create an API key:
You need an n8n API key. Go to your n8n instance:
- Open Settings → API (or navigate to
<your-host>/settings/api)- Click Create an API key
- Copy the key and paste it here
If you don't see the API section, make sure the REST API is enabled in your n8n environment variables (
N8N_PUBLIC_API_ENABLED=true).
Step 3 — When the user provides both values, save them:
ruby ~/.claude/skills/n8n/scripts/save_token.rb 'API_KEY' 'HOST_URL'
If the script outputs an error, the API key or host is invalid. Ask the user to double-check and try again.
If setup is not complete, DO NOT proceed to the Flow. Complete all steps first.
The argument $ARGUMENTS may contain a workflow ID.
ruby ~/.claude/skills/n8n/scripts/workflows.rb
Present the workflows to the user. If $ARGUMENTS matches a workflow ID, use that workflow. Otherwise ask which workflow to work with.
ruby ~/.claude/skills/n8n/scripts/workflow.rb WORKFLOW_ID
Present the workflow info (name, active status, nodes, connections) and ask what the user wants to do.
Activate a workflow (requires user confirmation):
Show the workflow name and current status first, then ask: "Do you want to activate this workflow?" Only execute after a "yes".
ruby ~/.claude/skills/n8n/scripts/activate.rb WORKFLOW_ID
Deactivate a workflow (requires user confirmation):
Show the workflow name and current status first, then ask: "Do you want to deactivate this workflow?" Only execute after a "yes".
ruby ~/.claude/skills/n8n/scripts/deactivate.rb WORKFLOW_ID
List executions:
ruby ~/.claude/skills/n8n/scripts/executions.rb
ruby ~/.claude/skills/n8n/scripts/executions.rb --workflowId WORKFLOW_ID
ruby ~/.claude/skills/n8n/scripts/executions.rb --status error
ruby ~/.claude/skills/n8n/scripts/executions.rb --workflowId WORKFLOW_ID --status success
Get execution details:
ruby ~/.claude/skills/n8n/scripts/execution.rb EXECUTION_ID
List credentials (no secrets shown):
ruby ~/.claude/skills/n8n/scripts/credentials.rb
X-N8N-API-KEY header~/.config/n8n/api_key and ~/.config/n8n/host (outside the repo, never commit)http://localhost:5678)