sync-gbrain
Keep gbrain current with this repo's code and refresh agent search guidance in CLAUDE.md. (gstack)
Files2
View on GitHubSKILL.mdskills/memory/sync-gbrain/SKILL.md
GitHubLibrary use: Apply the compatibility and execution contract. Source roles, memory claims, command names, hooks, and integrations are instructions or prerequisites—not installed capabilities.
Sync Gbrain
Keep gbrain current with this repo's code and refresh agent search guidance in CLAUDE.md. (gstack)
Required procedure
Read the complete methodology before performing this skill. It retains the full procedure, examples, constraints, and failure handling.
Procedure topics: When to invoke this skill; /sync-gbrain — Keep gbrain current and teach the agent to use it; User-invocable; Step 1: State probe; Step 1.5: Local engine pre-flight (plan D12); Step 2: Run the orchestrator; Step 3: Code-index health check; Step 3.5: Call-graph health check (offer --dream); index($id) = literal substring (NOT test() regex), matching the lib reader in; cycleCompleted(). A fail/warn that doesn't name this source → "unknown" (don't; mask other-source failures).; Step 4: Refresh ## GBrain Search Guidance block in CLAUDE.md; #2503: on worktree-pinned brains gbrain put can materialize the page as; <slug>.md in the CURRENT directory (the user's repo), and gbrain delete.
Runtime prerequisites
See the dependency ledger and this skill’s records in dependencies.json. Native gstack/ECC CLIs, browsers, hooks, model tools, credentials, and memory stores must be available before invoking their steps. No runtime installation or execution has been performed. CSO requires its trusted helper; do not emulate that helper on the host.
Related skills and principles
- core/gstack-operating-protocol
- developer-experience/plan-tune
- documentation/document-generate
- engineering/codex
- engineering/plan-eng-review
- engineering/review
- memory/context-restore
- memory/context-save
- memory/learn
- memory/setup-gbrain
- project-management/retro
- release/ship
- testing/qa-only
- workflows/gstack-workflow-router
Source provenance
gstack/sync-gbrain/SKILL.md