install
source · Clone the upstream repo
git clone https://github.com/NeverSight/learn-skills.dev
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/NeverSight/learn-skills.dev "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/skills-md/adamchanadam/openclaw-workspace-governance/gov_audit" ~/.claude/skills/neversight-learn-skills-dev-gov-audit && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/NeverSight/learn-skills.dev "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/data/skills-md/adamchanadam/openclaw-workspace-governance/gov_audit" ~/.openclaw/skills/neversight-learn-skills-dev-gov-audit && rm -rf "$T"
manifest:
data/skills-md/adamchanadam/openclaw-workspace-governance/gov_audit/SKILL.mdsource content
/gov_audit
Purpose
Perform governance integrity checks after bootstrap, migration, or apply.
Required checks
- Run the checklist in
with fixed denominator 12/12._control/REGRESSION_CHECK.md - Verify governance anchor consistency required by your active migration baseline.
- Produce a clear PASS/FAIL result and remediation if any item fails.
- Verify path compatibility:
- governance content must use runtime
semantics<workspace-root> - no hardcoded
assumptions in changed governance content~/.openclaw/workspace
- governance content must use runtime
- Verify system-truth evidence:
- OpenClaw system claims must cite
sourceshttps://docs.openclaw.ai - latest/version-sensitive OpenClaw claims must also cite
sourceshttps://github.com/openclaw/openclaw/releases - date/time claims must include runtime current time evidence (session status)
- OpenClaw system claims must cite
- If a run includes platform control-plane changes, verify:
- backup path exists under
archive/_platform_backup_<ts>/... - before/after key excerpts are present
- change was executed via
path (or equivalent documented fallback)gov_openclaw_json
- backup path exists under
- If a run touches Brain Docs (
,USER.md
,IDENTITY.md
,TOOLS.md
,SOUL.md
,MEMORY.md
,HEARTBEAT.md
), verify run report includes:memory/*.md
exact pathsFILES_READ
exact paths (orTARGET_FILES_TO_CHANGE
for read-only) Missing either field => FAIL (evidence incomplete).none
- If a run includes coding/workspace file writes (for example under
), verify it was treated as Mode C with:projects/- explicit PLAN gate evidence
- READ evidence
- QC 12/12 outcome Missing evidence => FAIL (workflow bypass).
- If a run includes
orgov_brain_audit APPROVE: ...
, verify:gov_brain_audit ROLLBACK- backup path exists under
archive/_brain_docs_autofix_<ts>/... - run report includes approved finding IDs (or rollback scope)
- changed files are limited to approved Brain Docs/governance targets Missing evidence => FAIL (unsafe Brain Docs mutation).
- backup path exists under
- Official-flow compatibility SOP check (anti-self-lock):
- verify governance does not falsely block OpenClaw system operation flows (
, including plugin-added/future commands) and governance lifecycle flows (openclaw ...
,gov_help
,gov_setup quick/check/install/upgrade
,gov_migrate
,gov_audit
,gov_openclaw_json
,gov_brain_audit
).gov_uninstall quick/check/uninstall - if a governance block occurred, verify run report labels it as governance policy gate (not system error) and provides copy-paste unblock commands.
Persistence
- Write audit result into
when the active governance flow requires persistence._runs/ - Ensure
is updated when a new run report is added._control/WORKSPACE_INDEX.md
Output requirements
- Use this output order for UX consistency:
STATUSWHYNEXT STEP (Operator)COMMAND TO COPY
- Always include a final
section.NEXT STEP (Operator) - If audit PASS:
- primary: continue normal operation, or run
only when an approved BOOT menu item exists./gov_apply <NN> - fallback:
/skill gov_apply <NN>
- primary: continue normal operation, or run
- If audit FAIL:
- primary: run
after remediation./gov_migrate - fallback:
/skill gov_migrate
- primary: run
Fallback
- If slash command is unavailable or name-collided, use:
/skill gov_audit