मुख्य सामग्री पर जाएँ
Skillpedia
रिसर्च31k · #9265

query

यह क्या करती है

यह स्किल आपके ब्रेन में सेव जानकारी से आपके सवालों के जवाब देती है। हर दावे के साथ उस पेज का लिंक होता है जहाँ से वह आया।

कब इस्तेमाल करें

  • ✓जब आप अपने एजेंट से ऐसा सवाल पूछें जिसका जवाब आपके सेव नोट्स में होना चाहिए।
  • ✓जब आप ब्रेन से किसी व्यक्ति, कंपनी या प्रोजेक्ट के बारे में जानना चाहें।
  • ✓जब आपको कई पेजों को मिलाकर स्रोतों वाला जवाब चाहिए।

Skill का लिंक

https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/query/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/query/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“पिछले महीने मेरे मीटिंग नोट्स में प्राइसिंग पर मैंने क्या तय किया था? स्रोत भी दीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट परतों में ब्रेन खोजता है, मिलते पेज पढ़ता है और जवाब लिखता है। हर दावा एक पेज से जुड़ा होता है, और ब्रेन में जानकारी न हो तो साफ़ बताता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Query Skill

Answer questions using the brain's knowledge with 3-layer search and synthesis.

Memory verbs (MEMORY_VERBS v1, gbrain ≥ 0.43). When connected to a brain over MCP, prefer the seven frozen memory verbs for memory work — they carry provenance, evidence, and a server-enforced token budget:

  • recall(query | entity, budget_tokens) — the budget-packed memory read. Use it instead of bare search for "what do we know that we SAVED about X".
  • entity(name) — a zero-LLM person/company/project card (aliases, last-touched, open threads, top edges). Use it instead of get_page + get_backlinks when you just need the card.
  • synthesize(question) — the explicitly-expensive cross-page answer; the heavy version of query. Reach for it only when the answer must combine evidence across pages. Fall back to search/query/get_page when the verbs aren't on the surface (pre-0.43 servers; --surface full includes the verbs alongside every other op). See docs/protocol/MEMORY_VERBS_v1.md.

Contract

This skill guarantees:

  • Every answer is grounded in brain content (no hallucination)
  • Every claim has a citation tracing back to a specific page slug
  • Gaps are flagged explicitly ("the brain doesn't have information on X")
  • Source precedence is respected (user statements > compiled truth > timeline > external)
  • Conflicting sources are noted with both citations

Phases

  1. Decompose the question into search strategies:
    • Keyword search for specific names, dates, terms
    • Semantic query for conceptual questions
    • Structured queries (list by type, backlinks) for relational questions
  2. Execute searches:
    • Cheap-hybrid search gbrain for exact tokens / known names (search)
    • Full-hybrid search gbrain for concept questions (query; --expand adds multi-query expansion)
    • List pages in gbrain by type or check backlinks for structural queries
    • Narrow with filters instead of grepping the brain checkout: --types '["meeting"]', --match keyword, gbrain query "<q>" --since 2026-09-01 --until 2026-09-30, --source <id>. Copyable examples: "Retrieval: gbrain first" in skills/conventions/brain-first.md.
  3. Read top results. Read the top 3-5 pages from gbrain to get full context.
  4. Synthesize answer with citations. Every claim traces back to a specific page slug.
  5. Flag gaps. If the brain doesn't have info, say "the brain doesn't have information on X" rather than hallucinating. Read the result's notices first (see "When it fails"): a degraded or truncated result is not a gap.

When it fails

Follow the agent operator protocol for any gbrain error code, exit code, [AGENT] block or notice block. Specific to this skill:

  • Check each retrieval result for notices before answering: on MCP, extra text blocks whose first line looks like [gbrain notice empty_retrieval kind=degraded], mirrored in _meta.gbrain_notices; on the CLI, the [AGENT] block, search_degraded, or a note: search degraded line.
  • empty_retrieval with kind=degraded (or search_degraded: keyword_only_no_embedding_provider): an empty result is NOT proof the user has no notes. Tell the user "your brain is searching keywords only right now, so I may be missing notes on X", try exact names and synonyms with gbrain search, and point to the notice's fix (usually enabling embeddings).
  • empty_retrieval with "no retrieval degradation — this is a clean miss": then say "the brain doesn't have information on X".
  • listing_truncated or budget_truncated: the list was cut off. Say "showing the first N", and page or narrow the query before claiming something is absent.
  • page_not_found from get_page: the slug is wrong or in another source; search by title (and check --source) before reporting the page missing.

Anti-Patterns

  • Answering from general knowledge when the brain has relevant content
  • Hallucinating facts not in the brain
  • Silently picking one source when sources conflict
  • Loading full pages when search chunks are sufficient
  • Ignoring source precedence (user statements are highest authority)

Output Format

Answers should include:

  • Direct response to the question
  • Citations: "According to [Source: people/jane-doe, compiled truth]..."
  • Gap flags: "The brain doesn't have information on X"
  • Conflict notes when sources disagree

Quality Rules

  • Never hallucinat
अक्सर पूछे जाने वाले सवाल

अगर मेरे ब्रेन को जवाब न पता हो तो?

स्किल सीधे बताती है, अंदाज़ा नहीं लगाती, और बताती है कि क्या गायब है।

अगर दो पेज आपस में असहमत हों तो कौन-सा सही माना जाए?

आपके अपने बयान सबसे ऊपर, फिर संकलित पेज, फिर टाइमलाइन, और बाहरी स्रोत सबसे आखिर में।

क्या यह खुला वेब खंगालती है?

केवल आखिरी विकल्प के रूप में। पहले आपके अपने नोट्स देखे जाते हैं।

जानकारी

लेखक का मूल विवरण

Answer questions using the brain's knowledge with 3-layer search, synthesis, and citation propagation. Use when the user asks a question, wants a lookup, or needs information from the brain.

repo: garrytan/gbrain

लोकप्रियता

GitHub स्टार
31k
रैंकिंग में स्थान
#9265
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

gbrain

31k

यह आपके एजेंट को लोगों, प्रोजेक्ट और फ़ैसलों के बारे में तथ्य खोजने के लिए साझा कंपनी ज्ञान ब्रेन में खोजने और उसमें स्थायी नोट सहेजने देती है।

लेखन और डॉक्यूमेंटरिसर्च

brain-ingest-gate

31k

यह आपके एजेंट को नई सामग्री जोड़ने से पहले मौजूदा ज्ञान ब्रेन से जाँचने देती है, ताकि डुप्लिकेट न बनें और नामित इकाइयाँ पहले सुलझें।

लेखन और डॉक्यूमेंटरिसर्च

brain-link-discipline

31k

यह सुनिश्चित करती है कि आपका एजेंट हर उस ब्रेन पेज का काम करने वाला लिंक उसी संदेश में दे, जिसकी वह रिपोर्ट करता है, ताकि आप उसे तुरंत खोल सकें।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

brain-ops

31k

यह आपके एजेंट को ज्ञान ब्रेन की मुख्य दिनचर्या देती है: पहले मौजूदा संदर्भ जाँचना, स्पष्ट नोट उनके स्रोत के साथ सहेजना, और संबंधित पेज जोड़ना।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills