Skip to content
Back to skills

Openclaw Ops Guardrails

ASecurity

OpenClaw 运维防呆与排障标准化技能。用于跨设备(Gateway + Mac nodes)巡检、远程执行稳定性治理、CLI-only 兼容、配对/审批异常排查、以及对外发布前脱敏检查。用户提到“又报错了/审批超时/pairing required/system.run failed/如何标准化运维规则”时使用。

  • 14 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 7, 2026
toolsnoderailsapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill openclaw-ops-guardrails --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openclaw Ops Guardrails?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Openclaw Ops Guardrails
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-openclaw-ops-guardrails/badge)](https://www.skillsdirectory.com/skills/modbender-openclaw-ops-guardrails)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: openclaw-ops-guardrails
description: OpenClaw 运维防呆与排障标准化技能。用于跨设备(Gateway + Mac nodes)巡检、远程执行稳定性治理、CLI-only 兼容、配对/审批异常排查、以及对外发布前脱敏检查。用户提到“又报错了/审批超时/pairing required/system.run failed/如何标准化运维规则”时使用。
---

# OpenClaw Ops Guardrails

先阅读:
- `references/failure-playbook.md`(按错误类型排障)
- `references/publish-sanitization-checklist.md`(对外发布前脱敏)

1. 先执行全量只读体检:
   - `openclaw status --deep`
   - `openclaw security audit --deep`
   - `openclaw gateway status --json`
   - `openclaw health --json`
   - `openclaw nodes status --connected`

2. 检查 node 执行能力:
   - 确认 `system.run` 在 node commands 中存在
   - `nodes.run` 失败时按顺序归因:
     - approval timeout
     - pairing required
     - system.run unsupported
     - gateway timeout

3. 强制执行稳定性策略:
   - 使用 nodeId,不用 displayName
   - 同一 node 串行执行,不并发
   - 失败重试 1 次后再告警

4. CLI-only Mac 标准模板:
   - remote url 使用占位符 `<api-endpoint>`
   - sshTarget 使用占位符 `<ssh-target>`
   - 凭据使用占位符 `<gateway-token>`(与 gateway token 对齐)

5. 变更后验收:
   - 目标设备执行一条最小命令(echo/date/whoami)
   - 再跑一次 `status --deep`

6. 输出格式:
   - 总结:可用/不可用
   - 成功项
   - 失败项与根因
   - 遗留风险
   - 下一步建议(按优先级)

7. 对外分享前脱敏(必须):
   - 不包含 token/key/password/IP/用户名/绝对路径
   - 输出脱敏版文档和发布说明

Files in this skill

  • SKILL.md1.8 KB
  • references/failure-playbook.md2 KB
  • references/publish-sanitization-checklist.md787 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…