[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72SY4QMGH9JZDA3HRJ2PBD8":3,"skill-same:01M72SY4QMGH9JZDA3HRJ2PBD8":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M72SY4QMGH9JZDA3HRJ2PBD8","skillpack-check",null,"Run `gbrain skillpack-check` to produce an agent-readable JSON health report\nfor the gbrain install. Wraps `gbrain doctor` + `gbrain apply-migrations\n--list` so a host agent (your OpenClaw's morning-briefing, any OpenClaw cron)\ncan see at a glance whether the skillpack needs attention.\n\nUse when the user asks \"is gbrain healthy?\", when a cron fires a morning\ncheck, or proactively when something seems off (jobs not running, brain\nnot updating, autopilot silent).","ltdrew\u002FAgent-brain-2","ltdrew","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F173687628?v=4","01M72SVABERGYY99JQPNV3FTTN","Logan Drew","01M72SVABZHAN29CHRV66Y48B8",1,"MIT","https:\u002F\u002Fgithub.com\u002Fltdrew\u002FAgent-brain-2\u002Fblob\u002Ffeat\u002Fbrain-first-convention\u002Fskills\u002Fskillpack-check\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: skillpack-check\nversion: 1.0.0\ndescription: |\n  Run `gbrain skillpack-check` to produce an agent-readable JSON health report\n  for the gbrain install. Wraps `gbrain doctor` + `gbrain apply-migrations\n  --list` so a host agent (your OpenClaw's morning-briefing, any OpenClaw cron)\n  can see at a glance whether the skillpack needs attention.\n\n  Use when the user asks \"is gbrain healthy?\", when a cron fires a morning\n  check, or proactively when something seems off (jobs not running, brain\n  not updating, autopilot silent).\ntriggers:\n  - \"skillpack check\"\n  - \"is gbrain healthy\"\n  - \"gbrain health\"\n  - \"check the brain\"\n  - \"is the brain working\"\ntools:\n  - shell\nmutating: false\n---\n\n# Skillpack Check\n\n## Contract\n\nRunning `gbrain skillpack-check` returns a JSON report with:\n\n- **`healthy`** (bool): true if no action needed.\n- **`summary`** (string): one-line summary safe to quote in a briefing.\n- **`actions`** (string[]): every remediation command. If non-empty, run them.\n- **`doctor`**: full `gbrain doctor --fast --json` output (filesystem checks).\n- **`migrations`**: applied\u002Fpending\u002Fpartial counts from `apply-migrations --list`.\n\nExit code:\n- `0` — healthy, nothing to do.\n- `1` — action needed. Read `actions[]` and execute.\n- `2` — could not determine (binary crash or missing subcommand). Investigate.\n\n## When to run\n\n- **Daily cron** (e.g. your OpenClaw's `morning-briefing`): `gbrain skillpack-check --quiet`.\n  Exit code alone tells you if anything is wrong; surface a one-liner in the\n  briefing only when exit != 0. No JSON noise in happy-path briefings.\n- **On demand**: `gbrain skillpack-check` for the full JSON when debugging.\n- **In a CI pipeline**: same pattern — exit code gates, JSON is the evidence.\n\n## What to do with the output\n\n### Happy path (`healthy: true`)\n\nSurface the summary in the agent's output only if asked. Nothing else.\n\n### Action needed (`healthy: false`)\n\nThe `actions[]` array contains the commands to run, in order. Execute them:\n\n```bash\nfor cmd in $(echo \"$REPORT\" | jq -r '.actions[]'); do\n  eval \"$cmd\"\ndone\n```\n\nCommon `actions[]` entries and what they mean:\n\n- `gbrain apply-migrations --yes` — A migration is pending or half-finished.\n  Run this (it's idempotent). If it exits `status: \"partial\"`, the host has\n  non-builtin cron handlers that need plugin registration — follow\n  `skills\u002Fmigrations\u002Fv0.11.0.md`.\n- `gbrain embed --stale` — Embeddings are stale.\n- `gbrain check-backlinks --fix` — Dead links or missing back-links.\n- Free-text action (no `Run:` prefix in the source message) — agent judgment\n  needed. Quote it in the report for the user.\n\n### Determine failure (`exit 2`)\n\nTreat as urgent. Probably means the gbrain binary is missing from `$PATH` or\na required subcommand crashed. Check:\n\n1. `which gbrain` returns a path\n2. `gbrain --version` exits 0\n3. `~\u002F.gbrain\u002F` is accessible\n\n## Output format\n\n```json\n{\n  \"version\": \"0.11.1\",\n  \"ts\": \"2026-04-18T12:34:56.789Z\",\n  \"healthy\": false,\n  \"summary\": \"gbrain skillpack needs attention: 1 action(s) — gbrain apply-migrations --yes\",\n  \"actions\": [\"gbrain apply-migrations --yes\"],\n  \"doctor\": {\n    \"exit_code\": 1,\n    \"checks\": [\n      { \"name\": \"minions_migration\", \"status\": \"fail\", \"message\": \"MINIONS HALF-INSTALLED (partial migration: 0.11.0). Run: gbrain apply-migrations --yes\" }\n    ]\n  },\n  \"migrations\": {\n    \"applied_count\": 0,\n    \"pending_count\": 0,\n    \"partial_count\": 1,\n    \"stdout\": \"...\"\n  }\n}\n```\n\n## Anti-Patterns\n\n- ❌ Running without `--quiet` in a cron that emails its output — you'll get\n  the full JSON blob in every daily email. Use `--quiet` in crons.\n- ❌ Ignoring exit code 2. A crashed doctor is worse than a failing check\n  because you don't even know what's wrong.\n- ❌ Running on every chat turn. Once per hour (or on user request) is plenty.\n- ❌ Treating warnings as failures. Only `fail` status needs action;\n  `warn` is informational.\n\n## Output Format\n\nThe skill itself doesn't write files; it reports the CLI output verbatim to\nthe user (or to the agent's briefing pipeline). One-line summary first,\nthen the action list, then (only if relevant) the full JSON for debugging.\n\n## Related\n\n- `gbrain doctor` — the underlying filesystem + DB check. skillpack-check\n  composes this.\n- `gbrain apply-migrations --list` — the migration status view.\n- `skills\u002Fmigrations\u002Fv0.11.0.md` — the host-agent instruction manual for\n  resolving `pending-host-work.jsonl` items.\n- `docs\u002Fguides\u002Fminions-fix.md` — troubleshooting a half-migrated install.\n","# Skillpack Check\n\n## Contract\n\nRunning `gbrain skillpack-check` returns a JSON report with:\n\n- **`healthy`** (bool): true if no action needed.\n- **`summary`** (string): one-line summary safe to quote in a briefing.\n- **`actions`** (string[]): every remediation command. If non-empty, run them.\n- **`doctor`**: full `gbrain doctor --fast --json` output (filesystem checks).\n- **`migrations`**: applied\u002Fpending\u002Fpartial counts from `apply-migrations --list`.\n\nExit code:\n- `0` — healthy, nothing to do.\n- `1` — action needed. Read `actions[]` and execute.\n- `2` — could not determine (binary crash or missing subcommand). Investigate.\n\n## When to run\n\n- **Daily cron** (e.g. your OpenClaw's `morning-briefing`): `gbrain skillpack-check --quiet`.\n  Exit code alone tells you if anything is wrong; surface a one-liner in the\n  briefing only when exit != 0. No JSON noise in happy-path briefings.\n- **On demand**: `gbrain skillpack-check` for the full JSON when debugging.\n- **In a CI pipeline**: same pattern — exit code gates, JSON is the evidence.\n\n## What to do with the output\n\n### Happy path (`healthy: true`)\n\nSurface the summary in the agent's output only if asked. Nothing else.\n\n### Action needed (`healthy: false`)\n\nThe `actions[]` array contains the commands to run, in order. Execute them:\n\n```bash\nfor cmd in $(echo \"$REPORT\" | jq -r '.actions[]'); do\n  eval \"$cmd\"\ndone\n```\n\nCommon `actions[]` entries and what they mean:\n\n- `gbrain apply-migrations --yes` — A migration is pending or half-finished.\n  Run this (it's idempotent). If it exits `status: \"partial\"`, the host has\n  non-builtin cron handlers that need plugin registration — follow\n  `skills\u002Fmigrations\u002Fv0.11.0.md`.\n- `gbrain embed --stale` — Embeddings are stale.\n- `gbrain check-backlinks --fix` — Dead links or missing back-links.\n- Free-text action (no `Run:` prefix in the source message) — agent judgment\n  needed. Quote it in the report for the user.\n\n### Determine failure (`exit 2`)\n\nTreat as urgent. Probably means the gbrain binary is missing from `$PATH` or\na required subcommand crashed. Check:\n\n1. `which gbrain` returns a path\n2. `gbrain --version` exits 0\n3. `~\u002F.gbrain\u002F` is accessible\n\n## Output format\n\n```json\n{\n  \"version\": \"0.11.1\",\n  \"ts\": \"2026-04-18T12:34:56.789Z\",\n  \"healthy\": false,\n  \"summary\": \"gbrain skillpack needs attention: 1 action(s) — gbrain apply-migrations --yes\",\n  \"actions\": [\"gbrain apply-migrations --yes\"],\n  \"doctor\": {\n    \"exit_code\": 1,\n    \"checks\": [\n      { \"name\": \"minions_migration\", \"status\": \"fail\", \"message\": \"MINIONS HALF-INSTALLED (partial migration: 0.11.0). Run: gbrain apply-migrations --yes\" }\n    ]\n  },\n  \"migrations\": {\n    \"applied_count\": 0,\n    \"pending_count\": 0,\n    \"partial_count\": 1,\n    \"stdout\": \"...\"\n  }\n}\n```\n\n## Anti-Patterns\n\n- ❌ Running without `--quiet` in a cron that emails its output — you'll get\n  the full JSON blob in every daily email. Use `--quiet` in crons.\n- ❌ Ignoring exit code 2. A crashed doctor is worse than a failing check\n  because you don't even know what's wrong.\n- ❌ Running on every chat turn. Once per hour (or on user request) is plenty.\n- ❌ Treating warnings as failures. Only `fail` status needs action;\n  `warn` is informational.\n\n## Output Format\n\nThe skill itself doesn't write files; it reports the CLI output verbatim to\nthe user (or to the agent's briefing pipeline). One-line summary first,\nthen the action list, then (only if relevant) the full JSON for debugging.\n\n## Related\n\n- `gbrain doctor` — the underlying filesystem + DB check. skillpack-check\n  composes this.\n- `gbrain apply-migrations --list` — the migration status view.\n- `skills\u002Fmigrations\u002Fv0.11.0.md` — the host-agent instruction manual for\n  resolving `pending-host-work.jsonl` items.\n- `docs\u002Fguides\u002Fminions-fix.md` — troubleshooting a half-migrated install.\n",{"name":5,"tools":24,"version":26,"mutating":20,"triggers":27,"description":33},[25],"shell","1.0.0",[28,29,30,31,32],"skillpack check","is gbrain healthy","gbrain health","check the brain","is the brain working","Run `gbrain skillpack-check` to produce an agent-readable JSON health report\nfor the gbrain install. Wraps `gbrain doctor` + `gbrain apply-migrations\n--list` so a host agent (your OpenClaw's morning-briefing, any OpenClaw cron)\ncan see at a glance whether the skillpack needs attention.\n\nUse when the user asks \"is gbrain healthy?\", when a cron fires a morning\ncheck, or proactively when something seems off (jobs not running, brain\nnot updating, autopilot silent).\n","feat\u002Fbrain-first-convention","f3dace916c3845569f26904591b95baf00237bf8","skills\u002Fskillpack-check",0,"https:\u002F\u002Fgithub.com\u002Fltdrew\u002FAgent-brain-2","https:\u002F\u002Fgithub.com\u002Fltdrew","Account 2","2026-05-13 07:52:42",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add ltdrew\u002FAgent-brain-2 --skill skillpack-check",{"tool":48,"command":49},"bunx","bunx skills add ltdrew\u002FAgent-brain-2 --skill skillpack-check",{"tool":51,"command":52},"pnpm","pnpm dlx skills add ltdrew\u002FAgent-brain-2 --skill skillpack-check","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fltdrew\u002FAgent-brain-2\u002Fblob\u002Ffeat\u002Fbrain-first-convention\u002Fskills\u002Fskillpack-check\u002FSKILL.md",true,[],[57,64,71,78,85,92],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M72SYQK7HQ98AEY8Z8DBT3C0","signal-detector","Always-on ambient signal capture for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002Fltdrew\u002FAgent-brain-2\u002Fblob\u002Ffeat\u002Fbrain-first-convention\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fsignal-detector\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M72SYPHM4TDK6ZRV4NWAGC3D","query","Look up brain pages in the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002Fltdrew\u002FAgent-brain-2\u002Fblob\u002Ffeat\u002Fbrain-first-convention\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fquery\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M72SYN2J4BGSFS613D80AJQX","context-now","ALWAYS-ON time-sensitivity discipline for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002Fltdrew\u002FAgent-brain-2\u002Fblob\u002Ffeat\u002Fbrain-first-convention\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fcontext-now\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M72SYKY67RCNH8VH9R2N0ZZV","brain-ops","Core read\u002Fwrite cycle for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002Fltdrew\u002FAgent-brain-2\u002Fblob\u002Ffeat\u002Fbrain-first-convention\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fbrain-ops\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M72SYHEMGTDRWSERJWZR0XE2","webhook-transforms","Generic framework for converting external events (SMS, meetings, social mentions)\ninto brain-ingestible signals. Define a transform function, register a webhook URL,\nand incoming events get processed through the brain pipeline.","https:\u002F\u002Fgithub.com\u002Fltdrew\u002FAgent-brain-2\u002Fblob\u002Ffeat\u002Fbrain-first-convention\u002Fskills\u002Fwebhook-transforms\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M72SYEE2B8F47TN01CAGQ4JG","testing","Skill validation framework. Validates every skill has SKILL.md with frontmatter,\nevery reference exists, every env var is declared. The testing contract for the\nskill system itself.","https:\u002F\u002Fgithub.com\u002Fltdrew\u002FAgent-brain-2\u002Fblob\u002Ffeat\u002Fbrain-first-convention\u002Fskills\u002Ftesting\u002FSKILL.md",[],[]]