Registry / garrytan

garrytan/gbrain/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.

Agent skill · version 0.0.0-master.1795335038.g97691b2 · from garrytan/gbrain

Install

npx yarkr-cli add skill:garrytan/gbrain/gbrain-upgrade

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:garrytan/gbrain/gbrain-upgrade
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:garrytan/gbrain/gbrain-upgrade

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:garrytan/gbrain/gbrain-upgrade

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.