weknora-rag-search
Installation
SKILL.md
WeKnora — retrieval & RAG queries
REQUIRED BACKGROUND: read the weknora-shared skill first (auth, --kb
resolution, the JSON envelope, exit codes, streaming/NDJSON output).
WeKnora gives you several ways to "ask about a knowledge base." Picking the wrong one wastes turns or returns the wrong shape. Use the decision table.
Pick the command by your goal
| Your goal | Command | LLM synthesis? | Returns |
|---|---|---|---|
| Natural-language answer grounded in a KB | chat "<q>" --kb <kb> |
yes | bounded answer events; --reference adds citations; --verbose adds execution detail |
| Answer via a custom agent (its own KB scope, tools, web search) | session ask --agent <id> "<q>" |
yes (+ tools) | bounded answer events; --reference adds citations; --verbose adds execution detail |
| Raw context chunks to reason over yourself (no answer) | search chunks "<q>" --kb <kb> |
no | ranked chunk list |
| Which documents match a keyword (title/filename) | search docs "<q>" --kb <kb> |
no | document list |
| Find a knowledge base by name | search kb "<q>" |
no | KB list |
| Find a past session by title | search sessions "<q>" |
no | session list |