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
Guarda cualquier pensamiento o contenido en el brain con un solo comando de CLI, reemplazando la duda entre `put_page`, commit-then-sync o autopilot-wait.
Reemplaza a: gbrain put, commit-then-sync / autopilot-wait
en todo el repo
0–100, la ruta de este skill
último commit aquí
últimos 90 días
49 tok en reposo
4 KB
Funciona con cualquier agente que lea SKILL.md
npx -y skills add garrytan/gbrain --skill capture --agent claude-codeSe instala solo en este repositorio.
Di cualquiera de estas frases y el agente debería cargar este skill.
When the user wants to save a thought, an article snippet, a transcript
fragment, or any text into their brain, run gbrain capture. Don't reach
for gbrain put or commit-then-sync — capture is the front door and it
handles both local and thin-client installs the same way.
--file PATH, or --stdin).<sync.repo_path>/<slug>.md. Receipt printed to stdout.gbrain query,
gbrain search, or any MCP-bound agent.inbox/YYYY-MM-DD-<hash8> slug. The
daemon's 24h content-hash dedup catches re-captures.remote: false).
Untrusted webhook ingestion goes through POST /ingest, not this verb.gbrain capture resolves to a put_page call (local) or a remote MCP call
(thin-client). Either way the page lands in the DB AND on disk in one move
via the v0.38 write-through plumbing. The default slug is
inbox/YYYY-MM-DD-<hash8> so captures cluster in a predictable triage
location.
gbrain capture "the thought I want to remember"
gbrain capture --file ./notes/today.md
echo "from a pipe" | gbrain capture --stdin
gbrain capture "..." --slug daily/2026-05-21
gbrain capture "..." --type idea --source voice-whisper
gbrain capture "..." --quiet # script-friendly: prints just the slug
gbrain capture "..." --json # structured output for agents
inbox/YYYY-MM-DD-<hash8> (stable for same content; the daemon's 24h dedup catches re-captures).note (override with --type idea etc.).captured_via: capture-cli, captured_at: <ISO>.…).Default prints a 5-line receipt:
captured:
slug: inbox/2026-05-21-abcdef12
status: created_or_updated
content_hash: f3a7b9c0d1e2f3a4…
file: /Users/you/brain/inbox/2026-05-21-abcdef12.md
captured_at: 2026-05-21T04:15:00.000Z
--quiet prints only the slug (use for SLUG=$(gbrain capture "..." --quiet)).
--json prints structured output for downstream tools.
gbrain put. That's the old per-page primitive that
doesn't know about default slug generation, content-type heuristics, or
the receipt block. capture is the human-facing wrapper.gbrain capture.
That's what gbrain sync (or gbrain import) is for. Capture is for
single thoughts, single notes, single transcripts.# Title\n\n<your prose>.
Pass --file PATH if you already have a fully-formatted markdown file.--file or --stdin instead.skills/media-ingest/SKILL.md or gbrain sync insteadskills/idea-ingest/SKILL.md (it knows to build the people page)skills/meeting-ingestion/SKILL.md (attendee enrichment)This skill is for the simple "I have a thought, save it" case. Specialized ingestion paths handle their own slugging + cross-referencing.
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 configurado (local o thin-client) con `sync.repo_path` definido.
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.