[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72YJ3BGR753X2G1M7KDM0R8":3,"skill-same:01M72YJ3BGR753X2G1M7KDM0R8":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":14,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M72YJ3BGR753X2G1M7KDM0R8","query",null,"Answer questions using the brain's knowledge with 3-layer search, synthesis,\nand citation propagation. Use when the user asks a question, wants a lookup,\nor needs information from the brain.","Morris-UTRUST\u002FGBrain-knowledge","Morris-UTRUST","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13375437?v=4","01M72YEA3A0GZ2EQY0ZXRVEB7E","陳冠榮","01M72YEA3VYSH6HF42JCT3T7HA",0,"MIT","https:\u002F\u002Fgithub.com\u002FMorris-UTRUST\u002FGBrain-knowledge\u002Fblob\u002Fmain\u002Fskills\u002Fquery\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: query\nversion: 1.0.0\ndescription: |\n  Answer questions using the brain's knowledge with 3-layer search, synthesis,\n  and citation propagation. Use when the user asks a question, wants a lookup,\n  or needs information from the brain.\ntriggers:\n  - \"what do we know about\"\n  - \"tell me about\"\n  - \"who is\"\n  - \"what happened\"\n  - \"search for\"\n  - \"look up\"\n  - \"background on\"\n  - \"notes on\"\n  - \"who knows who\"\n  - \"relationship between\"\n  - \"connections\"\n  - \"graph query\"\ntools:\n  - search\n  - query\n  - get_page\n  - list_pages\n  - get_backlinks\n  - traverse_graph\n  - get_timeline\nmutating: false\n---\n\n# Query Skill\n\nAnswer questions using the brain's knowledge with 3-layer search and synthesis.\n\n## Contract\n\nThis skill guarantees:\n- Every answer is grounded in brain content (no hallucination)\n- Every claim has a citation tracing back to a specific page slug\n- Gaps are flagged explicitly (\"the brain doesn't have information on X\")\n- Source precedence is respected (user statements > compiled truth > timeline > external)\n- Conflicting sources are noted with both citations\n\n## Phases\n\n1. **Decompose the question** into search strategies:\n   - Keyword search for specific names, dates, terms\n   - Semantic query for conceptual questions\n   - Structured queries (list by type, backlinks) for relational questions\n2. **Execute searches:**\n   - Keyword search gbrain for FTS matches (search)\n   - Hybrid search gbrain for semantic+keyword with expansion (query)\n   - List pages in gbrain by type or check backlinks for structural queries\n3. **Read top results.** Read the top 3-5 pages from gbrain to get full context.\n4. **Synthesize answer** with citations. Every claim traces back to a specific page slug.\n5. **Flag gaps.** If the brain doesn't have info, say \"the brain doesn't have information on X\" rather than hallucinating.\n\n## Anti-Patterns\n\n- Answering from general knowledge when the brain has relevant content\n- Hallucinating facts not in the brain\n- Silently picking one source when sources conflict\n- Loading full pages when search chunks are sufficient\n- Ignoring source precedence (user statements are highest authority)\n\n## Output Format\n\nAnswers should include:\n- Direct response to the question\n- Citations: \"According to [Source: people\u002Fjane-doe, compiled truth]...\"\n- Gap flags: \"The brain doesn't have information on X\"\n- Conflict notes when sources disagree\n\n## Quality Rules\n\n- Never hallucinate. Only answer from brain content.\n- Cite sources: \"According to concepts\u002Fdo-things-that-dont-scale...\"\n- Flag stale results: if a search result shows [STALE], note that the info may be outdated\n- For \"who\" questions, use backlinks and typed links to find connections\n- For \"what happened\" questions, use timeline entries\n- For \"what do we know\" questions, read compiled_truth directly\n\n## Token-Budget Awareness\n\nSearch returns **chunks**, not full pages. Read the excerpts first before deciding\nwhether to load a full page.\n\n- `gbrain search` \u002F `gbrain query` return ranked chunks with context snippets.\n  These are often enough to answer the question directly.\n- Only use `gbrain get \u003Cslug>` to load the full page when a chunk confirms the\n  page is relevant and you need more context (e.g., compiled truth, timeline).\n- **\"Tell me about X\"** -- get the full page (the user wants the complete picture).\n- **\"Did anyone mention Y?\"** -- search results are enough (the user wants a yes\u002Fno with evidence).\n\n### Source precedence\n\nWhen multiple sources provide conflicting information, follow this precedence:\n\n1. **User's direct statements** (highest authority -- what the user told you directly)\n2. **Compiled truth** (the brain's synthesized, cited understanding)\n3. **Timeline entries** (raw evidence, reverse-chronological)\n4. **External sources** (web search, API enrichment -- lowest authority)\n\nWhen sources conflict, note the contradiction with both citations. Don't silently\npick one.\n\n## Citation in Answers\n\nWhen referencing brain pages in your answer, propagate inline citations:\n- Cite the page: \"According to [Source: people\u002Fjane-doe, compiled truth]...\"\n- When brain pages have inline `[Source: ...]` citations, propagate them so\n  the user can trace facts to their origin\n- When you synthesize across multiple pages, cite all sources\n\n## Graph Traversal (v0.10.1+)\n\nFor relationship questions (\"who knows who at X?\", \"connections between A and B\",\n\"who works at Acme?\", \"who attended the standup?\"), use the graph layer instead\nof full-text search:\n\n- `gbrain graph-query \u003Cslug> --type \u003Clink_type> --depth N --direction in|out|both`\n- Available link types: `attended`, `works_at`, `invested_in`, `founded`, `advises`, `mentions`, `source`\n- `--direction in` answers \"who points to X?\" (e.g., who works at company X)\n- `--direction out` answers \"what does X point to?\" (default)\n- `--depth N` controls multi-hop traversal (default 5)\n\nExamples:\n- \"Who works at Acme?\" → `gbrain graph-query companies\u002Facme --type works_at --direction in`\n- \"Who attended Demo Day W26?\" → `gbrain graph-query meetings\u002Fdemo-day-w26 --type attended --direction out`\n- \"What companies has Emily advised?\" → `gbrain graph-query people\u002Femily --type advises --direction out`\n- \"Who has Alice met (via meetings)?\" → `gbrain graph-query people\u002Falice --type attended --depth 2`\n\nCombine with `gbrain query` for queries that need BOTH semantic similarity AND\ngraph structure. Search results are ranked with a small backlink boost so well-\nconnected entities surface higher.\n\n## Search Quality Awareness\n\nIf search results seem off (wrong results, missing known pages, irrelevant hits):\n- Run `gbrain doctor --json` to check index health\n- Check embedding coverage -- partial embeddings degrade hybrid search\n- Compare keyword search (`gbrain search`) vs hybrid search (`gbrain query`)\n  for the same query to isolate whether the issue is embedding-related\n- Report search quality issues in the maintain workflow (see maintain skill)\n\n## Tools Used\n\n- Keyword search gbrain (search)\n- Hybrid search gbrain (query)\n- Read a page from gbrain (get_page)\n- List pages in gbrain with filters (list_pages)\n- Check backlinks in gbrain (get_backlinks)\n- Traverse the link graph in gbrain (traverse_graph)\n- View timeline entries in gbrain (get_timeline)\n","# Query Skill\n\nAnswer questions using the brain's knowledge with 3-layer search and synthesis.\n\n## Contract\n\nThis skill guarantees:\n- Every answer is grounded in brain content (no hallucination)\n- Every claim has a citation tracing back to a specific page slug\n- Gaps are flagged explicitly (\"the brain doesn't have information on X\")\n- Source precedence is respected (user statements > compiled truth > timeline > external)\n- Conflicting sources are noted with both citations\n\n## Phases\n\n1. **Decompose the question** into search strategies:\n   - Keyword search for specific names, dates, terms\n   - Semantic query for conceptual questions\n   - Structured queries (list by type, backlinks) for relational questions\n2. **Execute searches:**\n   - Keyword search gbrain for FTS matches (search)\n   - Hybrid search gbrain for semantic+keyword with expansion (query)\n   - List pages in gbrain by type or check backlinks for structural queries\n3. **Read top results.** Read the top 3-5 pages from gbrain to get full context.\n4. **Synthesize answer** with citations. Every claim traces back to a specific page slug.\n5. **Flag gaps.** If the brain doesn't have info, say \"the brain doesn't have information on X\" rather than hallucinating.\n\n## Anti-Patterns\n\n- Answering from general knowledge when the brain has relevant content\n- Hallucinating facts not in the brain\n- Silently picking one source when sources conflict\n- Loading full pages when search chunks are sufficient\n- Ignoring source precedence (user statements are highest authority)\n\n## Output Format\n\nAnswers should include:\n- Direct response to the question\n- Citations: \"According to [Source: people\u002Fjane-doe, compiled truth]...\"\n- Gap flags: \"The brain doesn't have information on X\"\n- Conflict notes when sources disagree\n\n## Quality Rules\n\n- Never hallucinate. Only answer from brain content.\n- Cite sources: \"According to concepts\u002Fdo-things-that-dont-scale...\"\n- Flag stale results: if a search result shows [STALE], note that the info may be outdated\n- For \"who\" questions, use backlinks and typed links to find connections\n- For \"what happened\" questions, use timeline entries\n- For \"what do we know\" questions, read compiled_truth directly\n\n## Token-Budget Awareness\n\nSearch returns **chunks**, not full pages. Read the excerpts first before deciding\nwhether to load a full page.\n\n- `gbrain search` \u002F `gbrain query` return ranked chunks with context snippets.\n  These are often enough to answer the question directly.\n- Only use `gbrain get \u003Cslug>` to load the full page when a chunk confirms the\n  page is relevant and you need more context (e.g., compiled truth, timeline).\n- **\"Tell me about X\"** -- get the full page (the user wants the complete picture).\n- **\"Did anyone mention Y?\"** -- search results are enough (the user wants a yes\u002Fno with evidence).\n\n### Source precedence\n\nWhen multiple sources provide conflicting information, follow this precedence:\n\n1. **User's direct statements** (highest authority -- what the user told you directly)\n2. **Compiled truth** (the brain's synthesized, cited understanding)\n3. **Timeline entries** (raw evidence, reverse-chronological)\n4. **External sources** (web search, API enrichment -- lowest authority)\n\nWhen sources conflict, note the contradiction with both citations. Don't silently\npick one.\n\n## Citation in Answers\n\nWhen referencing brain pages in your answer, propagate inline citations:\n- Cite the page: \"According to [Source: people\u002Fjane-doe, compiled truth]...\"\n- When brain pages have inline `[Source: ...]` citations, propagate them so\n  the user can trace facts to their origin\n- When you synthesize across multiple pages, cite all sources\n\n## Graph Traversal (v0.10.1+)\n\nFor relationship questions (\"who knows who at X?\", \"connections between A and B\",\n\"who works at Acme?\", \"who attended the standup?\"), use the graph layer instead\nof full-text search:\n\n- `gbrain graph-query \u003Cslug> --type \u003Clink_type> --depth N --direction in|out|both`\n- Available link types: `attended`, `works_at`, `invested_in`, `founded`, `advises`, `mentions`, `source`\n- `--direction in` answers \"who points to X?\" (e.g., who works at company X)\n- `--direction out` answers \"what does X point to?\" (default)\n- `--depth N` controls multi-hop traversal (default 5)\n\nExamples:\n- \"Who works at Acme?\" → `gbrain graph-query companies\u002Facme --type works_at --direction in`\n- \"Who attended Demo Day W26?\" → `gbrain graph-query meetings\u002Fdemo-day-w26 --type attended --direction out`\n- \"What companies has Emily advised?\" → `gbrain graph-query people\u002Femily --type advises --direction out`\n- \"Who has Alice met (via meetings)?\" → `gbrain graph-query people\u002Falice --type attended --depth 2`\n\nCombine with `gbrain query` for queries that need BOTH semantic similarity AND\ngraph structure. Search results are ranked with a small backlink boost so well-\nconnected entities surface higher.\n\n## Search Quality Awareness\n\nIf search results seem off (wrong results, missing known pages, irrelevant hits):\n- Run `gbrain doctor --json` to check index health\n- Check embedding coverage -- partial embeddings degrade hybrid search\n- Compare keyword search (`gbrain search`) vs hybrid search (`gbrain query`)\n  for the same query to isolate whether the issue is embedding-related\n- Report search quality issues in the maintain workflow (see maintain skill)\n\n## Tools Used\n\n- Keyword search gbrain (search)\n- Hybrid search gbrain (query)\n- Read a page from gbrain (get_page)\n- List pages in gbrain with filters (list_pages)\n- Check backlinks in gbrain (get_backlinks)\n- Traverse the link graph in gbrain (traverse_graph)\n- View timeline entries in gbrain (get_timeline)\n",{"name":5,"tools":24,"version":31,"mutating":20,"triggers":32,"description":45},[25,5,26,27,28,29,30],"search","get_page","list_pages","get_backlinks","traverse_graph","get_timeline","1.0.0",[33,34,35,36,37,38,39,40,41,42,43,44],"what do we know about","tell me about","who is","what happened","search for","look up","background on","notes on","who knows who","relationship between","connections","graph query","Answer questions using the brain's knowledge with 3-layer search, synthesis,\nand citation propagation. Use when the user asks a question, wants a lookup,\nor needs information from the brain.\n","main","d5a406455378d589b645b3744f2ceae49d0b6e23","skills\u002Fquery","https:\u002F\u002Fgithub.com\u002FMorris-UTRUST\u002FGBrain-knowledge","https:\u002F\u002Fgithub.com\u002FMorris-UTRUST","2026-05-17 23:07:15",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add Morris-UTRUST\u002FGBrain-knowledge --skill query",{"tool":58,"command":59},"bunx","bunx skills add Morris-UTRUST\u002FGBrain-knowledge --skill query",{"tool":61,"command":62},"pnpm","pnpm dlx skills add Morris-UTRUST\u002FGBrain-knowledge --skill query","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMorris-UTRUST\u002FGBrain-knowledge\u002Fblob\u002Fmain\u002Fskills\u002Fquery\u002FSKILL.md",true,[66],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"routing-eval.jsonl","OTHER","其他",535,"https:\u002F\u002Fgithub.com\u002FMorris-UTRUST\u002FGBrain-knowledge\u002Fblob\u002Fmain\u002Fskills\u002Fquery\u002Frouting-eval.jsonl",[73,80,86,93,100,107],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M72YKMKH4254SNHQZ5PNHDT9","signal-detector","Always-on ambient signal capture for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002FMorris-UTRUST\u002FGBrain-knowledge\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fsignal-detector\u002FSKILL.md",[],[],{"skillNo":81,"name":5,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M72YKJXCNATARDEE5E1GKGV4","Look up brain pages in the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002FMorris-UTRUST\u002FGBrain-knowledge\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fquery\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M72YKH458S74JP3C0TVM9VW8","context-now","ALWAYS-ON time-sensitivity discipline for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002FMorris-UTRUST\u002FGBrain-knowledge\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fcontext-now\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M72YKFAB0TMQ96YB1K1ZSADE","brain-ops","Core read\u002Fwrite cycle for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002FMorris-UTRUST\u002FGBrain-knowledge\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fbrain-ops\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M72YKC9DHWBE0TPH75KGN55Q","webhook-transforms","Generic framework for converting external events (SMS, meetings, social mentions)\ninto brain-ingestible signals. Define a transform function, register a webhook URL,\nand incoming events get processed through the brain pipeline.","https:\u002F\u002Fgithub.com\u002FMorris-UTRUST\u002FGBrain-knowledge\u002Fblob\u002Fmain\u002Fskills\u002Fwebhook-transforms\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M72YK9J860QDTNRSVKBDA9M6","voice-note-ingest","Ingest a voice note with exact-phrasing preservation (never paraphrased). Routes content to originals\u002F, concepts\u002F, people\u002F, companies\u002F, ideas\u002F, personal\u002F, or voice-notes\u002F based on a decision tree. The user's exact words are the signal.","https:\u002F\u002Fgithub.com\u002FMorris-UTRUST\u002FGBrain-knowledge\u002Fblob\u002Fmain\u002Fskills\u002Fvoice-note-ingest\u002FSKILL.md",[],[]]