Overview
- Skill Key
- dinstein/openclaw-ops
- Author
- dinstein
- Source Repo
- openclaw/skills
- Version
- 1.2.1
- Source Path
- skills/dinstein/openclaw-ops
- Latest Commit SHA
- 9d37a766787829df967567981c5e1a56f6ab16c6
Use when diagnosing, repairing, or maintaining an OpenClaw Gateway on the same machine. Designed for rescue agents to fix a down gateway or check operational health. Supports Linux (systemd) and macOS (launchd).
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 openclaw-ops 技能。 若已安装,则直接安装 openclaw-ops 技能。
# OpenClaw Operations
## Design Philosophy
This skill serves **two core scenarios** and nothing else:
1. **Rescue** — The main OpenClaw Gateway is down or broken. You (the rescue agent) need to diagnose the root cause, fix it, and bring the gateway back online.
2. **Health Check** — The main OpenClaw Gateway is running. You need to verify its operational health, clean up resources, or perform maintenance tasks like upgrades.
**What this skill is NOT for:**
- Day-to-day business configuration (adding channels, configuring agents, setting up integrations)
- Application-level issues (agent behavior, prompt tuning, skill management)
- Initial deployment or first-time setup (use `openclaw daemon install` and `openclaw configure`)
**Principle:** Diagnose → Judge → Act → Verify. Never skip steps.
## Platform Detection
Detect the platform first — commands differ between Linux (systemd) and macOS (launchd):
```bash
OS=$(uname -s) # "Linux" or "Darwin"
echo "Platform: $OS"
```
## Port Detection
Do NOT assume port 18789. Detect the actual configured port first:
```bash
PORT=$(openclaw config get gateway.port 2>/dev/null | grep -oE '[0-9]+')
PORT=${PORT:-18789} # fallback to default only if config unavailable
echo "Gateway port: $PORT"
```
Use `$PORT` in all port-related commands throughout this guide.
---
# Scenario A: Rescue (Gateway Down)
Follow these sections in order when the main gateway is not running.
## A1. Assess the Situation
```bash
# Is the service running at all?
# Linux:
systemctl --user status openclaw-gateway
# macOS:
launchctl list | grep openclaw
# Is the process alive?
pgrep -af openclaw
# Is the port listening?
# Linux:
ss -tlnp | grep $PORT
# macOS:
lsof -iTCP:$PORT -sTCP:LISTEN
```
## A2. Check Logs for Root Cause
**Linux:**
```bash
journalctl --user -u openclaw-gateway --since "1 hour ago" --no-pager | grep -iE "error|crash|fatal|SIGTERM|OOM"
# Last 50 lines for context
journalctl --user -u openclaw-gateway -n 50 --no-pager
```
*...
# openclaw-ops
[English](README.md) | [中文](README_CN.md)
A skill that teaches any AI agent how to operate and maintain an [OpenClaw](https://openclaw.ai) Gateway running as a persistent service.
Works with **any agent that has shell access** — Claude Code, Codex, OpenClaw, Pi, or any AI agent with shell access running on the same machine as the OpenClaw Gateway.
Supports both **Linux (systemd)** and **macOS (launchd)**.
## Install
> **⚠️ Install this skill on your rescue agent (Claude Code, secondary OpenClaw, etc.), NOT on the main OpenClaw Gateway you want to maintain.**
### Ask your agent to install it
Just tell your rescue agent in a conversation:
```
> Install the openclaw-ops skill from https://github.com/dinstein/openclaw-ops-skill
```
The agent will download `SKILL.md` and place it in the correct skills directory automatically.
### From ClawHub (when using a secondary OpenClaw as rescue agent)
```bash
clawhub install openclaw-ops
```
### Manual
Copy `SKILL.md` into your agent's skills directory:
```bash
# Claude Code
mkdir -p ~/.claude/skills/openclaw-ops
cp SKILL.md ~/.claude/skills/openclaw-ops/SKILL.md
# OpenClaw
mkdir -p ~/.openclaw/workspace/skills/openclaw-ops
cp SKILL.md ~/.openclaw/workspace/skills/openclaw-ops/SKILL.md
# Other agents — place in whatever skills directory your agent reads from
```
## Architecture
```mermaid
graph LR
You["👤 You"] -->|remote access| Rescue["🛠️ Rescue Agent<br/>+ openclaw-ops skill"]
Rescue -->|diagnoses & fixes| Main["🦞 Main OpenClaw<br/>Gateway"]
Main -->|serves users| Users["👥 Discord / Telegram / etc"]
```
**Main OpenClaw Gateway** — Your primary AI agent system. Handles all day-to-day operations: chat channels, cron jobs, sessions, etc.
**Rescue Agent** — A separate agent (Claude Code, secondary OpenClaw instance, or any AI agent with shell access) with this skill installed. Lives on the same machine. Its sole purpose: fix the main gateway when it breaks, and perform operational...
laborany
基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill creation, scheduled tasks — OpenClaw for your desktop. Raise your AI lobsters 🦞
heyixuan2
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).
win4r
Reusable OpenClaw skill for remote Linux deployment with MiniMax M2.1 and Telegram bot setup
botlearn-ai
Bots learn, human earns, curated open claw playbook list and skill list for life long learners at https://botlearn.ai
duanecilliers
Web-based admin dashboard for OpenClaw — manage Discord persona bots, workspace files, skills, cron jobs, channels, and config
abczsl520
OpenClaw skill: Dynamic bug audit for Node.js web projects (games, data tools, WeChat, APIs, bots). 200+ real-world pitfalls.