Skillpack Check
Contract
Running gbrain skillpack-check returns a JSON report with:
healthy(bool): true if no action needed.summary(string): one-line summary safe to quote in a briefing.actions(string[]): every remediation command. If non-empty, run them.doctor: fullgbrain doctor --fast --jsonoutput (filesystem checks).migrations: applied/pending/partial counts fromapply-migrations --list.
Exit code:
0— healthy, nothing to do.1— action needed. Readactions[]and execute.2— could not determine (binary crash or missing subcommand). Investigate.
When to run
- Daily cron (e.g. your OpenClaw's
morning-briefing):gbrain skillpack-check --quiet. Exit code alone tells you if anything is wrong; surface a one-liner in the briefing only when exit != 0. No JSON noise in happy-path briefings. - On demand:
gbrain skillpack-checkfor the full JSON when debugging. - In a CI pipeline: same pattern — exit code gates, JSON is the evidence.
What to do with the output
Happy path (healthy: true)
Surface the summary in the agent's output only if asked. Nothing else.