Agent Skills
› NeverSight/learn-skills.dev
› gov_apply
gov_apply
GitHub通过指定编号执行已批准的BOOT升级项。严格校验输入、上下文及文档证据,确保确定性应用并遵循审计流程,保障系统变更安全合规。
Trigger Scenarios
用户请求执行特定编号的治理升级
需要应用经过审批的BOOT配置更改
Install
npx skills add NeverSight/learn-skills.dev --skill gov_apply -g -y
SKILL.md
Frontmatter
{
"name": "gov_apply",
"metadata": {
"openclaw": {
"emoji": "🧩"
}
},
"description": "Apply an approved BOOT upgrade item by number using the guided apply runner.",
"user-invocable": true
}
/gov_apply <NN>
Input
<NN>must be a two-digit item number, for example01.
Purpose
Execute:
prompts/governance/APPLY_UPGRADE_FROM_BOOT.md- deterministic runner:
node {plugin_root}/tools/gov_apply_sync.mjs <NN>
Hard contract
- If
<NN>is missing or invalid, stop and request a two-digit number. - If BOOT menu context is missing, stop and request the latest BOOT menu section.
- Apply only the approved item with deterministic runner (
tools/gov_apply_sync.mjs). - After apply, run migration/audit flow as required by the apply runner.
- For OpenClaw system claims during apply, verify against local skill docs and
https://docs.openclaw.ai.- For latest/version-sensitive claims, also verify official releases
https://github.com/openclaw/openclaw/releases. - If verification cannot be completed, report uncertainty and required next check; do not infer.
- For latest/version-sensitive claims, also verify official releases
- For date/time-sensitive claims during apply, verify runtime current time context first (session status).
- Use runtime
<workspace-root>semantics; do not assume fixed home paths. - Brain Docs routing:
- If apply path touches Brain Docs (
USER.md,IDENTITY.md,TOOLS.md,SOUL.md,MEMORY.md,HEARTBEAT.md,memory/*.md), enforce Mode C and require explicit READ evidence before any write.
- If apply path touches Brain Docs (
Output requirements
- Include
FILES_READ(exact paths) andTARGET_FILES_TO_CHANGE(exact paths). - If either field is missing, output
BLOCKED (missing read/change evidence)and stop. - Use this output order for UX consistency:
STATUSWHYNEXT STEP (Operator)COMMAND TO COPY
- Always include a final
NEXT STEP (Operator)section. - After apply completes:
- primary:
/gov_migratethen/gov_audit - fallback:
/skill gov_migratethen/skill gov_audit
- primary:
- If apply is BLOCKED:
- output one clear unblock action and the exact command to retry.
Fallback
- If slash command is unavailable or name-collided, use:
/skill gov_apply <NN>
Version History
- e0220ca Current 2026-07-05 23:03


