resolve-before-asking
Qué hace
Esta skill evita que tu agente te haga preguntas que podría responder con tus propias notas. Revisa primero tu cerebro y las fuentes conectadas.
Cuándo usarla
- ✓Cuando tu agente está a punto de preguntarte quién es una persona o cuál es su cargo.
- ✓Cuando tu agente encuentra un nombre en una nota y no está seguro de a qué persona se refiere.
- ✓Cuando quieres que tu agente evite preguntar cosas que ya están registradas en tus notas.
Link de la skill
https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/resolve-before-asking/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Antes de preguntarme quién es Dana, búscala en mi cerebro y pregúntame solo si no encuentras nada.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente busca en tus notas y en registros anteriores siguiendo un orden fijo, y después prueba con fuentes externas. Si aun así no tiene respuesta, te hace una pregunta e incluye su mejor suposición.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Resolve Before Asking — Exhaust the Brain Before Bothering the User
Convention: see conventions/brain-first.md for the base lookup chain (search → query → get_page → external APIs). This skill extends that chain one hop further, to the human boundary: asking the user is the LAST resort, after the brain AND external escalation, not a shortcut around them.
Convention: see _brain-filing-rules.md — pages touched by the ingest-resolution section file by primary subject (
people/,companies/).
Purpose
Never ask the user "who is X?" when the answer already exists in the brain.
The memory answers before the human is bothered — that is the product promise. This skill defines the lookup chain that runs before any entity-identification question is sent to the user, and the escalation format when asking really is justified.
The Bug This Kills
The pattern: the agent encounters an entity with a rich brain page — timeline entries, meeting history, an imported message archive — and instead of reading them, asks the user "who is X?". This is lazy escalation. It spends the user's attention on questions the system can answer itself.
Examples of the bug (anonymized):
- alice-example — her brain page already carried a role line ("Chief of Staff at acme-example") and a long meeting history → the agent still asked.
- charlie-example — a thick imported email thread whose subject lines all pointed at one shared project → the agent still asked.
When This Fires
This is a harness-routing convention, not a mechanical guarantee: route here whenever ANY of these are true —
- A reply draft contains "who is [name]?" or equivalent.
- A draft asks about someone's role, relationship, or identity.
- You are about to present an entity as "unknown" or "unidentified".
- A brain page has
[To be filled by content analysis]or similar placeholder text. - You are composing a list of people and leaving any as "unknown relationship".
The Lookup Chain (run in order; STOP at the first clear answer)
Step 1: think — cross-brain synthesis (solves most cases)
gbrain think "Who is {entity}? What is their relationship to the user? What role do they play? Use all available context — meetings, timeline, imported archives, facts."
think synthesizes across ALL brain data. If the entity has a page with
imported-activity stats, timeline entries, and meeting history, think will
connect the dots. Over MCP, entity("{entity}") first gives a zero-LLM card
(aliases, last-touched, top edges); synthesize is the heavy cross-page
answer when the card isn't enough.
If this returns a clear answer → STOP. Use the answer. Do not ask the user.
Step 2: search + full page read
gbrain search "{entity}" --limit 5
gbrain get {entity-slug}
What to look for:
relationshipfield in frontmatter — filled means resolved.- Role signals repeated in timeline entries ("advisor", "colleague at acme-example", "chief of staff").
- Facts table — any role/relationship facts.
- Meeting history — what did they attend? With whom?
If timeline entries repeat a consistent role → STOP. The role is obvious. Do not ask the user.
Step 3: Query each mounted source the brain actually has
Don't hardcode channels. Check what the brain holds, then query it:
gbrain sources list
gbrain query "emails with {entity}" --limit 10
gbrain query "meetings with {entity}" --limit 5
Whatever is mounted — an email archive, calendar imports, chat transcripts, meeting notes — a handful of subject lines or meeting titles usually reveals the relationship:
- Invoice / scheduling / billing subjects → professional services.
- Recurring 1:1 titles with consistent co-attendees → colleague.
- Dinner / weekend-plan messages → personal friend.
Step 4: Timeline + graph walk
gbrain timeline {entity-slug} --limit 20
gbrain backlinks {entity-slug}
gbrain graph {entity-slug} --depth 2
Dated events, who references this entity, and what it connects to. A person who back-links from a company page and three meeting pages is not an unknown.
Step 5: Web search (external escalation, per brain-first)
Only after steps 1–4 return nothing useful. Run a generic web search on
"{entity name} {company/domain hints accumulated in steps 1-4}". Fold
anything found back into the brain page before using it (the brain-op
Preguntas frecuentes
¿Qué pasa si la respuesta sigue sin estar clara?
El agente te pregunta una vez e incluye una respuesta probable, así que solo tienes que confirmarla o corregirla.
¿Crea páginas provisionales durante las importaciones masivas?
No. Sus reglas evitan páginas vacías provisionales durante la ingesta masiva.
¿Se permite preguntarte?
Sí, pero solo después de haber probado las búsquedas en el cerebro y en fuentes externas.
Detalles
Descripción original del autor
Gate on identity questions to the user. Before any "who is X?" (or role / relationship question) reaches the user, exhaust the brain's lookup chain: think → search + page read → mounted sources → timeline/graph → web. If escalation survives the chain, ask WITH a hypothesis, never a bare unknown. Also owns the no-placeholders-at-ingest rule: pages created during bulk ingestion get their relationship/role resolved immediately.
repo: garrytan/gbrain
Popularidad
- Estrellas en GitHub
- 31 mil
- Posición en el ranking
- #9267
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
gbrain
31 milPermite que tu agente busque en un cerebro compartido de conocimiento de la empresa datos sobre personas, proyectos y decisiones, y guarde notas duraderas en él.
brain-ingest-gate
31 milComprueba el contenido nuevo frente a un cerebro de conocimiento existente antes de añadirlo, para evitar duplicados y resolver primero las entidades nombradas.
brain-link-discipline
31 milHace que tu agente incluya un enlace que funcione a cada página del cerebro que menciona, en el mismo mensaje, para que puedas abrirla enseguida.
brain-ops
31 milOfrece a tu agente la rutina básica de un cerebro de conocimiento: consultar primero el contexto, guardar las notas explícitas con su fuente y enlazar páginas relacionadas.
Skills parecidas
add-model-provider
394 milPermite que tu agente conecte un nuevo proveedor de modelos de IA a OpenClaw con comandos de configuración seguros, mantenga las claves API fuera del texto plano y haga una prueba en vivo.
acp-router
394 milAyuda a tu agente a enviar una tarea a un asistente de programación como Claude Code o Cursor a través de OpenClaw, para que el trabajo se ejecute en esa herramienta.
browser-automation
394 milEnseña a tu agente a controlar páginas web paso a paso, incluidos los inicios de sesión, las pestañas y la recuperación cuando una página deja de responder.