Oc Guard Skill

v1.1.2

Safe OpenClaw config planning/apply workflow with bilingual execution receipts.

0· 319· 3 versions· 1 current· 1 all-time· Updated 12h ago· MIT-0
byedmond@edmond-ai

Install

openclaw skills install oc-guard-skill

oc-guard Skill

Purpose

All config-changing requests must go through oc-guard. Do not directly edit ~/.openclaw/openclaw.json. When possible, invoke the bundled CLI at {baseDir}/scripts/oc-guard.py.

Hard Rules

  1. Use oc-guard plan before apply.
  2. High-risk changes require oc-guard apply --confirm.
  3. Always return execution receipt first.
  4. If command is not executed, return 【模型说明-未执行】.
  5. Never claim success without a real oc-guard receipt.

Common Commands

  • {baseDir}/scripts/oc-guard.py --help
  • {baseDir}/scripts/oc-guard.py plan "<requirement>"
  • {baseDir}/scripts/oc-guard.py apply --confirm "<requirement>"
  • {baseDir}/scripts/oc-guard.py plan --proposal <file>
  • {baseDir}/scripts/oc-guard.py apply --confirm --proposal <file>

Version tags

latestvk9721yaffmtg3rzh3gzqdrd5t582cxdh

Runtime requirements

Binspython3, openclaw, opencode