sync-gbrain

Refresh the gbrain brain-index and agent search guidance in CLAUDE.md.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/AlejandroFigini/artist-portfolio --skill sync-gbrain-alejandrofigini
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sync-gbrain
Source: https://github.com/AlejandroFigini/artist-portfolio/tree/main/.agent/skills/sync-gbrain
Command: npx skills add https://github.com/AlejandroFigini/artist-portfolio --skill sync-gbrain-alejandrofigini

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps gbrain up to date with the latest repo code and refreshes agent search guidance in CLAUDE.md.

Core Features & Use Cases

  • Brain sync: Keeps the in-repo gbrain index current and aligned with the latest code changes and project context.
  • CLAUDE guidance refresh: Re-syncs and updates the agent's search guidance in CLAUDE.md to reflect codebase evolution.
  • Orchestrated automation: Wraps the gstack-gbrain-sync orchestrator with state to manage sessions, telemetry, and feature prompts.

Quick Start

Run /sync-gbrain to refresh gbrain indexes for the current repository.

Frequently Asked Questions about sync-gbrain

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

FAQPage Schema
How do I keep my repository brain index current with the latest code changes?

Running /sync-gbrain aligns the in-repo brain index with recent code changes and updates CLAUDE.md, ensuring the agent's search guidance accurately reflects the latest project state and policy.

What does refreshing agent search guidance in CLAUDE.md actually do?

Refreshing agent search guidance in CLAUDE.md re-syncs the agent's routing instructions to reflect codebase evolution across worktrees, ensuring lookups correctly target the latest project files and policies.

Do I need the gstack orchestrator to sync the brain index?

Yes, syncing the brain index requires the gstack orchestrator and repository access. The orchestrator wraps the sync process to manage session state, telemetry, and feature prompts.

How do I update CLAUDE.md routing instructions after modifying code?

To update CLAUDE.md routing instructions after modifying code, execute /sync-gbrain to automatically refresh the search guidance and align the brain index with your latest worktree updates.

When should I run a brain index sync across my worktrees?

You should run a brain index sync when you update code, docs, or routing configurations across worktrees, ensuring the brain index accurately reflects the latest project state before performing agent lookups.