skillpack-check
- Repo stars 18,413
- Author updated Live
- Author repo gbrain
- Domain
- Other
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 92 / 100 · audit passed
- Author / version / license
- @garrytan · v1.0.0 · no license declared
- Token usage
- Lean
- Setup complexity
- Guided setup
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No special requirements
- Permissions
-
- Read-only
- Write / modify
- Shell exec
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: skillpack-check
description: | Running gbrain skillpack-check returns a JSON report with: Exit code alone tells you if anythi…
category: other
runtime: no special runtime
---
# skillpack-check output preview
## PART A: Task fit
- Use case: | Running gbrain skillpack-check returns a JSON report with: 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. runs entirely locally. Works with Claude Code, Cursor, Cline and 23 more..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Contract / When to run / What to do with the output” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “| Running gbrain skillpack-check returns a JSON report with: 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. runs entirely locally. Works with Claude Code, Cursor, Cline and 23 more.”.
- **02** When the source has headings, the agent prioritizes “Contract / When to run / What to do with the output” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files, run shell commands.
Start with a small task and check whether the result follows “Contract / When to run / What to do with the output”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: skillpack-check
description: | Running gbrain skillpack-check returns a JSON report with: Exit code alone tells you if anythi…
category: other
source: garrytan/gbrain
---
# skillpack-check
## When to use
- | Running gbrain skillpack-check returns a JSON report with: Exit code alone tells you if anything is wrong; surface a…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Contract / When to run / What to do with the output” and keep inference separate from source facts.
- read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "skillpack-check" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Contract / When to run / What to do with the output
rules -> SKILL.md triggers / order / output contract
runtime -> no special runtime | read files, write/modify files, run shell commands | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} 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.
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 exitsstatus: "partial", the host has non-builtin cron handlers that need plugin registration — followskills/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:
which gbrainreturns a pathgbrain --versionexits 0~/.gbrain/is accessible
Output format
{
"version": "0.11.1",
"ts": "2026-04-18T12:34:56.789Z",
"healthy": false,
"summary": "gbrain skillpack needs attention: 1 action(s) — gbrain apply-migrations --yes",
"actions": ["gbrain apply-migrations --yes"],
"doctor": {
"exit_code": 1,
"checks": [
{ "name": "minions_migration", "status": "fail", "message": "MINIONS HALF-INSTALLED (partial migration: 0.11.0). Run: gbrain apply-migrations --yes" }
]
},
"migrations": {
"applied_count": 0,
"pending_count": 0,
"partial_count": 1,
"stdout": "..."
}
}
Anti-Patterns
- ❌ Running without
--quietin a cron that emails its output — you'll get the full JSON blob in every daily email. Use--quietin crons. - ❌ Ignoring exit code 2. A crashed doctor is worse than a failing check because you don't even know what's wrong.
- ❌ Running on every chat turn. Once per hour (or on user request) is plenty.
- ❌ Treating warnings as failures. Only
failstatus needs action;warnis informational.
Output Format
The skill itself doesn't write files; it reports the CLI output verbatim to the user (or to the agent's briefing pipeline). One-line summary first, then the action list, then (only if relevant) the full JSON for debugging.
Related
gbrain doctor— the underlying filesystem + DB check. skillpack-check composes this.gbrain apply-migrations --list— the migration status view.skills/migrations/v0.11.0.md— the host-agent instruction manual for resolvingpending-host-work.jsonlitems.docs/guides/minions-fix.md— troubleshooting a half-migrated install.
Decide Fit First
Design Intent
How To Use It
Boundaries And Review