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
Responde preguntas usando el conocimiento del brain con búsqueda en 3 capas, síntesis y propagación de citas; úsalo cuando el usuario pregunte, busque o necesite información del brain.
searchqueryget_pagelist_pagesget_backlinkstraverse_graphget_timelineen todo el repo
0–100, la ruta de este skill
último commit aquí
últimos 90 días
48 tok en reposo
8 KB
Funciona con cualquier agente que lea SKILL.md
npx -y skills add garrytan/gbrain --skill query --agent claude-codeSe instala solo en este repositorio.
Di cualquiera de estas frases y el agente debería cargar este skill.
Answer questions using the brain's knowledge with 3-layer search and synthesis.
Memory verbs (MEMORY_VERBS v1, gbrain ≥ 0.43). When connected to a brain over MCP, prefer the seven frozen memory verbs for memory work — they carry provenance, evidence, and a server-enforced token budget:
recall(query | entity, budget_tokens)— the budget-packed memory read. Use it instead of baresearchfor "what do we know that we SAVED about X".entity(name)— a zero-LLM person/company/project card (aliases, last-touched, open threads, top edges). Use it instead ofget_page+get_backlinkswhen you just need the card.synthesize(question)— the explicitly-expensive cross-page answer; the heavy version ofquery. Reach for it only when the answer must combine evidence across pages. Fall back tosearch/query/get_pagewhen the verbs aren't on the surface (pre-0.43 servers;--surface fullincludes the verbs alongside every other op). Seedocs/protocol/MEMORY_VERBS_v1.md.
This skill guarantees:
Answers should include:
Search returns chunks, not full pages. Read the excerpts first before deciding whether to load a full page.
gbrain search / gbrain query return ranked chunks with context snippets.
These are often enough to answer the question directly.gbrain get <slug> to load the full page when a chunk confirms the
page is relevant and you need more context (e.g., compiled truth, timeline).When multiple sources provide conflicting information, follow this precedence:
When sources conflict, note the contradiction with both citations. Don't silently pick one.
When referencing brain pages in your answer, propagate inline citations:
[Source: ...] citations, propagate them so
the user can trace facts to their originFor relationship questions ("who knows who at X?", "connections between A and B", "who works at Acme?", "who attended the standup?"), use the graph layer instead of full-text search:
gbrain graph-query <slug> --type <link_type> --depth N --direction in|out|bothattended, works_at, invested_in, founded, advises, mentions, source--direction in answers "who points to X?" (e.g., who works at company X)--direction out answers "what does X point to?" (default)--depth N controls multi-hop traversal (default 5)Examples:
gbrain graph-query companies/acme --type works_at --direction ingbrain graph-query meetings/demo-day-w26 --type attended --direction outgbrain graph-query people/emily --type advises --direction outgbrain graph-query people/alice --type attended --depth 2Combine with gbrain query for queries that need BOTH semantic similarity AND
graph structure. Search results are ranked with a small backlink boost so well-
connected entities surface higher.
If search results seem off (wrong results, missing known pages, irrelevant hits):
gbrain doctor --json to check index healthgbrain search) vs hybrid search (gbrain query)
for the same query to isolate whether the issue is embedding-relatedReproducido de garrytan/gbrain bajo licencia MIT. Leer esta página en markdown.
2 archivos en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.
Requiere conexión MCP a un servidor gbrain (idealmente ≥0.43 para los memory verbs recall/entity/synthesize).
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.
Verifica una afirmación o cita académica rastreándola desde la publicación → metodología → datos crudos → replicación independiente, y genera una página cerebro con el veredicto.
Traza la evolución de una idea en el brain: primera mención, mejor articulación, conceptos relacionados, reversales, contradicciones, ramas abandonadas y versión vigente.
Investigación web aumentada con el brain: envía contexto a Perplexity, que busca con citas y devuelve qué es NUEVO frente a lo que el brain ya conoce.