What problem does it solve?
It keeps GBrain up to date for this repo by syncing the brain index and refreshing the agent search guidance in CLAUDE.md, so the assistant can find the right code artifacts and follow the latest navigation conventions.
Core Features & Use Cases
- Idempotent repo synchronization: Re-runnable sync that probes state, checks capabilities, and produces a deterministic refresh effect without requiring manual cleanup.
- GBrain indexing refresh: Runs the gstack brain sync flow to ensure semantic code search reflects the current repository contents.
- Navigation and capability verdicts: Performs state probing, native code-surface registration, capability checks, and returns a verdict block that tells you whether to prefer gbrain search or fallback strategies.
- Use case: When “gbrain search isn’t finding things” after a refactor, dependency update, or documentation movement, run this skill to re-index and restore reliable search behavior for the repo.
Quick Start
Use the sync-gbrain skill when you want to refresh gbrain indexing and update the repo search guidance after changes, for example by issuing the command: sync gbrain.