🧪 Skills
Oc Guard Skill
--- name: oc_guard description: Safe OpenClaw config planning/apply workflow with bilingual execution receipts. metadata: {"openclaw":{"requires":{"bins":["python3","openclaw","opencode"]}}} --- # oc
v1.1.2
Description
name: oc_guard description: Safe OpenClaw config planning/apply workflow with bilingual execution receipts. metadata: {"openclaw":{"requires":{"bins":["python3","openclaw","opencode"]}}}
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
- Use
oc-guard planbefore apply. - High-risk changes require
oc-guard apply --confirm. - Always return execution receipt first.
- If command is not executed, return
【模型说明-未执行】. - Never claim success without a real
oc-guardreceipt.
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>
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!