resolve-before-asking
하는 일
이 스킬은 사용자의 메모로 답할 수 있는 질문을 에이전트가 하지 않도록 막습니다. 먼저 브레인과 연결된 출처를 확인합니다.
사용하는 경우
- ✓에이전트가 어떤 사람이 누구인지나 그 역할을 묻으려 할 때.
- ✓에이전트가 메모에서 이름을 찾았는데 어떤 사람을 가리키는지 확신이 없을 때.
- ✓메모에 이미 기록된 내용을 에이전트가 다시 묻지 않게 하고 싶을 때.
스킬 링크
https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/resolve-before-asking/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Dana가 누구인지 묻기 전에 제 브레인에서 그녀를 찾아보고, 아무것도 없을 때만 물어봐 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 정해진 순서로 메모와 과거 기록을 검색한 뒤 외부 출처를 확인합니다. 그래도 답이 없으면 한 번만 질문하고, 최선의 추측을 함께 제시합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
답이 여전히 불분명하면 어떻게 하나요?
에이전트는 한 번 묻고 가능성 높은 답을 함께 제시하므로, 사용자는 확인하거나 고치기만 하면 됩니다.
대량 가져오기 중에 빈 페이지를 만드나요?
아닙니다. 이 규칙은 대량 수집 중 빈 자리 표시 페이지를 만들지 않도록 합니다.
사용자에게 묻는 것이 허용되나요?
네. 하지만 브레인과 외부 조회를 먼저 시도한 뒤에만 허용됩니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 31k
- 순위
- #9267
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
gbrain
31k에이전트가 공유 회사 지식 브레인에서 사람, 프로젝트, 결정에 관한 사실을 검색하고, 지속적인 메모를 저장하도록 돕습니다.
brain-ingest-gate
31k새 콘텐츠를 지식 브레인에 추가하기 전에 기존 내용과 비교해 중복을 막고, 고유 명칭을 먼저 확인합니다.
brain-link-discipline
31k에이전트가 브레인 페이지를 보고할 때 같은 메시지에 각 페이지의 작동하는 링크를 포함해, 바로 열어 볼 수 있게 합니다.
brain-ops
31k지식 브레인의 기본 루틴을 제공합니다. 먼저 기존 맥락을 확인하고, 메모는 출처와 함께 저장하며, 관련 페이지를 연결합니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.