Setup
28.9kConfigura GBrain con auto-aprovisionamiento de Supabase o PGLite, inyección en AGENTS.md y primera importación.
- Costo de contexto al activarse
- 7.4k tok
- Tamaño del paquete
- 1 archivo
- Última actualización
- hace 4 días
Coaching proactivo para aprovechar gbrain al máximo: corre `gbrain advisor` y avisa de drift de versión, migraciones pendientes y más. Es de solo lectura y siempre pide permiso antes de arreglar.
advisoren todo el repo
0–100, la ruta de este skill
último commit aquí
últimos 90 días
76 tok en reposo
4 KB
Funciona con cualquier agente que lea SKILL.md
npx -y skills add garrytan/gbrain --skill gbrain-advisor --agent claude-codeSe instala solo en este repositorio.
Di cualquiera de estas frases y el agente debería cargar este skill.
Convention: See
skills/conventions/brain-first.md. This skill is the proactive voice of the brain — it tells the owner how to run it better.
This skill guarantees:
gbrain advisor never mutates. It computes a ranked list of
actions from existing brain state.gbrain advisor --json
Exit code is the severity gate (E2): 0 clean, 1 warn, 2 critical. The JSON
payload is { version, generated_at, worst, findings: [...] }. Each finding has:
severity — critical | warn | infotitle — one-line why-it-mattersfix.command_argv — the exact command to fix it (a structured argv)fix.dispatch_id — present when the fix is safe to run via --applyRead the findings, highest severity first.
Summarize the top 1-3 to the user in their own channel/voice. Lead with any
critical item (e.g. pending migrations).
For each, show the fix.command_argv and ask whether to run it.
If they say yes and the finding has a fix.dispatch_id, you may run it
locally with an explicit confirm:
gbrain advisor --apply <dispatch_id>
--apply is local-only, runs the fix as a structured argv (no shell), and
confirms first. Findings without a dispatch_id are not auto-runnable — run
their fix.command_argv yourself after the user agrees.
Never run a fix the user didn't approve.
Install a weekly job via the cron-scheduler skill. Keep the prompt THIN — the
job just reads this skill and runs the advisor:
Read skills/gbrain-advisor/SKILL.md and run gbrain advisor --json. If anything is critical or new since last run, ping me with the top items and the exact fix commands. Ask before fixing.The advisor records a local run history, so on each fire you can tell the user what is new since last run rather than re-listing everything.
When you surface advisor findings to the user, lead with severity and keep it scannable:
🧠 gbrain checkup — 2 things worth your attention
CRITICAL Schema migrations are pending.
Fix: gbrain apply-migrations --yes (want me to run it?)
WARN gbrain 0.44 is available (you're on 0.43).
Fix: gbrain upgrade
fix command and ASK before running it.--apply (or any fix command) without the user's explicit yes.info like critical. Only block/insist on critical findings
(pending migrations). info is a gentle nudge.advisor op for workspace install state. Over MCP the
advisor returns brain-state signals only; uninstalled-skill findings are a
local-CLI concern.Reproducido de garrytan/gbrain bajo licencia MIT. Leer esta página en markdown.
1 archivo en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.
Requiere el CLI `gbrain` instalado y, para el checkup semanal, la skill `cron-scheduler`.
Este repo incluye 75 skills. Si instalas uno, normalmente ya tienes los demás.
Configura GBrain con auto-aprovisionamiento de Supabase o PGLite, inyección en AGENTS.md y primera importación.
Chequeos de salud del brain: aplicación de back-links, auditoría de citas, validación de filing, detección de info obsoleta, páginas huérfanas y benchmarks.
Migra un brain de gbrain-base a la taxonomía de 14 tipos canónicos de gbrain-base-v2 usando gbrain onboard --check y el handler Minion unify-types.
Cuándo y qué recuperar: abre la página del brain de una entidad relevante antes de responder desde memoria.
Operaciones del brain: búsqueda primero, ciclo leer-enriquecer-escribir, atribución de fuentes, enriquecimiento ambiental y back-linking. Leer antes de cualquier interacción con el brain.
Importa exports de ChatGPT, Claude y Perplexity y transcripciones de sesiones como páginas fechadas en conversations/, valida y extrae hechos, y mantiene el archivo sin huecos con detección y backfill.
Archivista universal para archivos personales (Dropbox/B2/Gmail-takeout/disco local). Filtra contenido de alto valor y lo muestra de forma interactiva; exige un allow-list scan_paths explícito en gbrain.yml.
Transforma volcados de texto crudo de artículos en el brain en páginas estructuradas con resumen ejecutivo, citas textuales, insights clave, por qué importa y referencias cruzadas.
Filtro de calidad previo a la escritura para todo lo que entra al brain: nada de cp/mv en crudo. Resuelve entidades con nombre por registro y aplica el árbol de decisión de dedup leyendo el primer resultado.