laborany
基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...
为 OpenClaw 配置稳定可维护的 Rescue Gateway。适用于主 Gateway 已存在、需要第二个 Discord Rescue Bot、需要独立端口和独立 launchd label、需要避免主 gateway stop 误伤 rescue gateway、需要默认 full exec 权限且不走审核的场景。
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
SkillHub CLI
skillhub install cchaojiejes/openclaw-rescue-gateway-skillExaminez la source et la compatibilité, puis suivez les étapes d’installation.
Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.
当主 Gateway 故障时,Rescue Gateway 提供独立入口。此版本的目标不是“能跑起来”,而是“能长期维护,不和主 Gateway 互相干扰”。
OpenClaw Rescue Bot
19001
openclaw gateway stop 把 rescue 一起停掉Rescue Gateway 的推荐落地方式是:
~/.openclaw-rescue/openclaw.json
openclaw --profile rescue ...
ai.openclaw.rescue
ai.openclaw.gateway.rescue
原因:
gateway stop 可能和主 gateway 生命周期串扰| 项目 | 主 Gateway | Rescue Gateway |
|---|---|---|
| Config | ~/.openclaw/openclaw.json |
~/.openclaw-rescue/openclaw.json |
| State | ~/.openclaw |
~/.openclaw-rescue |
| Workspace | ~/.openclaw/workspace |
~/.openclaw-rescue/workspace |
| Port | 18789 |
19001 |
| launchd label | ai.openclaw.gateway |
ai.openclaw.gateway.rescue |
端口必须至少错开 20。OpenClaw 会派生浏览器和调试端口,不能重叠。
优先做法:以主配置为模板,写入 ~/.openclaw-rescue/openclaw.json。
关键要求:
channels.discord.token 使用 Rescue Bot tokengateway.port 使用 19001
agents.defaults.workspace 使用 ~/.openclaw-rescue/workspace
agents.list[0].agentDir 使用 ~/.openclaw-rescue/agents/rescue/agent
tools.exec.security = "full"
tools.exec.ask = "off"
agents.defaults.elevatedDefault = "full"
plugins.entries.acpx.enabled = true
plugins.entries.acpx.config.permissionMode = "approve-all"
最小关键片段:
{
"agents": {
"defaults": {
"elevatedDefault": "full",
"workspace": "/Users/YOUR_NAME/.openclaw-rescue/workspace"
},
"list": [
{...
Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.
# Rescue Gateway 2.0
当主 Gateway 故障时,Rescue Gateway 提供独立入口。此版本的目标不是“能跑起来”,而是“能长期维护,不和主 Gateway 互相干扰”。
## 适用场景
- 已安装 OpenClaw 主 Gateway
- 需要第二个 Discord Bot,名称如 `OpenClaw Rescue Bot`
- 需要 Rescue Gateway 独立运行在 `19001`
- 需要默认 exec 全权限且不审核
- 需要避免 `openclaw gateway stop` 把 rescue 一起停掉
## 结论先行
Rescue Gateway 的推荐落地方式是:
- 配置目录使用官方 profile:`~/.openclaw-rescue/openclaw.json`
- CLI 使用官方 profile:`openclaw --profile rescue ...`
- 服务不用官方默认 label `ai.openclaw.rescue`
- 服务改用独立 launchd label:`ai.openclaw.gateway.rescue`
原因:
- profile 配置目录是对的,后续维护简单
- 但在实际使用中,官方 profile service 的 `gateway stop` 可能和主 gateway 生命周期串扰
- 独立 label 可以把 rescue 的启动/停止边界切干净
## 目录和端口
| 项目 | 主 Gateway | Rescue Gateway |
|------|-----------|----------------|
| Config | `~/.openclaw/openclaw.json` | `~/.openclaw-rescue/openclaw.json` |
| State | `~/.openclaw` | `~/.openclaw-rescue` |
| Workspace | `~/.openclaw/workspace` | `~/.openclaw-rescue/workspace` |
| Port | `18789` | `19001` |
| launchd label | `ai.openclaw.gateway` | `ai.openclaw.gateway.rescue` |
端口必须至少错开 20。OpenClaw 会派生浏览器和调试端口,不能重叠。
## Rescue Config
优先做法:以主配置为模板,写入 `~/.openclaw-rescue/openclaw.json`。
关键要求:
- `channels.discord.token` 使用 Rescue Bot token
- `gateway.port` 使用 `19001`
- `agents.defaults.workspace` 使用 `~/.openclaw-rescue/workspace`
- `agents.list[0].agentDir` 使用 `~/.openclaw-rescue/agents/rescue/agent`
- `tools.exec.security = "full"`
- `tools.exec.ask = "off"`
- `agents.defaults.elevatedDefault = "full"`
- `plugins.entries.acpx.enabled = true`
- `plugins.entries.acpx.config.permissionMode = "approve-all"`
最小关键片段:
```json
{
"agents": {
"defaults": {
"elevatedDefault": "full",
"workspace": "/Users/YOUR_NAME/.openclaw-rescue/workspace"
},
"list": [
{...基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...
Reusable OpenClaw skill for remote Linux deployment with MiniMax M2.1 and Telegram bot setup
Bots learn, human earns, curated open claw playbook list and skill list for life long learners at https://botlearn.ai
Web-based admin dashboard for OpenClaw — manage Discord persona bots, workspace files, skills, cron jobs, channels, and config