← Back to Skills Marketplace
edmond-ai

OC Guard

by edmond · GitHub ↗ · v1.0.2
cross-platform ✓ Security Clean
314
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install oc-guard
Description
Safe OpenClaw config planning/apply workflow with bilingual execution receipts.
Usage Guidance
This skill appears to do what it claims: validate and apply OpenClaw config changes while producing signed receipts. Before installing or running it, verify you trust the included scripts (scripts/oc-guard.py) because it will: 1) execute the system openclaw and opencode CLIs, 2) write backups and logs under your OpenClaw home and /tmp, and 3) create a local receipt secret file (OCGUARD_RECEIPT_SECRET_FILE) to sign receipts. Make sure the openclaw/opencode binaries it will invoke are the intended ones on PATH (or set OCGUARD_OPENCLAW_BIN/OCGUARD_OPENCODE_BIN), review the script source if you are not trusting the publisher, and ensure backups and the receipt secret are stored where you expect before using apply operations (especially --confirm).
Capability Analysis
Type: OpenClaw Skill Name: oc-guard Version: 1.0.2 The oc-guard skill is a configuration management utility for OpenClaw that implements a 'plan and apply' workflow for safe edits to openclaw.json. The core logic in scripts/oc-guard.py includes extensive safety features such as automatic backups, configuration validation (both custom and via the official openclaw binary), path allowlisting, and post-apply canary checks with automatic rollback on failure. While the tool requires broad permissions to manage system configurations and restart services, its behavior is transparent, well-documented, and includes robust mechanisms to prevent accidental misconfiguration or secret leakage.
Capability Assessment
Purpose & Capability
Name/description (OpenClaw config guard) align with the actual behavior: the CLI calls openclaw/opencode, validates proposals, creates plan/apply flows, backups, receipts and canary checks. Required binaries (python3, openclaw, opencode) are appropriate.
Instruction Scope
SKILL.md instructs agents to invoke the bundled script and enforce receipts/gates. The runtime script implements receipt generation, masking logic, path allowlists, backups, and uses /tmp for diagnostics. Instructions and implementation do not attempt to read unrelated system secrets, but they do write/ read local files (backup dir, receipt secret file, /tmp debug/log files) as part of normal operation — this is expected but worth noting.
Install Mechanism
This is an instruction-only skill with an included Python CLI script; there is no automated install that downloads external code. No obscure URLs or archive extraction are used.
Credentials
The skill does not require external credentials. It optionally consumes environment overrides (OPENCLAW_HOME, OCGUARD_* vars) and creates/stores a local receipt secret file under the OpenClaw home directory. These environment variables and local secret storage are proportional to generating signed receipts and configuring backup paths, but you should be aware the skill persists a secret file and writes backups/logs locally.
Persistence & Privilege
always:false (no forced global inclusion). The script writes to user/home paths and /tmp (logs, backups, a receipt-secret file, diagnostics). This is reasonable for a config-guard tool, but installing it will give the skill the ability to create/read those files in the user's OpenClaw home directory.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install oc-guard
  3. After installation, invoke the skill by name or use /oc-guard
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
Deprecated slug. Please use oc-guard-skill (latest maintained releases).
v1.0.1
Docs update: bilingual README and top announcement section
v1.0.0
Initial release
Metadata
Slug oc-guard
Version 1.0.2
License
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is OC Guard?

Safe OpenClaw config planning/apply workflow with bilingual execution receipts. It is an AI Agent Skill for Claude Code / OpenClaw, with 314 downloads so far.

How do I install OC Guard?

Run "/install oc-guard" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is OC Guard free?

Yes, OC Guard is completely free (open-source). You can download, install and use it at no cost.

Which platforms does OC Guard support?

OC Guard is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created OC Guard?

It is built and maintained by edmond (@edmond-ai); the current version is v1.0.2.

💬 Comments