sync-gbrain

Sync gbrain's knowledge base with repository code and refresh CLAUDE.md search guidance.

Updated Jun 4, 2026
One-click install
npx skills add https://github.com/Manzueti/cyberdart --skill sync-gbrain-manzueti
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sync-gbrain
Source: https://github.com/Manzueti/cyberdart/tree/main/sync-gbrain
Command: npx skills add https://github.com/Manzueti/cyberdart --skill sync-gbrain-manzueti

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill ensures that gbrain is up-to-date with the latest code in the repository and refreshes the agent search guidance in CLAUDE.md. It wraps the cyberdart-gbrain-sync orchestrator with state probing, native code-surface registration, capability checks, and a verdict block.

Core Features & Use Cases

  • Code Sync: Keeps gbrain's knowledge in sync with the latest codebase.
  • Search Guidance Refresh: Updates the search guidance in CLAUDE.md for the agent.
  • State Probing and Registration: Checks the state of gbrain and registers native code surfaces.
  • Capability Checks: Verifies the capabilities of gbrain and provides a verdict.

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 keep my AI coding agent's knowledge base in sync with the latest repository code?

To sync gbrain with repository code, this Skill executes state probing, native code-surface registration, and capability checks. It requires Bash, Read, Write, Edit, Glob, Grep, and AskUserQuestion tools to wrap the orchestrator and refresh CLAUDE.md search guidance.

What does updating agent search guidance in CLAUDE.md involve?

Updating agent search guidance in CLAUDE.md involves refreshing the file with the latest repository code context. This Skill ensures the agent knows where and how to search by syncing gbrain's knowledge base and writing updated guidance directives into the CLAUDE.md file.

How to sync gbrain with a repository using a command line script?

To sync gbrain with a repository, run the command "sync gbrain". This triggers the Skill's scripts to run state probing, verify capabilities, register code surfaces, and output a verdict block confirming the knowledge base is up-to-date with the latest codebase.

Do I need specific tools to run code sync and state probing for gbrain?

Yes, code sync and state probing require Bash, Read, Write, Edit, Glob, Grep, and AskUserQuestion tools. These dependencies are necessary for the Skill to execute scripts, scan the repository, update the knowledge base, and interact with the user during the sync process.

Why does my AI agent have outdated knowledge of my current codebase?

An AI agent has outdated knowledge of a codebase when its internal knowledge base is not synced with recent repository changes. Running a code sync process updates gbrain's state, registers new native code surfaces, and refreshes CLAUDE.md guidance to reflect the latest code.

Can I use this code sync Skill without an existing CLAUDE.md file?

Using this code sync Skill without an existing CLAUDE.md file is not recommended because the Skill is designed to refresh search guidance within it. The sync process relies on CLAUDE.md to write updated agent directives after probing gbrain's state and registering code surfaces.