What problem does it solve? When gbrain search stops finding code in a repository, the index is stale or the worktree was never pinned. This Skill re-syncs the repo with gbrain, registers the native code surface, and updates the search guidance in CLAUDE.md so agent code lookup works again. ## Core Features & Use Cases - State probing and capability checks: Detects gbrain configuration, worktree pins via .gbrain-source, remote-MCP mode, and artifacts sync state before acting. - Idempotent re-sync: Wraps the gstack-gbrain-sync orchestrator so it can be re-run safely without duplicating registrations. - CLAUDE.md guidance refresh: Updates the GBrain Search Guidance section so agents know when to prefer gbrain search over Grep. - Use Case: After cloning a new worktree or noticing gbrain search returns nothing for recent code, run the sync to pin the worktree, re-index, and restore semantic code lookup. ## Quick Start Ask the agent to sync gbrain and re-index this repository so code search works again.