sync-gbrain

Synchronize gbrain state with repository changes and refresh CLAUDE.md guidance.

2|Updated May 8, 2026
One-click install
npx skills add https://github.com/xotong/claude-marketplace --skill sync-gbrain-xotong
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sync-gbrain
Source: https://github.com/xotong/claude-marketplace/tree/main/plugins/gstack/skills/sync-gbrain
Command: npx skills add https://github.com/xotong/claude-marketplace --skill sync-gbrain-xotong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps gbrain current with this repo's code and refreshes agent search guidance in CLAUDE.md. Wraps the gstack-gbrain-sync orchestrator with state probing, native code-surface registration, capability checks, and a verdict block. Re-runnable, idempotent.

Core Features & Use Cases

  • Synchronizes gbrain state with repository changes and ensures CLAUDE.md guidance remains up to date.
  • Performs orchestrator wrapping, state probing, capability checks, and structured verdicts to guide subsequent actions.
  • Re-runnable and idempotent to support repeated integrations during development.

Quick Start

Run /sync-gbrain to refresh gbrain context for the current project.

Frequently Asked Questions about sync-gbrain

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

FAQPage Schema
How do I keep gbrain in sync with repo changes and update CLAUDE.md?▼

You can sync gbrain by running a command that probes repository state, registers native code surfaces, performs capability checks, and updates agent search guidance in CLAUDE.md across worktrees.

What does refreshing agent search guidance in CLAUDE.md involve?▼

Refreshing agent search guidance updates CLAUDE.md by re-indexing repository code changes through state probing and capability checks, emitting a structured verdict block to guide subsequent actions.

Can I re-run gbrain synchronization multiple times without causing side effects?▼

Yes, gbrain synchronization is idempotent and re-runnable, allowing repeated executions during development without duplicating state or corrupting worktree configurations.

When should I trigger a gbrain sync for my worktrees?▼

Trigger a gbrain sync when repository changes require re-indexing gbrain and updating associated CLAUDE.md guidance, ensuring agent search remains accurate across all worktrees.

Does gbrain sync require any external dependencies or components?▼

No, gbrain sync operates without external dependencies or components, internally wrapping the gstack-gbrain-sync orchestrator to manage state probing and capability checks.