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
Enruta contenido hacia skills de ingesta especializadas. Detecta el tipo de entrada y delega en idea-ingest, media-ingest o meeting-ingestion.
searchget_pageput_pageadd_linkadd_timeline_entrysync_brainen todo el repo
0–100, la ruta de este skill
último commit aquí
últimos 90 días
20 tok en reposo
12 KB
Funciona con cualquier agente que lea SKILL.md
npx -y skills add garrytan/gbrain --skill ingest --agent claude-codeSe instala solo en este repositorio.
Di cualquiera de estas frases y el agente debería cargar este skill.
Ingest meetings, articles, media, documents, and conversations into the brain.
Filing rule: Read
skills/_brain-filing-rules.mdbefore creating any new page.
[Source: ...] citation with date and provenance.gbrain files upload-raw with automatic size routing.Convention: See
skills/conventions/quality.mdfor Iron Law back-linking.
Every mention of a person or company with a brain page MUST create a back-link
FROM that entity's page TO the page mentioning them. An unlinked mention is a
broken brain. See skills/_brain-filing-rules.md for format.
Every fact written to a brain page must carry an inline [Source: ...] citation.
[Source: User, {context}, YYYY-MM-DD][Source: Meeting "{title}", YYYY-MM-DD][Source: email from {name} re: {subject}, YYYY-MM-DD][Source: {publication}, {URL}, YYYY-MM-DD][Source: X/@handle, YYYY-MM-DD](URL) (include link)[Source: compiled from {sources}]Router note: This skill is a router. For specialized ingestion, see: idea-ingest, media-ingest, meeting-ingestion.
Production agents should detect entity mentions on EVERY inbound message. This is the signal detection loop that makes the brain compound over time.
gbrain search "name" -- does a page already exist?gbrain get <slug>. Use the compiled truth to
inform your response. Update the page if the message contains new information.skills/_brain-filing-rules.md). If the entity
is worth tracking, create a new page with gbrain put <type/slug> and populate
with what you know.gbrain sync --no-pull --no-embed
skills/_brain-filing-rules.md for the full notability gateOriginal thinking is the most valuable signal. Capture exact phrasing -- the user's language IS the insight. Don't paraphrase.
Content the user encounters should be captured in the brain. File by PRIMARY
SUBJECT, not by format (see skills/_brain-filing-rules.md).
Input: URL shared by user, or article mentioned in conversation.
Process:
web_fetch or equivalent)Write to: appropriate directory per filing rules (about a person -> people/,
about a company -> companies/, reusable framework -> concepts/, raw data -> sources/)
Input: URL (YouTube, podcast, etc.) or local audio/video file.
Process:
Write to: media/videos/ or media/podcasts/ with back-links to all entities.
Quality bar:
Input: File path or URL.
Process:
Write to: per filing rules (file by primary subject, not format).
Input: Image file.
Process:
Write to: depends on content -- route to the appropriate workflow above.
Input: Transcript from meeting recording service, or manual notes.
Process:
Write to: meetings/YYYY-MM-DD-short-description.md
What makes a good meeting page:
Input: Tweet, thread, or social media post.
Process:
Write to: media/x/ for daily aggregation, or entity-specific directories
if the post is primarily about a person/company.
Every ingested item must have its raw source preserved for provenance.
Use gbrain files upload-raw for automatic size routing:
gbrain files upload-raw <file> --page <page-slug> --type <type>
.raw/ sidecar directories).redirect.yaml pointer left in the brain repoThe .redirect.yaml pointer format:
target: supabase://brain-files/page-slug/filename.mp4
bucket: brain-files
storage_path: page-slug/filename.mp4
size: 524288000
size_human: 500 MB
hash: sha256:abc123...
mime: video/mp4
uploaded: 2026-04-11T...
type: transcript
Accessing stored files:
gbrain files signed-url <storage-path> -- generate 1-hour signed URL for viewing/sharinggbrain files restore <dir> -- download back to local from cloud storageUse put_raw_data in gbrain to store raw API responses and metadata (JSON, not binary).
When processing multiple items (batch video ingestion, bulk meeting processing, etc.):
The marginal cost of testing 3 items first is near zero. The cost of cleaning up 100 bad pages is enormous.
INGESTED: [title]
==================
Page: [slug]
Type: [person / company / meeting / media / concept]
Source: [source description]
Entities detected: N
- [entity] -> [created / updated] ([slug])
Back-links created: N
Timeline entries: N
Raw source: [preserved at path / uploaded to cloud]
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` configurado y las herramientas search, get_page, put_page, add_link, add_timeline_entry, sync_brain.
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.