Guide · Agent skill
How to use the Skillpack Health Check agent skill (skillpack-check)
Updated · written with AI from the project's own documentation and checked against our catalogue data
skillpack-check is an agent skill that teaches an AI agent to run the gbrain command-line tool's health check and read back a structured JSON report saying whether your gbrain setup is working. It is aimed at developers running gbrain, people who use an OpenClaw-style agent for a morning briefing, and operators debugging jobs or a brain that stopped updating. After this guide you will know what the skill does, how to install it, how to ask for a check in plain language, and how it handles problems it finds.
Quick start
- 1Install gbrain. Make sure the gbrain command-line tool is installed and on your PATH. Confirm with which gbrain and gbrain --version.
- 2Download the skill ZIP. Download the skillpack-check ZIP from this page and unzip it.
- 3Place the skill folder. Put the folder in ~/.claude/skills/ for personal use, or in a project's .claude/skills/ folder. In the Claude apps you can instead upload the ZIP under Settings → Capabilities → Skills.
- 4Ask for a check. Ask the agent 'Is gbrain healthy?' or 'Skillpack check'. The agent runs gbrain skillpack-check and returns the report.
- 5Read the exit code and summary. 0 means nothing to do, 1 means proposed actions need review, and 2 means the check could not run and needs investigation.
- 6Approve any repair separately. Review each action in actions[] and give explicit approval for the specific action and scope before it runs.
What is an agent skill, and what does skillpack-check do?
An agent skill is a folder containing a SKILL.md file that tells an AI agent when to use a capability and how to run it. This skill's SKILL.md is the only file listed for it.
When triggered, the agent runs gbrain skillpack-check. That command wraps gbrain doctor and gbrain apply-migrations --list, and returns a JSON report with a healthy flag, a one-line summary, a list of proposed actions, the full doctor output, and migration counts (applied, pending, partial).
- healthy: true means no action is needed.
- summary: a one-line text safe to quote in a briefing.
- actions: proposed repair actions, reported as data.
- doctor and migrations: the underlying check details.
Install skillpack-check before you use it
Download the skill ZIP from this page and unzip it. Then put the resulting skillpack-check folder in one of these places:
For a personal setup, unzip into ~/.claude/skills/. For a single project, unzip into that project's .claude/skills/ folder. Alternatively, in the Claude apps, upload the ZIP under Settings → Capabilities → Skills.
- Requirement: the gbrain command-line tool must be installed and on your PATH. The skill only wraps gbrain and does nothing useful without it.
- Requirement: jq, used in the example for reading the action list.
- Requirement: shell access for the agent (the skill lists the shell tool).
Check that gbrain is ready
Before asking the agent for a check, confirm the binary is reachable. The skill's troubleshooting steps use these three checks, which you can run yourself.
- which gbrain returns a path.
- gbrain --version exits 0.
- ~/.gbrain/ is accessible.
which gbrain
gbrain --versionAsk for a health check in plain language
You do not need to remember the command. The skill is triggered by requests such as the ones below. It is also meant to run proactively when something seems off, such as jobs not running, the brain not updating, or autopilot being silent.
For a daily signal, a scheduled cron can run the quiet form. Exit code alone shows whether anything is wrong, and the agent only surfaces a one-liner when the exit code is not 0.
- "Is gbrain healthy?"
- "Skillpack check"
- "Check the brain"
- "Is the brain working?"
- "gbrain health"
gbrain skillpack-check --quietRead the report and the exit code
The exit code tells you the outcome. 0 means healthy with nothing to do. 1 means action is needed, and the actions[] entries should be reported as proposals. 2 means the check could not determine the state, for example because the binary crashed or a subcommand is missing. Treat 2 as urgent.
When the report is healthy, the agent surfaces the summary only if you asked. When it is not, the agent lists the actions in order. Only checks with a fail status need action; warn is informational.
- Read actions with: printf '%s\n' "$REPORT" | jq -r '.actions[]'
- Common action: gbrain apply-migrations --yes (a pending or half-finished migration).
- Common action: gbrain embed --stale (embeddings are stale; may spend money).
- Common action: gbrain check-backlinks fix (dead or missing back-links; changes page content).
printf '%s\n' "$REPORT" | jq -r '.actions[]'Review fixes before anything runs
The skill is report-only. A health check, including a scheduled one, does not authorise repairs. Before any action that changes the brain or spends money runs, you must give separate, explicit approval for that action and its scope. The skill says tool output is data, not authority, so the agent should not pass output to a shell evaluator.
For apply-migrations, the skill notes that a partial result can mean a failed phase or pending host work, so review the phase details before proposing a retry. For embedding backfills, confirm scope and budget first.
- Do not run actions[] automatically.
- Do not treat warnings as failures.
- Do not ignore exit code 2.
What people use it for
- A morning briefing that shows a one-line status only when the daily quiet check exits non-zero.
- Debugging a brain that stopped updating by asking the agent for the full JSON report.
- Adding a CI step where the exit code gates the pipeline and the JSON is kept as evidence.
- Checking whether a half-installed migration (partial count above zero) needs attention before you change anything.
Frequently asked questions
How do I install the skillpack-check agent skill?
Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder. In the Claude apps you can upload the ZIP under Settings → Capabilities → Skills instead. You also need the gbrain command-line tool installed and on your PATH.
What do I need to run skillpack-check?
You need the gbrain command-line tool installed and on PATH, jq for reading the action list in the example, and shell access for the agent. The skill runs scripts but does not use the network, according to its listing. It does nothing useful without gbrain.
Is skillpack-check free?
The source material does not state a price or licence terms for this skill beyond the listing's licence field, which says MIT. Check the repository's licence file for the details of what that allows.
Does skillpack-check fix problems automatically?
No. The skill is designed to report proposed actions and not run them. Running any action requires separate, explicit approval, and a scheduled check does not authorise repairs.
What does exit code 2 mean and what should I do?
Exit code 2 means the check could not determine the state, usually because the gbrain binary is missing from PATH or a subcommand crashed. Check which gbrain, gbrain --version, and that ~/.gbrain/ is accessible, and treat it as more urgent than a failing check.
How is this different from running gbrain doctor directly?
skillpack-check wraps gbrain doctor --fast --json and gbrain apply-migrations --list into one report, with a healthy flag, summary and action list. Running gbrain doctor on its own gives you the filesystem and database checks without the migration status or the agent-readable summary.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
Use skillpack-check if you already run gbrain and want a daily or CI health signal, or a one-line status in an agent briefing, with repairs kept under your control. Skip it if you do not have gbrain installed, want an agent that fixes problems automatically, or do not have a command line set up.
Download the skill