Search & research
name: "advai-knowledge"
description: "Creates and manages local knowledge bases with
advai-knowledge
Creates and manages local knowledge bases with `advai kb`, including doc add, search, and sync. Invoke when user wants searchable local documents or lightweight project memory.
Advai-X · Static checks on file
Installation
Read the source and dependencies before running a command. Copying does not install or execute anything.
npx skills add Advai-X/advai-skills --skill advai-knowledgeAbout this skill
name: "advai-knowledge"
description: "Creates and manages local knowledge bases with advai kb, including doc add, search, and sync. Invoke when user wants searchable local documents or lightweight project memory."
Advai Knowledge Base
Use this skill to create and maintain local knowledge bases with advai kb.
When to Invoke
Invoke this skill when the user wants to:
- Create a lightweight local knowledge base
- Add project files or documents into a searchable store
- Search stored documents by keyword
- Resync stored documents from their original source files
- Build a small local memory layer for notes, docs, or reference material
Do not use this skill for full-text search over the live repository when direct code search tools are better suited.
Core Commands
Create and populate:
advai kb create <name>
advai kb doc add <name> <path>
Search and refresh:
advai kb search <name> <query>
advai kb sync <name>
Preconditions
- This skill depends on the
advaiCLI fromhttps://github.com/Advai-X/advai-cli. - Ensure
advaiis installed and available on PATH. - Ensure the
advai kbsubcommand is available in the current installation. - If
advai kbis missing, stop and guide the user to install or upgradeadvaifromhttps://github.com/Advai-X/advai-cli.
Operating Guidelines
- Use a concise, durable KB name such as
product-docs,runbooks, ordesign-notes. - Add source documents with stable paths so later
synccan refresh them correctly. - Use
searchfor quick keyword lookup across the stored document set. - If
syncreports missing source files, surface those paths explicitly and ask whether to replace or remove them. - Prefer one KB per topic or project area instead of one giant mixed store.
- If
advai kbis not recognized at runtime, direct the user to install or upgradeadvaifromhttps://github.com/Advai-X/advai-cli.
Examples
Create a KB and add documents:
advai kb create runbooks
advai kb doc add runbooks ./docs/incident-response.md
advai kb doc add runbooks ./docs/oncall-checklist.md
Search the KB:
advai kb search runbooks rollback
Refresh from source files:
advai kb sync runbooks