CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

gbrain-upgrade

Keep gbrain current. When a `gbrain` invocation prints an `UPGRADE_AVAILABLE <old> <new>` marker (or `gbrain self-upgrade --check-only` reports an update), apply it per the configured self_upgrade.mode: notify (prompt the operator with a 4-option question + snooze) or auto (apply silently). The action is always the hardcoded `gbrain self-upgrade` — never a command read from the marker.

Quality

89%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

88%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An excellent operational skill: copy-paste commands in every flow, a clearly sequenced upgrade procedure with validation and failure handling, and a tight security contract (hardcoded action, never parse commands from the marker). Remaining improvements are marginal — version-sensitive playbook pointers and possibly splitting the always-on runbook into a reference.

DimensionReasoningScore

Conciseness

Lean and operational throughout — no concept explanations, every section carries gbrain-specific facts Claude cannot know ("once per 30 minutes per version", snooze escalation "24h → 48h → 7d", exit-code semantics). The deduction is for time-sensitive version-specific material cited inline ("skills/migrations/v0.46.3.0.md", "#5038", "v0.50.0.0.md") rather than placed in an old-patterns/deprecated section, per the guidelines.

4 / 5

Actionability

Fully executable: every flow is driven by copy-paste commands — `gbrain config get self_upgrade.mode`, `gbrain self-upgrade --check-only --json`, `gbrain autopilot pause --reason "upgrade"`, `gbrain upgrade --restart-only --dry-run --json`, `gbrain doctor --only runtime_build_skew,serve_build_drift --json` — plus a ready-to-present 4-option question template and exact one-line report strings for each outcome.

5 / 5

Workflow Clarity

The always-on flow is a numbered 6-step sequence (pause → drain → preview → upgrade → verify → resume) with explicit validation checkpoints (dry-run preview in step 3, per-install `gbrain --version` and doctor checks in step 5) and error-recovery feedback loops (`lock_busy` wait-and-retry, `restart_refused` exit 3 relay, `failed_versions` no-retry). The notify flow confirms a real update via check-only before prompting, and the mutating/batch nature is covered by validation, so no cap applies.

5 / 5

Progressive Disclosure

A single-file skill (no bundle files) with well-organized sections and one-level-deep, clearly signaled external references (the `skills/migrations/` playbooks with a published-repo link, `../conventions/agent-operator-protocol.md`, the upgrades guide). It sits below the anchor-5 example because nothing is split across files — the ~30-line always-on host runbook is inlined and could live in a reference file.

4 / 5

Total

18

/

20

Passed

Description

87%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it states exactly what the skill does, when to run it (with a paste-able marker string), and the security invariant, all in third person without padding. The only gaps are minor — the `off` mode and a few natural trigger synonyms are not covered.

DimensionReasoningScore

Specificity

Names several concrete actions — "prompt the operator with a 4-option question + snooze", "apply silently", "The action is always the hardcoded `gbrain self-upgrade`" — plus concrete detection conditions ("prints an `UPGRADE_AVAILABLE <old> <new>` marker"). It stops short of the comprehensive anchor because the `off` mode, the always-on host procedure, and failure handling are not mentioned.

4 / 5

Completeness

Explicitly answers both questions with concrete trigger phrases: what ("apply it per the configured self_upgrade.mode: notify (prompt the operator with a 4-option question + snooze) or auto (apply silently)") and when ("When a `gbrain` invocation prints an `UPGRADE_AVAILABLE <old> <new>` marker (or `gbrain self-upgrade --check-only` reports an update)"). Not subject to the missing-when cap; it reads like the anchor-5 example.

5 / 5

Trigger Term Quality

Good natural keyword coverage: "Keep gbrain current", "update", "gbrain self-upgrade", and the "UPGRADE_AVAILABLE <old> <new>" marker string a user would paste verbatim. Common variations such as "out of date" or "new version" are absent, so it falls just short of comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

The niche is unambiguous: every trigger and command is scoped to the named tool "gbrain" and its unique "UPGRADE_AVAILABLE" marker, with the hardcoded `gbrain self-upgrade` action. No realistic overlap with other skills; would not fire for the wrong skill.

5 / 5

Total

18

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

relative_links

Relative link issues: 1 suspicious

Warning

Total

14

/

16

Passed

Repository

garrytan/gbrain

Path

skills/gbrain-upgrade/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.