skillpack-check

Check gbrain skillpack health and output remediation commands as JSON.

5|1|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/GYF0311/lorekit --skill skillpack-check-gyf0311
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skillpack-check
Source: https://github.com/GYF0311/lorekit/tree/main/brain/skills/skillpack-check
Command: npx skills add https://github.com/GYF0311/lorekit --skill skillpack-check-gyf0311

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents silent failures in a gbrain setup by reporting whether the skillpack is healthy and what remediation commands to run before things drift out of date.

Core Features & Use Cases

  • Health audit for hosts: Produces an agent-readable JSON report (including filesystem/DB checks via gbrain doctor --fast --json and migration status via gbrain apply-migrations --list).
  • Actionable remediation: Returns an actions[] array containing the exact commands needed when the system is unhealthy (e.g., migrations, embedding staleness, backlink repair).
  • Cron-friendly operation: Supports --quiet for routine checks while using exit codes (0/1/2) to gate alerts and debugging.

Quick Start

Run gbrain skillpack-check for a full JSON health report, or run gbrain skillpack-check --quiet in a daily cron to only surface a brief summary when exit != 0.

Frequently Asked Questions about skillpack-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check gbrain skillpack health and identify required remediation for a running host?

Run gbrain skillpack-check to verify gbrain skillpack health and identify required remediation for a running host. It composes gbrain doctor --fast --json and gbrain apply-migrations --list into a single deterministic JSON report with clear exit-code semantics.

How does the JSON health report handle silent failures in a gbrain setup?

The JSON health report prevents silent failures in a gbrain setup by returning an actions[] array containing the exact remediation commands needed when the system is unhealthy, such as migrations, embedding staleness, and backlink repair.

Can I use gbrain skillpack-check for daily cron monitoring and CI-style verification?

Yes, you can use gbrain skillpack-check for daily cron monitoring and CI-style verification. Run gbrain skillpack-check --quiet in a daily cron to only surface a brief summary when exit codes indicate a non-zero failure state.

What do the exit codes mean when running a gbrain health audit for hosts?

Exit codes 0, 1, and 2 gate alerts and debugging during a gbrain health audit for hosts. A non-zero exit code surfaces a brief summary in quiet mode, allowing you to identify filesystem, database, or migration status issues.

Does gbrain skillpack-check require any dependencies to apply migrations and list status?

No dependencies are required to apply migrations and list status. The tool directly composes gbrain apply-migrations --list and gbrain doctor --fast --json to check filesystem and DB status without external components.

Why does gbrain skillpack-check report embedding staleness and backlink repair actions?

gbrain skillpack-check reports embedding staleness and backlink repair actions to prevent things from drifting out of date. It provides actionable remediation commands within the JSON report before the system becomes unhealthy.