Skills Agentes

Gbrain Advisor

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.

Solicitaadvisor
Estrellas
28.9k

en todo el repo

Actividad
50

0–100, la ruta de este skill

Actualizado
hace 2 meses

último commit aquí

Commits
1

últimos 90 días

Contexto
1.1k tok

76 tok en reposo

Paquete
1 archivo

4 KB

Instalar

Funciona con cualquier agente que lea SKILL.md

npx -y skills add garrytan/gbrain --skill gbrain-advisor --agent claude-code

Se instala solo en este repositorio.

Qué hace

  • Ejecuta `gbrain advisor --json` y muestra hallazgos priorizados por severidad sobre el estado del brain
  • Detecta drift de versión, migraciones pendientes, jobs estancados, baja cobertura de embeds y skills sin instalar
  • Muestra el comando de arreglo exacto para cada hallazgo y pide confirmación antes de aplicarlo
  • Puede instalarse como checkup semanal vía cron, reportando solo lo nuevo desde la última corrida

Úsalo cuando

  • El usuario pregunta cómo sacarle más provecho a gbrain
  • El usuario pregunta si su brain está bien configurado
  • Se quiere un checkup semanal automático del brain

No lo uses cuando

    Qué lo activa

    Di cualquiera de estas frases y el agente debería cargar este skill.

    • ¿Qué debería hacer para aprovechar mejor mi gbrain?
    • ¿Mi brain está bien configurado?
    • Dame un checkup semanal de mi brain
    • Ejecuta gbrain advisor

    SKILL.md

    En inglés

    gbrain Advisor

    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.

    Contract

    This skill guarantees:

    • Read-only. gbrain advisor never mutates. It computes a ranked list of actions from existing brain state.
    • Print, never execute. You SHOW the user the findings and ASK before running any fix. The user owns every decision.
    • Bounded nagging. On a cadence, surface only what changed or what's critical; don't repeat an ignored low-severity item every run.

    When to run

    • On demand when the user asks "how do I get more out of this brain?"
    • On a weekly cadence via the cron recipe below (even idle brains get a "here's how to run this better" ping).

    How to run it

    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:

    • severitycritical | warn | info
    • title — one-line why-it-matters
    • fix.command_argv — the exact command to fix it (a structured argv)
    • fix.dispatch_id — present when the fix is safe to run via --apply

    What to do with the findings

    1. Read the findings, highest severity first.

    2. Summarize the top 1-3 to the user in their own channel/voice. Lead with any critical item (e.g. pending migrations).

    3. For each, show the fix.command_argv and ask whether to run it.

    4. 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.

    5. Never run a fix the user didn't approve.

    Cron recipe (weekly checkup)

    Install a weekly job via the cron-scheduler skill. Keep the prompt THIN — the job just reads this skill and runs the advisor:

    • Schedule: weekly, one quiet-hours-respecting slot (e.g. Monday 09:00 local).
    • Job prompt: 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.
    • Idempotent: the advisor is read-only, so a double-fire is harmless.

    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.

    Output Format

    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
    
    • One block per finding, highest severity first.
    • Always show the exact fix command and ASK before running it.
    • If nothing is pressing, say so in one line ("brain looks healthy") — don't manufacture work.

    Anti-Patterns

    • Running a fix without asking. The advisor is read-only by contract. Never run --apply (or any fix command) without the user's explicit yes.
    • Dumping the raw JSON at the user. Translate findings into their voice; lead with what matters.
    • Re-nagging ignored low-severity items every run. Use the "new since last run" delta; respect the user's prior non-action.
    • Treating info like critical. Only block/insist on critical findings (pending migrations). info is a gentle nudge.
    • Calling the MCP 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.

    Archivos

    1 archivo en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.

    Antes de instalar

    Requiere el CLI `gbrain` instalado y, para el checkup semanal, la skill `cron-scheduler`.

    Detalles

    Creador
    garrytan
    Categoría
    Productividad
    Licencia
    MIT
    Recursos incluidos
    Solo SKILL.md
    Repositorio
    garrytan/gbrain
    Código fuente
    Ver SKILL.md

    Etiquetas

    Más de garrytan/gbrain

    Este repo incluye 75 skills. Si instalas uno, normalmente ya tienes los demás.

    Setup

    28.9k

    Configura 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
    bases de datos

    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.

    Costo de contexto al activarse
    5k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 días
    productividad

    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.

    Costo de contexto al activarse
    3.2k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 5 días
    bases de datos

    Cuándo y qué recuperar: abre la página del brain de una entidad relevante antes de responder desde memoria.

    Costo de contexto al activarse
    740 tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 1 hora
    productividad

    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.

    Costo de contexto al activarse
    2.6k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 3 días
    productividad

    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.

    Costo de contexto al activarse
    5k tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 4 días
    productividad

    Skills relacionados

    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.

    Costo de contexto al activarse
    2.7k tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 3 meses
    productividad

    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.

    Costo de contexto al activarse
    1.5k tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 3 meses
    productividad

    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.

    Costo de contexto al activarse
    3.7k tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 9 días
    productividad