Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计提醒

skillpack-check技能包检查

Agent Skill

skillpack-check 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

636

周安装

26

GitHub Stars

12,506

下载量

206
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:skillpack-check(技能包检查)
来源仓库:https://github.com/garrytan/gbrain
仓库路径:skills/skillpack-check
安装命令:
npx skills add https://github.com/garrytan/gbrain --skill skillpack-check
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/garrytan/gbrain --skill skillpack-check

简介

skillpack-check 用于每日检查 GitHub 仓库健康状态,包括迁移、嵌入和反向链接问题。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 等宿主中的自动化维护任务。
  • 核心能力是通过 JSON 输出提供健康报告,并在发现问题时执行修复命令。
  • 安装命令为 npx skills add https://github.com/garrytan/gbrain --skill skillpack-check,需确认 gbrain 工具可用性。
  • 使用前建议核实是否执行系统命令或读取敏感配置文件。

SKILL.md

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:

  1. which gbrain returns a path
  2. gbrain --version exits 0
  3. ~/.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 --quiet in a cron that emails its output — you'll get the full JSON blob in every daily email. Use --quiet in 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 fail status needs action; warn is 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 resolving pending-host-work.jsonl items.
  • docs/guides/minions-fix.md — troubleshooting a half-migrated install.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.83%
按下载量换算74

Claude

30.94%
按下载量换算64

Cursor

20.51%
按下载量换算42

Gemini CLI

8.54%
按下载量换算18

安全审计

Gen Agent Trust Hub

可疑

Socket

可疑

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills