sync-gbrain

Synchronize gbrain artifacts with the repository and refresh CLAUDE.md search guidance.

Updated May 7, 2026
One-click install
npx skills add https://github.com/TumeloRamaphosa/StudEx-Valley-OS --skill sync-gbrain-tumeloramaphosa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sync-gbrain
Source: https://github.com/TumeloRamaphosa/StudEx-Valley-OS/tree/main/.claude/skills/gstack/sync-gbrain
Command: npx skills add https://github.com/TumeloRamaphosa/StudEx-Valley-OS --skill sync-gbrain-tumeloramaphosa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps gbrain up to date with the latest code and refreshes the agent search guidance in CLAUDE.md so new or changed files are discoverable and recommendations stay aligned with this repo’s current structure.

Core Features & Use Cases

  • Refreshes gbrain artifacts for this repo: Re-runs the gstack-gbrain-sync orchestration with state probing and capability checks to update the knowledge surface.
  • Validates indexing prerequisites: Performs native code-surface registration, verifies search-related capabilities, and produces a clear verdict block to confirm what is current.
  • Refreshes CLAUDE.md guidance: Updates agent search guidance in CLAUDE.md so future “gbrain search” prompts route users to the right approach.

Quick Start

Run the command: sync-gbrain.

Frequently Asked Questions about sync-gbrain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I re-index my repository for semantic code search after making changes?

To re-index your repository for semantic code search, run an idempotent sync orchestration that probes state, checks capabilities, and registers native code surfaces to refresh the gbrain knowledge artifacts.

Why does my agent search return missing or irrelevant results from the codebase?

Agent search returns irrelevant results when gbrain artifacts are out of sync with your current codebase, requiring a repository re-index and a refresh of agent search guidance in CLAUDE.md.

What is the best way to update CLAUDE.md guidance for agent search routing?

The best way to update CLAUDE.md guidance is by running an idempotent gbrain sync that re-indexes the repository codebase and regenerates the agent search routing instructions to match current code.

Do I need to validate indexing prerequisites before refreshing gbrain artifacts?

Yes, refreshing gbrain artifacts requires validating indexing prerequisites by performing native code-surface registration and verifying search-related capabilities before producing a clear verdict block.

Can I run repository indexing repeatedly without duplicating gbrain artifacts?

Yes, repository indexing uses idempotent orchestration with state probing, ensuring repeated sync runs produce the exact same gbrain index and guidance matching the latest code without duplication.