Best use case
OpenClaw Connect Enterprise — Node 节点 is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
**版本**: 0.1.5
Teams using OpenClaw Connect Enterprise — Node 节点 should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/openclaw-connect-node/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How OpenClaw Connect Enterprise — Node 节点 Compares
| Feature / Agent | OpenClaw Connect Enterprise — Node 节点 | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
**版本**: 0.1.5
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# OpenClaw Connect Enterprise — Node 节点
**版本**: 0.1.5
子节点是 OpenClaw Connect Enterprise 的分布式执行单元,通过 WebSocket 长连接注册到 Hub,接收并执行 Hub 下发的任务。
## 快速安装
```bash
# 1. 解压包
unzip openclaw-connect-enterprise-node.zip
cd openclaw-connect-enterprise
# 2. 安装依赖
cd node/server && npm install && cd ../..
cd node/frontend && npm install && cd ../..
# 3. 启动(生产环境)
cd node/server
HUB_URL=http://你的Hub地址:3100 \
APP_ID=你的APP_ID \
APP_KEY=你的APP_KEY \
APP_TOKEN=你的APP_TOKEN \
npx tsx src/index.ts
# 4. 启动(开发环境)
npm run dev
```
## 环境变量
| 变量 | 必填 | 说明 |
|------|------|------|
| `HUB_URL` | ✅ | Hub 服务器地址,如 `http://YOUR_HUB_IP:3100` |
| `APP_ID` | ✅ | 节点唯一标识,在 Hub 后台创建节点获得 |
| `APP_KEY` | ✅ | 节点密钥,在 Hub 后台创建节点获得 |
| `APP_TOKEN` | ✅ | 节点令牌,在 Hub 后台创建节点获得 |
| `NODE_NAME` | 否 | 节点显示名称,默认取主机名 |
| `NODE_PORT` | 否 | 节点本地端口,默认 `3100` |
| `OPENCLAW_GATEWAY_PORT` | 否 | 本地 OpenClaw Gateway 端口,默认 `18789` |
## 凭证持久化
首次注册成功 后,凭证会自动保存到 `~/.openclaw-node/node.json`。重启后会自动恢复连接,无需重新配置。
## 前端界面
```bash
cd node/frontend && npm run build
# 访问 http://节点地址:3100
```
## API 端点
### Hub → Node(节点本地)
| 方法 | 路径 | 说明 |
|------|------|------|
| `GET` | `/api/status` | 节点运行状态 |
| `GET` | `/api/agents` | 本地 Agent 列表 |
| `GET` | `/api/tasks` | 同步的任务列表 |
| `POST` | `/api/tasks/:id/start` | 标记任务开始 |
| `POST` | `/api/tasks/:id/complete` | 标记任务完成 |
| `POST` | `/api/tasks/:id/fail` | 标记任务失败 |
### Node → Hub(Hub 端点)
| 方法 | 路径 | 说明 |
|------|------|------|
| `POST` | `/api/nodes/register` | 注册到 Hub |
| `POST` | `/api/nodes/:id/heartbeat` | 心跳(30秒/次) |
| `GET` | `/api/nodes/:id/tasks` | 拉取分配的任务 |
| `POST` | `/api/nodes/:id/agents/register` | 注册 Agent |
| `POST` | `/node/api/tasks/:id/complete` | 上报任务完成 |
| `POST` | `/node/api/tasks/report` | 上报本地任务到 Hub |
## 任务执行流程
1. 节点每 30 秒向 Hub 拉取新任务(`fetchTasks`)
2. 任务进入执行队列,按优先级依次执行
3. 执行方式(按优先级):
- **本地 OpenClaw Gateway**(`POST /tools/invoke`)
- **Hub Execute API**(代理执行)
- **OpenClaw CLI**(`openclaw agent`)
4. 完成后自动上报结果到 Hub
## 目录结构
```
node/
├── package.json # 节点总包管理
├── install-node.sh # 安装脚本
├── uninstall-node.sh # 卸载脚本
├── README.md # 英文说明
├── SKILL.md # 本文档
├── server/
│ ├── src/
│ │ └── index.ts # 节点服务端主程序
│ ├── package.json
│ └── tsconfig.json
└── frontend/
├── src/ # 节点前端页面源码
├── package.json
└── tailwind.config.js
```
## 与 Hub 的连接架构
```
┌─────────────────────────────────────────────────┐
│ Hub (YOUR_HUB_IP:3100) │
│ • 任务调度与分发 │
│ • 节点管理 │
│ • Agent 同步 │
│ • 记忆汇聚 │
└──────────────┬──────────────────────────────────┘
│ HTTP REST + WebSocket
│ 心跳 30s / 任务拉取 30s
┌──────────────▼──────────────────────────────────┐
│ Node (各服务器) │
│ • 本地 OpenClaw Gateway (18789) │
│ • 任务执行(CLI / REST / Hub Execute) │
│ • 凭证持久化 (~/.openclaw-node/node.json) │
└─────────────────────────────────────────────────┘
```
## 升级
从 Hub 后台获取新的节点包,解压后:
```bash
# 备份旧配置(凭证已持久化,通常不需要)
cp ~/.openclaw-node/node.json ~/.openclaw-node/node.json.bak
# 替换代码
rm -rf openclaw-connect-enterprise
unzip new-package.zip
cd openclaw-connect-enterprise/node/server && npm install
# 重启(凭证自动恢复)
pkill -f "tsx src/index"
nohup npm start &
```Related Skills
openclaw-youtube
YouTube SERP Scout for agents. Search top-ranking videos, channels, and trends for content research and competitor tracking.
openclaw-search
Intelligent search for agents. Multi-source retrieval with confidence scoring - web, academic, and Tavily in one unified API.
openclaw-media-gen
Generate images & videos with AIsa. Gemini 3 Pro Image (image) + Qwen Wan 2.6 (video) via one API key.
OpenClaw Mastery — The Complete Agent Engineering & Operations System
> Built by AfrexAI — the team that runs 9+ production agents 24/7 on OpenClaw.
node-red-manager
Manage Node-RED instances via Admin API or CLI. Automate flow deployment, install nodes, and troubleshoot issues. Use when user wants to "build automation", "connect devices", or "fix node-red".
openclaw-safe-change-flow
Safe OpenClaw config change workflow with backup, minimal edits, validation, health checks, and rollback. Single-instance first; secondary instance optional.
jqopenclaw-node-invoker
统一通过 Gateway 的 node.invoke 调用 JQOpenClawNode 能力(file.read、file.write、process.exec、process.manage、system.run、process.which、system.info、system.screenshot、system.notify、system.clipboard、system.input、node.selfUpdate)。当用户需要远程文件读写、文件移动/删除、目录创建/删除、进程管理(列表/搜索/终止)、远程进程执行、命令可执行性探测、系统信息采集、截图采集、系统弹窗、系统剪贴板读写、输入控制(鼠标/键盘)、节点自更新、节点命令可用性排查或修复 node.invoke 参数错误时使用。
linkedin-connect
Send LinkedIn connection requests to a list of people via browser automation and track status in a CSV/TSV file. Use when the user wants to bulk-connect with a list of people on LinkedIn (founders, speakers, leads, etc.) from a spreadsheet or list containing LinkedIn profile URLs. Handles Connect button, Follow-mode profiles, already-connected detection, stale URL fallback via LinkedIn search and Google search, and incremental status tracking.
openclaw-stock-skill
使用 data.diemeng.chat 提供的接口查询股票日线、分钟线、财务指标等数据,支持 A 股等市场。
openclaw-whatsapp
WhatsApp bridge for OpenClaw — send/receive messages, auto-reply agents, QR pairing, message search, contact sync
ClawAI.Town — World Connector Skill
Connect your OpenClaw agent to **ClawAI.Town**, a decentralized 3D world on Solana mainnet where autonomous AI agents live, trade, fight, and collaborate with real SOL.
polymarket-openclaw-trader
Reusable Polymarket + OpenClaw trading operations skill for any workspace. Use when the user needs to set up, run, tune, monitor, and deploy an automated Polymarket trading project (paper/live), including env configuration, risk controls, reporting, and dashboard operations.