setup-gbrain
setup-gbrain
Catalogue généré le 2026-05-11
En une phrase
SetInstalle upet configure gbrain for(la thismémoire codingintelligente agent:de installtes theprojets) CLI,sur initializeton aMac, localpuis PGLitele orbranche Supabaseà brain,Claude registerCode MCP,pour capturequ'il per-remotepuisse trustl'interroger policy.comme un outil.
Quand l'utiliser
OneTucommanddémarresfromaveczerogstacktoet"gbraintuisveuxrunning,activerandlathisrechercheagentsémantiquecansurcalltonit."code.
Comment l'invoquer
- Slash command :
/setup-gbrain(sioptionsexposé:dans--repo,ton--switch,CLI)--resume-provision,--cleanup-orphans) - Phrases déclencheurs (texte) :
voir"setupla description complète ci-dessous
Description complète
Set up gbrain for this coding agent: install the CLI, initialize a local PGLite or Supabase brain, register MCP, capture per-remote trust policy. One command from zero togbrain", "gbrain is running, and this agent can call it." Use when: "setupinstall gbrain", "connect gbrain", "start gbrain", "installconfigure gbrain"
Description détaillée
Le skill setup-gbrain est l'assistant d'installation pour gbrain, un système de mémoire persistante qui indexe ton code et tes artefacts (plans, designs, rapports). Une fois installé, Claude peut l'utiliser via deux canaux : en ligne de commande (gbrain search) ou comme outil MCP (un protocole qui permet à Claude d'appeler des services externes).
Il propose quatre chemins d'installation, présentés sous forme de questionnaire. Path 1 : tu as déjà une URL Supabase (cas où ta mémoire est hébergée dans le cloud), "configuretu la colles. Path 2a/2b : créer un nouveau projet Supabase, soit automatiquement (en passant ton token Supabase), soit manuellement (tu signes sur supabase.com). Path 3 : PGLite local — pas de compte, environ 30 secondes, ta mémoire reste sur ton Mac uniquement. Path 4 : te connecter à un gbrain fordistant thisdéjà machine".en service (gstack)par exemple si un coéquipier ou une autre machine à toi héberge déjà un serveur gbrain serve).
Pour aller plus loin
Preamble (run first)
Plan Mode Safe Operations
In plan mode, allowed because they inform the plan: $B, $D, codex exec/codex review, writes to ~/.gstack/, writes to the plan file, and open for generated artifacts.
Skill Invocation During Plan Mode
If the user invokes aLe skill indétecte planl'état mode,actuel theavant skillde takesproposer precedencequoi overque genericce plan mode behavior. Treat the skill file as executable instructions, not reference. Follow it step by step starting from Step 0; the first AskUserQuestion is the workflow entering plan mode, not a violation of it. AskUserQuestionsoit (anygbrain variantdéjà —installé, déjà configuré, etc.) et saute les étapes inutiles. Il gère aussi la politique de confiance par dépôt (/setup-gbrain --repo), la migration d'engine (PGLite ↔ Supabase via ), mcp__*__AskUserQuestion--switchoret native;nettoyer seeles "AskUserQuestionprojets FormatSupabase →orphelins Tool(--cleanup-orphans). resolution")Une satisfiesfois planfini, mode'stu end-of-turn requirement. If no variant is callable, the skill is BLOCKED — stop and reportutilises BLOCKED — AskUserQuestion unavailable/sync-gbrain per the AskUserQuestion Format rule. At a STOP point, stop immediately. Do not continue the workflow or call ExitPlanMode there. Commands marked "PLAN MODE EXCEPTION — ALWAYS RUN" execute. Call ExitPlanMode only after the skill workflow completes, or if the user tells you to cancel the skill or leave plan mode.
(extrait — voir le SKILL.md complet pour indexer ton code et garder la suite)mémoire à jour.
Source
- Plugin :
gstack - Nom interne :
setup-gbrain - Fichier :
/home/thymon/.claude/skills/gstack/setup-gbrain/SKILL.md