Skip to content
AI & Agents
Skill

/openclaw-ops

OpenClaw 运维助手。用于用户提到 OpenClaw、小龙虾、gateway、渠道连接、消息发送失败、服务不可达、日志排查、渠道或 Agent 管理时使用。优先执行状态检查与故障分流;涉及重启、修复、更新、配置变更等高影响操作时,先向用户说明再执行。

From plugin
skills
75645 skills1 command

Claude Code

$ npx -y skills add chujianyun/skills --skill openclaw-ops --agent claude-code

SKILL.md

openclaw-ops.SKILL.md
name: openclaw-ops
description: OpenClaw 运维助手。用于用户提到 OpenClaw、小龙虾、gateway、渠道连接、消息发送失败、服务不可达、日志排查、渠道或 Agent 管理时使用。优先执行状态检查与故障分流;涉及重启、修复、更新、配置变更等高影响操作时,先向用户说明再执行。

OpenClaw Ops

OpenClaw 是一个多渠道 AI Agent 网关,支持 WhatsApp、Telegram、Discord 等消息平台。本技能提供运维所需的命令参考和故障排查能力。

设计模式

本 skill 主要采用:

  • **Tool Wrapper**:提供 OpenClaw 命令、诊断路径和参考资料
  • **Runbook / Pipeline**:按“状态检查 → 问题分流 → 选择修复动作 → 验证结果”的顺序执行
  • **Reviewer(轻度)**:先判断问题类型,再决定是否需要修复

Gotchas

  • 不要一上来就重启或自动修复,先看状态和问题类型
  • 涉及重启、更新、repair、配置修改等高影响操作时,要先向用户说明再执行
  • 不要编造 OpenClaw CLI 子命令;不确定时先查文档或本地参考
  • 不要把渠道问题、模型问题、gateway 问题混成一个锅端命令
  • 修完后一定要回到健康检查,不要停在“已经执行了修复命令”

标准诊断流程

当用户报告 OpenClaw 问题时,按以下步骤执行:

0. 先判断是否需要确认

以下操作默认可以直接做:

  • `openclaw status`
  • `openclaw channels status --probe`
  • `openclaw logs --limit 200`
  • `openclaw health`

以下操作属于高影响动作,执行前应先向用户说明:

  • `openclaw doctor --repair`
  • `openclaw doctor --repair --force`
  • `openclaw gateway restart`
  • `openclaw update`
  • 任何明确会修改配置、重连渠道、重置状态的命令
# 1. 快速状态检查
openclaw status

# 2. 深度渠道探测
openclaw channels status --probe

# 3. 自动修复
openclaw doctor --repair

# 4. 验证健康状态
openclaw health

问题分类处理

根据问题类型选择对应处理路径:

**服务无法启动** → `openclaw gateway status` → `openclaw doctor --repair` → `openclaw gateway restart`

**渠道连接失败** → `openclaw channels status --probe` → `openclaw channels login --channel <name>` → 查看渠道日志

**消息发送失败** → `openclaw logs --limit 200` → 检查渠道状态 → 验证目标格式

**性能问题** → `openclaw status --usage` → 查看系统日志 → 检查资源使用

**配置查询** → 查阅 [openclaw_commands.md](references/openclaw_commands.md) 对应章节

修复策略

  • **首选:** `openclaw doctor --repair` 自动修复
  • **Gateway 未运行:** `openclaw gateway restart`
  • **修复后仍不健康:** `openclaw doctor --repair --force`
  • **更新后修复:** `openclaw update` → `openclaw doctor` → `openclaw health`

成功判断标准

  • `openclaw health` 返回无错误
  • `openclaw channels status --probe` 所有渠道状态正常
  • `openclaw status` 显示 gateway 可达

最常用命令速查

| 命令 | 用途 | |------|------| | `openclaw status` | 查看整体状态 | | `openclaw health` | 健康检查 | | `openclaw doctor --repair` | 自动修复 | | `openclaw gateway restart` | 重启服务 | | `openclaw channels status --probe` | 检查渠道 | | `openclaw logs --limit 200` | 查看日志 |

macOS 注意事项

  • Gateway 由 OpenClaw Mac app 管理,不要用 tmux 手动启动
  • 检查 launchd 环境变量覆盖:`launchctl getenv OPENCLAW_GATEWAY_TOKEN`
  • 系统日志:`/tmp/openclaw/openclaw-YYYY-MM-DD.log`
  • 服务日志:`~/.openclaw/logs/gateway.log`
  • macOS 错误日志:`./scripts/clawlog.sh -e`

详细参考

  • 完整命令手册:[openclaw_commands.md](references/openclaw_commands.md)
  • 故障排查与修复流程:[openclaw_fix.md](references/openclaw_fix.md)

汇报规范

向用户汇报时应包含:发现的问题、执行的操作、当前的状态、后续建议。

Read more
@chujianyun
Ships withskills

这是悟鸣公开维护的一组 Agent Skills,偏实战、偏工作流,主要服务于 AI 工具使用、文档解读、项目配置、运维排障与技能分发。 和“技能清单”相比,这个仓库更适合被理解成一张能力地图:每个 skill 不只是一个说明文件,而是围绕某一类任务组织起来的可复用能力单元。

Stars on GitHub

Momentum

stars in total
756
Star history of chujianyun/skills on GitHub, a chart by star-history.com

Other skills on skills.

add-photo-certificate-watermarks

add-photo-certificate-…

为照片、身份证、护照、学位证、毕业证、资格证、营业执照等证件或证书扫描件及 PDF 添加本地文字水印。用户提出照片加版权水印、身份证或学历证件添加“仅限某用途”水印、资质文件批量加水印、生成水印预览,或需要保持头像、二维码、印章等区域可辨认时使用。支持…

@chujianyun@chujianyunInstall Skill
agent-md-advisor

agent-md-advisor

AGENTS.md / CLAUDE.md 最佳实践顾问。用于用户询问 agents markdown、AGENTS.md、CLAUDE.md、Claude Code memory、AI coding agent…

@chujianyun@chujianyunInstall Skill
agent-optimizer

agent-optimizer

Agent 设计顾问与审查工具。基于 12-Factor AgentOps 最佳实践,用于:(1) 探讨 Agent 架构设计方案;(2) 审查现有 Agent/Skill/工作流的设计,发现问题,给出改进建议。触发词:审查我的 agent、帮我分析这个…

@chujianyun@chujianyunInstall Skill
alltuu-downloader

alltuu-downloader

喔图(alltuu.com)云摄影相册批量下载工具。当用户需要从 alltuu.com / m.alltuu.com 相册批量下载原图时使用此技能。支持下载原图(6720x4480 级别),自动处理签名URL,并发下载。适用于…

@chujianyun@chujianyunInstall Skill
article-interpreter

article-interpreter

文章解读助手。对用户提供的文章(URL、Markdown、PDF、粘贴文本)进行结构化解读,输出包含总览、关键要点、个人启发、批判性思考和延伸思考的 Markdown 报告。触发词:文章解读、解读文章、帮我解读、读一下这篇、分析这篇文章、article…

@chujianyun@chujianyunInstall Skill
baize

baize

将公开或用户有权访问的 Wiki 完整转换为面向 Agent 的离线知识 Skill,并按原 Wiki 层级保存 Markdown、生成检索索引和逐文档哈希清单,支持无变化不落盘的手动或自动增量更新。当用户要求把 Wiki、文档站或帮助中心做成…

@chujianyun@chujianyunInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw2w393k
@openclaw@openclawInstall Skill

Questions about openclaw-ops.

Which coding agents can use openclaw-ops?
openclaw-ops installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.