knowledgexlab/heta/querying-knowledge-and-memory
Claude Code and agent skill by knowledgexlab/heta
- community
Checking that the SKILL.md file is still in the repository.
Use when the agent needs to answer questions from stored documents, recall past observations or context, store new knowledge for later, or discover available knowledge bases. Triggers on any of: "search the knowledge base", "what do you know about X", "remember this", "recall what happened", "find in documents", "store this observation", "look it up", "do you remember". Covers HetaDB (human document KBs), MemoryKB (agent knowledge graph), and MemoryVG (personal episodic memory).
Install
npx vskill@latest install knowledgexlab/heta/querying-knowledge-and-memorySKILL.md
Querying Knowledge and Memory
Three Systems — Know Which to Use
| System | Built by | Role | |
|---|---|---|---|
| HetaDB | Humans (file upload) | Multimodal document knowledge bases | |
| MemoryKB | Agent (text insert) | Agent's own accumulating knowledge graph | |
| MemoryVG | Agent (conversation) | Fast personal memory & cross-session cache |
Base URL: http://<host>:8000
Orchestration — Always Follow This Order
When answering a knowledge question:
API Summary
HetaDB — Document Knowledge Bases
→ Returns data[].name — use as kb_id. Skip KBs with status: "deleting"; all others are queryable.
→ Required: query, kb_id. user_id is always "agent". Read response field from result. → Full query mode guide: see hetadb-api.md
MemoryVG — Personal Memory Cache
→ agent_id is always "agent". Read results[].memory.
→ agent_id is always "agent". LLM extracts facts from messages. Available immediately.
MemoryKB — Agent Knowledge Graph
→ Async — LightRAG graph construction takes ~200s. Do not query immediately.
→ Read final_answer from result.
When NOT to Use Each
| Don't use | For | |
|---|---|---|
| HetaDB | Storing agent observations (no insert API) | |
| MemoryKB | Quick recall — async delay makes it unsuitable as cache | |
| MemoryVG | Deep multi-document reasoning — use HetaDB instead |
Full parameter reference: hetadb-api.md, hetamem-api.md
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/querying-knowledge-and-memory/SKILL.md
Popularity
- Repository stars
- 14
- Repository forks
- 1
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/knowledgexlab/heta/querying-knowledge-and-memory)