knowledge-agent
यह क्या करती है
यह टूल आपके पुराने नोट्स से AI के कस्टम 'brain' बनाता है। आप किसी खास विषय पर जानकारी जुटा सकते हैं और फिर इस AI से बात करके सवालों के जवाब पा सकते हैं।
कब इस्तेमाल करें
- ✓जब आपको किसी खास प्रोजेक्ट का सारांश चाहिए।
- ✓पिछले फैसले या bug fixes याद करने के लिए।
- ✓किसी विषय की पढ़ाई के लिए जानकारी जुटाते समय।
Skill का लिंक
https://github.com/thedotmack/claude-mem/blob/main/plugin/skills/knowledge-agent/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“'hooks' के बारे में एक brain बनाओ और बताओ कि उसके 5 प्रकार कौन से हैं और हर एक कब ट्रिगर होता है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
पहले आप टूल को कहते हैं कि आपके नोट्स में से छानकर जानकारी का संग्रह (corpus) बनाए। फिर इस संग्रह को AI session में लोड किया जाता है और आप उससे सवाल पूछ सकते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Knowledge Agent
Build and query AI-powered knowledge bases from claude-mem observations.
What Are Knowledge Agents?
Knowledge agents are filtered corpora of observations compiled into a conversational AI session. Build a corpus from your observation history, prime it (loads the knowledge into an AI session), then ask it questions conversationally.
Think of them as custom "brains": "everything about hooks", "all decisions from the last month", "all bugfixes for the worker service".
Workflow
Step 1: Build a corpus
build_corpus name="hooks-expertise" description="Everything about the hooks lifecycle" project="claude-mem" concepts="hooks" limit=500
Filter options:
project— filter by project nametypes— comma-separated: decision, bugfix, feature, refactor, discovery, changeconcepts— comma-separated concept tagsfiles— comma-separated file paths (prefix match)query— semantic search querydateStart/dateEnd— ISO date rangelimit— max observations (default 500)
Step 2: Prime the corpus
prime_corpus name="hooks-expertise"
This creates an AI session loaded with all the corpus knowledge. Takes a moment for large corpora.
Step 3: Query
query_corpus name="hooks-expertise" question="What are the 5 lifecycle hooks and when does each fire?"
The knowledge agent answers from its corpus. Follow-up questions maintain context.
Step 4: List corpora
list_corpora
Shows all corpora with stats and priming status.
Tips
- Focused corpora work best — "hooks architecture" beats "everything ever"
- Prime once, query many times — the session persists across queries
- Reprime for fresh context — if the conversation drifts, reprime to reset
- Rebuild to update — when new observations are added, rebuild then reprime
Maintenance
Rebuild a corpus (refresh with new observations)
rebuild_corpus name="hooks-expertise"
After rebuilding, reprime to load the updated knowledge:
Reprime (fresh session)
reprime_corpus name="hooks-expertise"
Clears prior Q&A context and reloads the corpus into a new session.
अक्सर पूछे जाने वाले सवाल
'brain' कैसे बनाऊँ?
जानकारी का संग्रह बनाने के लिए `build_corpus` command का इस्तेमाल करें, और उसे AI में लोड करने के लिए `prime_corpus`।
क्या मैं 'brain' को नई जानकारी से अपडेट कर सकता हूँ?
हाँ, संग्रह को अपडेट करने के लिए `rebuild_corpus` का इस्तेमाल करें, और नई जानकारी के साथ AI को दोबारा लोड करने के लिए `reprime_corpus`।
'observations' क्या होते हैं?
ये वे रिकॉर्ड हैं जो आपने पहले बनाए थे, जैसे फैसले, bug fixes, नए features आदि।
जानकारी
लेखक का मूल विवरण
Build and query AI-powered knowledge bases from claude-mem observations. Use when users want to create focused "brains" from their observation history, ask questions about past work patterns, or compile expertise on specific topics.
repo: thedotmack/claude-mem
लोकप्रियता
- GitHub स्टार
- 101k
- रैंकिंग में स्थान
- #1273
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
Agent Cost Report
101kआपके एजेंट की गतिविधियों की विस्तृत लागत रिपोर्ट बनाता है। दिखाता है कि टोकन और सेवाओं पर कितना खर्च हुआ।
claude-mem-install
101kयह आपके एजेंट को अलग-अलग वातावरण में Claude-Mem सेट अप करने में मदद करता है। इसमें लोकल या रिमोट वर्कर में से चुनने और observation कॉन्फ़िगर करने की सुविधा है।
mem-search
101kयह आपके एजेंट को पुरानी memories में खोजने देता है। पिछले सेशन के पुराने समाधान या काम याद करने में यह उपयोगी है।
host-observer
101kयह आपके एजेंट को Claude-Mem observer के काम का जवाब देने में मदद करता है। यह सिर्फ 'skip_summary' या पूरा XML observation ही लौटाता है।
मिलती-जुलती skills
pytorch-patterns
280kआपके एजेंट को machine learning models के लिए PyTorch इस्तेमाल करने में मदद करता है। कुशल model training के best practices लागू करता है और नतीजों को दोहराने लायक रखता है।
evm-token-decimals
280kयह आपके एजेंट को अलग-अलग blockchain networks पर decimal numbers की गलतियों से बचने में मदद करता है। यह transactions और calculations में token values सही रखने का ध्यान रखता है।
ito-inference
280kआपके एजेंट को AI models की उपलब्धता जाँचने देता है। यह compute request को तैयार model service से जोड़ता है।