[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75MRQRCX74FCD7DFTFY9T6E":3,"skill-same:01M75MRQRCX74FCD7DFTFY9T6E":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":13,"repositoryHtmlUrl":36,"repositoryHomepageUrl":37,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":39,"install":40,"resources":53},"01M75MRQRCX74FCD7DFTFY9T6E","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).","Sigmacodeat\u002FSigmabrain","Sigmacodeat","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F220578687?v=4","01M75M8ZBH9439AFP2NTF8K98S","01M75M8ZC680S4377SFWSKP0D1",0,"MIT","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Fskills\u002Fskillpack-check\u002FSKILL.md",[],[],"2026-11-12 13:55:43",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":23,"version":25,"mutating":19,"triggers":26,"description":32},[24],"shell","1.0.0",[27,28,29,30,31],"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","main","b8e699fc7cff8641b94a51ac9d4aa599fcc03ae5","server\u002Fskills\u002Fskillpack-check","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain","https:\u002F\u002Fsigmabrain.vercel.app","https:\u002F\u002Fgithub.com\u002FSigmacodeat","2026-07-09 09:21:55",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add Sigmacodeat\u002FSigmabrain --skill skillpack-check",{"tool":46,"command":47},"bunx","bunx skills add Sigmacodeat\u002FSigmabrain --skill skillpack-check",{"tool":49,"command":50},"pnpm","pnpm dlx skills add Sigmacodeat\u002FSigmabrain --skill skillpack-check","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Fskills\u002Fskillpack-check\u002FSKILL.md",true,[],[55,61,67,74,81,88],{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M75MW3405DES0348DPKVF20G","query-helper","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Ftest\u002Ffixtures\u002Fskill-catalog\u002Fskills\u002Fquery-helper\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M75MW29T3N856QPT2SK467A3","broken","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Ftest\u002Ffixtures\u002Fskill-catalog\u002Fskills\u002Fbroken\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M75MVZV51CX9W3Y602M0GJR9","brain-ops","Read, enrich, and write brain pages with source attribution.","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Ftest\u002Ffixtures\u002Fskill-catalog\u002Fskills\u002Fbrain-ops\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M75MVXQAQBVNQBZPKPEBPRHV","signal-detector","Always-on ambient signal capture for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fsignal-detector\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M75MVWJN0EV5EFW6JMMC73XC","query","Look up brain pages in the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fquery\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M75MVVA7Q6PMDBTPQGT49M6M","context-now","ALWAYS-ON time-sensitivity discipline for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fcontext-now\u002FSKILL.md",[],[]]