skillpack-check

skillpack-check is a skill for Claude Code, Codex from garrytan/gbrain. It costs 118 tokens per session (1,240 once invoked), scanned A, original, MIT.

A command that produces a JSON health report for a gbrain installation. It combines filesystem checks with a list of database migrations, which are changes needed to keep the database structure current.

In plain words
What is it for?
Use it in daily briefings, cron jobs, CI checks, or on-demand troubleshooting to report health, pending migrations, actions, and an exit status.
Why use it?
It gives an agent or scheduled job a compact way to detect whether maintenance is needed and which remediation commands to run.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for gbrain. Also seen: built for gbrain.

Part of the gbrain plugin — 44 skills, 2 plugins shipped together

Good fit Use it in daily briefings, cron jobs, CI checks, or on-demand troubleshooting to report health, pending migrations, actions, and an exit status.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/garrytan/gbrain/skillpack-check
About the project

GBrain is a memory and retrieval layer for AI agents that searches, connects, and synthesizes information from stored sources. It is used to give coding agents and autonomous agents access to knowledge beyond their current code, including shared company information with access controls. The catalogue add-ons help agents operate GBrain and connect it to agent workflows.

garrytan/gbrain · 29,702 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add garrytan/gbrain --skill skillpack-check
Clone the repo
git clone --depth 1 https://github.com/garrytan/gbrain

Made for: Claude Code, Codex.

Or install gbrain, the plugin that ships this one along with the rest of its 44 skills, 2 plugins.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skillpack-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/garrytan/gbrain/skillpack-check.svg)](https://agentmods.dev/skills/garrytan/gbrain/skillpack-check)
Your own site
<a href="https://agentmods.dev/skills/garrytan/gbrain/skillpack-check"><img src="https://agentmods.dev/badge/skills/garrytan/gbrain/skillpack-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,240 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00118 $0.01240
Opus 5 $0.00059 $0.00620
Sonnet 5 $0.00024 $0.00248
Haiku 4.5 $0.00012 $0.00124

Measured 4d ago against content hash cb045e20a60b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

skillpack-check scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

plugin/skills/skillpack-check/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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: full gbrain doctor --fast --json output (filesystem checks).
  • migrations: applied/pending/partial counts from apply-migrations --list.

Exit code:

  • 0 — healthy, nothing to do.
  • 1 — action needed. Read actions[] 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-check for 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.

Action needed (healthy: false)

The actions[] array contains the commands to run, in order. Execute them:

for cmd in $(echo "$REPORT" | jq -r '.actions[]'); do
  eval "$cmd"
done

Common actions[] entries and what they mean:

  • gbrain apply-migrations --yes — A migration is pending or half-finished. Run this (it's idempotent). If it exits status: "partial", the host has non-builtin cron handlers that need plugin registration — follow skills/migrations/v0.11.0.md.
  • gbrain embed --stale — Embeddings are stale.
  • gbrain check-backlinks fix — Dead links or missing back-links.
  • Free-text action (no Run: prefix in the source message) — agent judgment needed. Quote it in the report for the user.

Determine failure (exit 2)

Treat as urgent. Probably means the gbrain binary is missing from $PATH or a required subcommand crashed. Check:

Read the full file on GitHub · 133 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 133 lines · 118 tokens per session scan A cb045e20a60b

Subscribe to this mod's changes

skillpack-check is a skill published in the GitHub repository garrytan/gbrain (29,702 stars, last pushed today), licensed MIT. It adds 118 tokens to every session and 1,240 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.