Openclaw Workspace Governance Installer
Verified@Adamchanadam
npx machina-cli add skill @Adamchanadam/openclaw-workspace-governance-installer --openclawOpenClaw Workspace Governance Installer
Ship safer OpenClaw operations from day one. This installer gives you a repeatable governance path instead of ad-hoc prompt edits.
Why this is popular
- Prevents "edit first, verify later" mistakes.
- Gives one predictable setup/upgrade/audit flow.
- Makes changes traceable for review and handover.
- Works for both beginners and production workspaces.
60-second quick start
First-time install:
# 1) Install plugin (first time only)
openclaw plugins install @adamchanadam/openclaw-workspace-governance@latest
# 2) Enable plugin
openclaw plugins enable openclaw-workspace-governance
# 3) Verify skills
openclaw skills list --eligible
In OpenClaw chat:
/gov_setup check
/gov_setup install
/gov_audit
Already installed users (upgrade path):
# Do NOT run install again if plugin already exists
openclaw plugins update openclaw-workspace-governance
openclaw gateway restart
Then in OpenClaw chat:
/gov_setup check
/gov_setup upgrade
/gov_migrate
/gov_audit
What you get
gov_setupwithinstall | upgrade | check.gov_migratefor governance upgrades.gov_auditfor 12/12 consistency checks.gov_apply <NN>for controlled BOOT proposal apply.gov_platform_changefor controlled platform control-plane updates:- in scope:
~/.openclaw/openclaw.json - in scope when explicitly needed:
~/.openclaw/extensions/ - not for Brain Docs (
USER.md,SOUL.md,memory/*.md) or normal workspace docs
- in scope:
gov_brain_auditfor conservative Brain Docs risk review:preview(read-only findings)apply(approval-based minimal diff + backup)rollback(restore latest backup)
When to use which command (quick map)
- New setup in workspace:
gov_setup install - Upgrade existing governance assets:
gov_setup upgrade - Apply governance alignment changes:
gov_migrate - Verify consistency (read-only):
gov_audit - Apply approved BOOT menu item:
gov_apply <NN> - Edit OpenClaw platform config safely:
gov_platform_change - Review/harden Brain Docs safely:
gov_brain_audit preview -> apply -> rollback
First-run status map
After /gov_setup check:
NOT_INSTALLED-> run/gov_setup installPARTIAL-> run/gov_setup upgradeREADY-> run/gov_migratethen/gov_audit
Important update rule
If openclaw plugins install ... returns plugin already exists, use:
openclaw plugins update openclaw-workspace-governanceopenclaw gateway restart/gov_setup upgrade->/gov_migrate->/gov_audit
Version check (operator-side):
- Installed:
openclaw plugins info openclaw-workspace-governance - Latest:
npm view @adamchanadam/openclaw-workspace-governance version
Runtime gate behavior (important)
- Read-only diagnostics/testing commands are allowed and should not be blocked.
- Write/update/save commands require PLAN + READ evidence before CHANGE.
- If blocked by runtime gate, this usually means governance guard worked (not a system crash).
- Include
WG_PLAN_GATE_OK+WG_READ_GATE_OKin governance output, then retry. - Prefer final response shape from
gov_*:STATUS->WHY->NEXT STEP (Operator)->COMMAND TO COPY. - If
gov_setup upgradestill reports gate deadlock, update plugin to latest + restart gateway, then rerungov_setup checkandgov_setup upgrade.
If slash routing is unstable
Use fallback commands:
/skill gov_setup check
/skill gov_setup install
/skill gov_setup upgrade
/skill gov_migrate
/skill gov_audit
/skill gov_apply 01
/skill gov_platform_change
/skill gov_brain_audit preview
/skill gov_brain_audit apply APPROVE: APPLY_ALL_SAFE
/skill gov_brain_audit rollback
Or natural language:
Please use gov_setup in check mode (read-only) and return workspace root, status, and next action.
Who this is for
- New OpenClaw users who want a guided install path.
- Teams operating long-running workspaces.
- Users who need auditable, low-drift maintenance.
Learn more (GitHub docs)
- Main docs: https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE
- English README: https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE/blob/main/README.md
- 繁體中文版: https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE/blob/main/README.zh-HK.md
- Governance handbook (EN): https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE/blob/main/WORKSPACE_GOVERNANCE_README.en.md
Source
git clone https://clawhub.ai/Adamchanadam/openclaw-workspace-governance-installerView on GitHub Overview
Installs OpenClaw WORKSPACE_GOVERNANCE quickly with a repeatable governance path. It prevents ad-hoc edits and provides guided setup, upgrade checks, migration, and audits for long-running workspaces, making governance traceable for teams from beginners to production.
How This Skill Works
The installer adds a governance plugin that exposes commands like gov_setup (install|upgrade|check), gov_migrate, gov_audit, and gov_apply for controlled changes. It enforces a runtime gate model where read-only diagnostics are allowed, and write actions require PLAN + evidence; on gating, it returns WG_PLAN_GATE_OK and WG_READ_GATE_OK to proceed, with recommended final output: STATUS -> WHY -> NEXT STEP (Operator) -> COMMAND TO COPY.
When to Use It
- Setting up governance in a new workspace with gov_setup install
- Upgrading governance assets when a plugin update is available
- Applying governance alignment changes with gov_migrate
- Verifying consistency via gov_audit (read-only)
- Applying approved changes via gov_apply or platform updates via gov_platform_change
Quick Start
- Step 1: Install plugin (first time only) openclaw plugins install @adamchanadam/openclaw-workspace-governance@latest
- Step 2: Enable plugin openclaw plugins enable openclaw-workspace-governance
- Step 3: Verify skills openclaw skills list --eligible
Best Practices
- Run /gov_setup check first to determine status (NOT_INSTALLED, PARTIAL, READY)
- Follow the upgrade path if already partially installed
- Make governance changes traceable by using gov_migrate and gov_audit before applying
- Use gov_apply for controlled BOOT proposals and backup via gov_brain_audit
- Keep plugins up to date and restart gateway if gate-related messages appear
Example Use Cases
- A startup onboarded governance in a fresh workspace using gov_setup install and then governed with gov_audit and gov_apply
- A production workspace upgraded an older OpenClaw governance setup by running the upgrade path and migrating with gov_migrate
- A team performed 12/12 consistency checks in a live environment using gov_audit
- Teams applied a safe platform change through gov_platform_change after a governance review
- Brain Docs risk review completed with gov_brain_audit preview, then apply and rollback if needed