Centralized n8n hub for designing reliable flows (idempotency, retries, HITL) and operating them via the public REST API. Use for planning, JSON output, and lifecycle actions like list/publish/debug.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install n8n-hub或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install n8n-hub⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/n8n-hub/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: n8n-hub description: Centralized n8n hub for designing reliable flows (idempotency, retries, HITL) and operating them via the public REST API. Use for planning, JSON output, and lifecycle actions like list/publish/debug. ---
This skill merges two tracks: 1) Design: plan dependable workflows and optionally emit workflow.json. 2) Operate: handle workflows/executions via the public REST API.
Suggested environment variables (or store in .n8n-api-config):
export N8N_API_BASE_URL="https://your-instance.app.n8n.cloud/api/v1" # or http://localhost:5678/api/v1
export N8N_API_KEY="your-api-key-here"
Create an API key at: n8n Settings → n8n API → Create an API key.
workflow.json plus a runbook template.Required
Optional
workflow.json + workflow-lab.md (from assets/workflow-lab.md)All requests must include:
X-N8N-API-KEY: $N8N_API_KEY
curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" "$N8N_API_BASE_URL/workflows" \
| jq '.data[] | {id, name, active}'
curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" "$N8N_API_BASE_URL/workflows/{id}"
# Activate (publish)
curl -s -X POST -H "X-N8N-API-KEY: $N8N_API_KEY" \
-H "Content-Type: application/json" \
-d '{"versionId":"","name":"","description":""}' \
"$N8N_API_BASE_URL/workflows/{id}/activate"
# Deactivate
curl -s -X POST -H "X-N8N-API-KEY: $N8N_API_KEY" \
"$N8N_API_BASE_URL/workflows/{id}/deactivate"
curl -s -X POST "$N8N_API_BASE_URL/../webhook/{webhook-path}" \
-H "Content-Type: application/json" \
-d '{"key":"value"}'
curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" \
"$N8N_API_BASE_URL/executions?limit=10" \
| jq '.data[] | {id, workflowId, status, startedAt}'
curl -s -X POST -H "X-N8N-API-KEY: $N8N_API_KEY" \
-H "Content-Type: application/json" \
-d '{"loadWorkflow":true}' \
"$N8N_API_BASE_URL/executions/{id}/retry"
See assets/endpoints-api.md for the complete endpoint list.
安装 n8n Hub 后,可以对 AI 说这些话来触发它
Help me get started with n8n Hub
Explains what n8n Hub does, walks through the setup, and runs a quick demo based on your current project
Use n8n Hub to centralized n8n hub for designing reliable flows (idempotency, retr...
Invokes n8n Hub with the right parameters and returns the result directly in the conversation
What can I do with n8n Hub in my developer & devops workflow?
Lists the top use cases for n8n Hub, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/n8n-hub/ 目录(个人级,所有项目可用),或 .claude/skills/n8n-hub/(项目级)。重启 AI 客户端后,用 /n8n-hub 主动调用,或让 AI 根据上下文自动发现并使用。
n8n Hub 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
n8n Hub 可免费安装使用。请查阅仓库了解许可证信息。
Centralized n8n hub for designing reliable flows (idempotency, retries, HITL) and operating them via the public REST API. Use for planning, JSON output, and lifecycle actions like list/publish/debug.
n8n Hub 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using n8n Hub
Identifies repetitive steps in your workflow and sets up n8n Hub to handle them automatically