skillpack-check

Check GBrain installation health via filesystem checks and migration state, outputting JSON reports with exit codes.

1|Updated May 9, 2026
One-click install
npx skills add https://github.com/weiping/gbrain-cn --skill skillpack-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skillpack-check
Source: https://github.com/weiping/gbrain-cn/tree/main/skills/skillpack-check
Command: npx skills add https://github.com/weiping/gbrain-cn --skill skillpack-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents silent failures in your GBrain deployment by quickly determining whether migrations, embeddings, and core maintenance tasks are healthy and up to date.

Core Features & Use Cases

  • Health reporting for the agent: Produces an agent-readable JSON report with filesystem checks and migration status so an orchestrator can decide what to do next.
  • Actionable remediation plan: Outputs an ordered actions[] list of safe remediation commands (or escalates when it cannot determine health).
  • Cron-friendly operations: Supports quiet, exit-code-driven scheduled checks while still enabling full debugging output on demand.

Quick Start

Run skillpack-check to get a JSON health report and, if needed, receive the exact remediation commands to restore GBrain to a healthy state.

Frequently Asked Questions about skillpack-check

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

FAQPage Schema
How do I check if my GBrain deployment is healthy?

To check your GBrain deployment health, run a filesystem check and read the migration application state. This produces a deterministic JSON health report with a summary, recommended actions, and migration counts to verify system status.

How can I automate GBrain health checks using cron?

You can automate GBrain health checks using cron by running the check in a quiet, exit-code-driven mode. It returns correct exit codes for scheduled morning-briefing runs, allowing automated pass/fail gating without verbose output.

What is included in the GBrain JSON health report?

The GBrain JSON health report includes a status summary, an ordered actions list of safe remediation commands, doctor output, and migration counts. This evidence-based output helps orchestrators decide the next steps.

Does the GBrain health check provide remediation commands for fixing issues?

Yes, the GBrain health check outputs an ordered actions list of safe remediation commands to restore the system. If it cannot determine health automatically, it escalates the issue for manual intervention.

Can I use GBrain health checks for CI-style gating?

Yes, GBrain health checks support CI-style gating by providing a quick pass/fail result with evidence. The deterministic JSON report and correct exit codes allow automated pipelines to block or proceed based on system health.

Why do my GBrain migrations fail silently during scheduled runs?

GBrain migrations fail silently when health checks are not verifying the migration application state. Running a filesystem check and reading migration counts produces a JSON report that prevents these silent deployment failures.