sync-gbrain

Synchronize the gbrain knowledge base with the latest codebase and refresh CLAUDE.md search guidance.

127k|19.1k|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/garrytan/gstack --skill sync-gbrain-garrytan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sync-gbrain
Source: https://github.com/garrytan/gstack/tree/main/sync-gbrain
Command: npx skills add https://github.com/garrytan/gstack --skill sync-gbrain-garrytan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gstack, and includes scripts (resource) components.

What problem does it solve?

This Skill ensures that gbrain is updated with the latest code and maintains up-to-date agent search guidance in CLAUDE.md.

Core Features & Use Cases

  • Code Synchronization: Regularly syncs gbrain with the latest codebase.
  • Agent Guidance Refresh: Updates agent search guidance in CLAUDE.md.
  • Use Case: Ideal for developers who want to ensure that their gbrain agent has access to the most current information and can provide accurate search results.

Quick Start

To sync gbrain and refresh the agent guidance, use 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 sync my codebase with a gbrain knowledge base for agent search?

To sync your codebase with a gbrain knowledge base, use the /sync-gbrain command. This Skill updates gbrain with the latest code and refreshes agent search guidance in CLAUDE.md to ensure accurate search results.

Why does my gbrain agent return outdated code search results?

Your gbrain agent returns outdated code search results because the knowledge base is not synced with the latest codebase. Running /sync-gbrain refreshes the knowledge base and updates the search guidance in CLAUDE.md.

Do I need gstack to refresh agent guidance in CLAUDE.md?

Yes, you need gstack installed and configured to refresh agent guidance in CLAUDE.md. The /sync-gbrain Skill requires gstack as a dependency to properly synchronize the gbrain knowledge base and update agent search guidance.

What is the best way to keep gbrain agent search guidance up to date during software development?

The best way to keep gbrain agent search guidance up to date is to regularly run the /sync-gbrain command. This synchronizes the gbrain knowledge base with your latest codebase and refreshes the agent search guidance in CLAUDE.md.

When should I not use code synchronization for gbrain?

You should not use code synchronization for gbrain if your codebase has not changed since the last sync or if the gstack dependency is not properly configured. Running /sync-gbrain without code changes or proper configuration will not yield meaningful updates.

Can I update agent search guidance in CLAUDE.md manually instead of using a sync command?

You can update agent search guidance in CLAUDE.md manually, but using the /sync-gbrain command ensures the gbrain knowledge base is properly synchronized with your codebase. Manual updates risk missing critical codebase changes needed for accurate agent searches.