Download for macOS
Skill

sync-gbrain

@garrytan Updated 2026-08-31

Keep gbrain current with this repo's code and refresh agent search guidance in CLAUDE.md. (gstack)

Install

git clone https://github.com/garrytan/gstack /tmp/gstack && ln -s /tmp/gstack/sync-gbrain ~/.claude/skills/sync-gbrain

From README

When to invoke this skill Wraps the gstack-gbrain-sync orchestrator with state probing, native code-surface registration, capability checks, and a verdict block. Re-runnable, idempotent. Use when: "sync gbrain", "refresh gbrain", "re-index this repo", "gbrain search isn't finding things". Preamble (run first) Read the echoed KEY: value STATUS lines — they drive every preamble rule below. Degraded mode: if SKILLSTARTPROTO: 1 is missing from the output (script absent, stale , or a different protocol number), apply safe defaults: treat SESSIONKIND as interactive, do NOT assume Conductor, skip onboarding/telemetry steps (their gates are marker-based, so consent and onboarding prompts are DEFERRED to the next healthy run — never lost), tell the user to run ./ or /gstack-upgrade, and proceed with their task. Note SESSIONID and TELSTART from the output — the Telemetry step needs them at skill end.