resolve-before-asking
Fungsinya
Skill ini mencegah agent Anda mengajukan pertanyaan yang sebenarnya bisa dijawab dari catatan Anda sendiri. Agent memeriksa brain dan sumber yang terhubung terlebih dahulu.
Kapan dipakai
- โSaat agent Anda akan bertanya siapa seseorang atau apa perannya.
- โKetika agent menemukan sebuah nama di catatan dan tidak yakin itu merujuk ke orang yang mana.
- โSaat Anda ingin agent menghindari pertanyaan tentang hal-hal yang sudah tercatat di catatan Anda.
Link skill
https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/resolve-before-asking/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โSebelum Anda bertanya siapa Dana, periksa dulu brain saya untuk dirinya, dan tanyakan hanya jika Anda tidak menemukan apa pun.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent mencari di catatan dan riwayat lamanya dengan urutan tetap, lalu mencoba sumber dari luar. Jika masih belum ada jawaban, agent mengajukan satu pertanyaan kepada Anda beserta tebakan terbaiknya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apa yang terjadi jika jawabannya masih belum jelas?
Agent bertanya kepada Anda sekali dan menyertakan jawaban yang paling mungkin, sehingga Anda hanya perlu mengonfirmasi atau mengoreksinya.
Apakah halaman placeholder dibuat saat impor massal?
Tidak. Aturannya mencegah halaman placeholder kosong selama ingest massal.
Apakah bertanya kepada Anda diperbolehkan?
Ya, tetapi hanya setelah pencarian di brain dan sumber luar sudah dicoba.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 31k
- Peringkat
- #9267
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
gbrain
31kMemungkinkan agent Anda mencari fakta tentang orang, proyek, dan keputusan di basis pengetahuan bersama perusahaan, serta menyimpan catatan penting.
brain-ingest-gate
31kMemeriksa konten baru terhadap basis pengetahuan yang sudah ada sebelum ditambahkan, untuk menghindari duplikat dan menyelesaikan entitas bernama lebih dulu.
brain-link-discipline
31kMemastikan agent Anda menyertakan tautan yang berfungsi ke setiap halaman basis pengetahuan yang dilaporkannya, dalam pesan yang sama, agar Anda bisa langsung membukanya.
brain-ops
31kMemberi agent Anda rutinitas inti untuk basis pengetahuan: memeriksa konteks yang ada terlebih dahulu, menyimpan catatan eksplisit beserta sumbernya, dan menautkan halaman terkait.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.