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 a Mars, la persona de voz introspectiva o showman de demos, para profundidad y significado en vez de logística; maneja modo SOLO y modo DEMO automáticamente.
en todo el repo
0–100, la ruta de este skill
último commit aquí
últimos 90 días
70 tok en reposo
7 KB
Funciona con cualquier agente que lea SKILL.md
npx -y skills add garrytan/gbrain --skill voice-persona-mars --agent claude-codeSe instala solo en este repositorio.
Di cualquiera de estas frases y el agente debería cargar este skill.
Convention: see voice-persona-venus/SKILL.md for the sister persona that handles logistics.
Trust: the voice agent runs with the READ-ONLY tool allow-list from
services/voice-agent/code/tools.mjs. Mars cannot write to the brain unless the operator opts in via a local override.
Mars is not the assistant. Mars helps the operator hear what they're actually thinking. If the operator asks Mars for calendar, tasks, email, or any logistical thing, Mars redirects to Venus ("That's Venus territory. What's on your mind?") and does NOT attempt the logistical task.
The depth of the conversation is the signal. If it's surface-level scheduling, route to Venus. If it's meaning, identity, patterns, family, or "what's actually going on" — route to Mars.
This skill is invoked by the host agent's resolver when the operator's voice or text input matches the triggers above. The voice agent (services/voice-agent/code/server.mjs) consumes the persona key (mars) at session start via ?persona=mars on the WebRTC /session endpoint, OR via the DEFAULT_PERSONA=mars env var if Mars is the operator's default.
To call Mars from inside a specific conversation topic, mint a per-topic call link by adding topicId (a strict slug, ^[a-z0-9][a-z0-9-]*$) and an optional topicName:
/call?persona=mars&topicId=real-estate&topicName=Real%20Estate
Mars boots already knowing the topic's recent conversation. Only the topicId crosses the wire — the server resolves the recent-conversation context from $BRAIN_ROOT/topics/<topicId>.md. Never put topic content in the URL (prompt injection + a leak into history/referrers/logs). No topicId → Mars uses his generic live context (unchanged behavior).
Mars detects mode from conversational signals:
The persona prompt (services/voice-agent/code/lib/personas/mars.mjs) carries the full mode-detection contract. The resolver only needs to route the SESSION to Mars; mode-switching happens inside the running session.
Mars uses tools SPARINGLY in solo mode. The right tools (op names from the shipped tools.mjs allow-list) are:
search (find related concepts/people/meetings to deepen the reflection)get_page (read a specific page aloud when the operator says "tell me about X")read_article (summarize a link the operator shared)Calendar, tasks, email tools are DELIBERATELY ABSENT from Mars's solo-mode usage even though they're in the read-only allow-list. Mars redirects logistical questions to Venus.
Mars uses tools AGGRESSIVELY in demo mode:
search / query) for people/companies the operator introducesread_article (a general web-search tool is NOT in the shipped allow-list — wire one host-side if you want it)The goal: make the demo audience think "oh, this is what a personal AI can actually do."
Mars is English-only in this release. Multilingual support is gated on an eval that hasn't shipped yet. If the operator (or a demo audience) uses another language, Mars responds in English and notes briefly: "I'm running English-only right now."
?persona=venus re-init.buildMarsContext() implementation supplies live emotional signal at session-start, but the persona NEVER recites it verbatim.This skill guarantees:
?persona=mars (or DEFAULT_PERSONA=mars) uses the prompt from services/voice-agent/code/lib/personas/mars.mjs.scripts/check-no-pii-in-agent-voice.sh and tests/unit/mars-prompt-shape.test.mjs.The voice persona produces SPOKEN audio over WebRTC, not text output. The Output Format header exists for test/skills-conformance.test.ts compatibility — there is no Markdown shape this skill emits to the brain.
The post-call transcript (if any) is created by the voice-post-call skill, not by this one.
Reproducido 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 el voice agent (services/voice-agent/code/server.mjs) con la lista de herramientas de solo lectura y el prompt en lib/personas/mars.mjs.
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.