Skills
local, multimodal rag agent for claude codeFrom the repository description
npx -y skills add fa-ina-tic/memvid-rag --skill skillsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.0 KB, 526 tokens by cl100k_base, as published. Nobody here has run it
memvid-rag
A simple local RAG (Retrieval-Augmented Generation) system based on memvid.
Overview
This plugin provides semantic search capabilities for PDF documents using vector embeddings. It enables you to index documents into a local knowledge base and perform semantic queries to retrieve relevant information.
Requirements
- Python: memvid-sdk installed (
pip install memvid-sdk) - OpenAI API Key: Required for vector embeddings. Set
OPENAI_API_KEYenvironment variable before indexing. - Document parsing libraries: Additional Python libraries are needed depending on the file format:
- PDF:
pypdf(uv add pypdf) - DOCX:
python-docx(uv add python-docx) - XLSX:
openpyxl(uv add openpyxl)
- PDF:
Commands
| Command | Description |
|---|---|
/memvid-rag:create | Create a new knowledge.mv2 index file |
/memvid-rag:index <path> | Index PDF files into the knowledge base |
/memvid-rag:search <query> | Search indexed documents semantically |
/memvid-rag:status | Show current status of the RAG system |
Workflow
- Create Index: Run
/memvid-rag:createto initialize the knowledge base (if not exists) - Index Documents: Use
/memvid-rag:index <pdf_path>to add documents - Search: Query with
/memvid-rag:search <your question>
Search Options
The search command supports optional parameters:
--k=<number>: Maximum results to return (default: 5)--mode=<lex|sem|auto>: Search mode (default: auto)--snippet_chars=<number>: Max characters per snippet (default: 240)--min_relevancy=<float>: Minimum relevancy threshold--adaptive=<true|false>: Enable adaptive result count
Example Usage
/memvid-rag:index ./documents/research-paper.pdf
/memvid-rag:search What are the key findings about semantic search?
/memvid-rag:search How does RAG improve LLM accuracy? --k=10 --mode=sem
Data Storage
All indexed data is stored locally in knowledge.mv2 file in the current working directory.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.