What problem does it solve? Code search indexes and agent routing guidance drift out of date as a repository changes, causing semantic search tools like gbrain to miss symbols and agents to give stale answers. This Skill re-indexes the repo into gbrain and refreshes the search guidance section in CLAUDE.md so code lookup stays accurate. ## Core Features & Use Cases - GBrain Re-indexing: Wraps the gstack-gbrain-sync orchestrator to probe, register the native code surface, run capability checks, and emit a verdict block; the run is idempotent and re-runnable. - CLAUDE.md Guidance Refresh: Updates the GBrain Search Guidance section so agents know when to prefer gbrain search/query over Grep and when to use code-def, code-refs, and code-callers. - Session & Config Preamble: Detects session kind (interactive, headless, spawned, Conductor), handles telemetry/proactive/routing one-time prompts, and reports artifacts sync mode. - Use Case: After a large refactor, an agent's semantic search stops finding new functions. Invoke this Skill to re-index the worktree, pin it via .gbrain-source, and restore accurate symbol-aware code lookup. ## Quick Start Ask the agent to sync gbrain and re-index this repository so code search finds the latest changes.