Myrag — Data skill for Claude Code
Free, local RAG over messy government PDFs and Word docs (NIST AI RMF, CSF 2.0, FedRAMP): hybrid search in Postgres + pgvector, verified citations, and real evals (recall@k, MRR, nDCG, faithfulness).
How to install Myrag
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open PaulCornell/myrag and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Myrag does
Free, local RAG over messy government PDFs and Word docs (NIST AI RMF, CSF 2.0, FedRAMP): hybrid search in Postgres + pgvector, verified citations, and real evals (recall@k, MRR, nDCG, faithfulness). Built with Claude Code.
Alternatives in Data
- L Docs Architecture — Document cross-cutting Lowdefy architecture topics (build pipeline, request lifecycle, etc 3k ★
- Agentlas Storm — Run a force-robust Stormbreaker loop — route to real agents, execute a verified pipeline to completion 1.1k ★
- Indonesia Gov APIs — 🇮🇩 50+ Indonesian Government APIs & Data Sources — BPS, OJK, BPJPH, BPOM, Bank Indonesia, IDX, BMKG + MCP se 134 ★
README
MyRAG: cited answers over messy government documents, with real evals
MyRAG is a retrieval-augmented generation (RAG) system over five public government documents on AI risk and cybersecurity: three NIST PDFs and two government Word templates. You ask a question in plain English. It finds the relevant passages, and a language model answers **only from those passages**, citing each claim with a link to the exact sentence, section, and page it came from. When the documents don't cover a question, it says so instead of guessing.
**It's free to run.** By default everything runs on your own computer: a small open-weight model (Qwen 2.5 3B via [Ollama](https://ollama.com)) writes the answers, and local models handle search. No account, API key, or payment is needed. If you have an Anthropic API key, one setting switches answering to **Claude** for higher-quality answers and guaranteed-verbatim citations.
The repo also includes the evaluation that shows how well it works: a labeled test set with exact source quotes, search metrics (recall@k, MRR, nDCG), an LLM-graded check of answer faithfulness and correctness, and a web dashboard for exploring the results.
| Ask screen | Streams the answer with clickable citations; a source panel shows the cited text highlighted in context; "Why these sources?" shows how each retrieval method ranked every passage. |
| Evals dashboard | Plain-English explanation of the tests, headline scores, recall@k per retrieval method, a chunk-size sweep, scores by question type, and a drill-down for every test question. |
Quick start
These are macOS commands, run from the project root; see [Setup](#setup) for details, Linux, and [Windows](#setup-on-windows). Everything is free: no account or API key needed.
**First time** (*roughly 30–45 minutes, an estimate*: mostly downloads and the one-time document analysis):
brew install node python@3.12 postgresql@18 pgvector poppler tesseract ollama
brew servic
Related Skills
Docwise Agentic
Full agentic RAG pipeline: adaptive chunking → Qdrant hybrid search (semantic + BM25 + RRF) → LangGraph ReAct
HyperMnesia
Self-hosted long-term memory for AI coding agents: Postgres+pgvector doc-RAG (component/constraint map + hybri
Building Online RAG Pipelines For Semantic Search
Build a production retrieval-augmented generation pipeline in plain JavaScript: ingest, chunk, embed, store in
Pipeworx
Live data gateway for AI — 4,600+ tools across 1,100+ verified sources, one MCP connection, with citations.
Filing Intelligence RAG
Local RAG pipeline over financial filings (Python, Chroma, sentence-transformers, Claude API). Structural cita
Ingest References
Indexes brandbook PDFs and image folders into the RAG database for creative reference during brand generation.
Related Agents
Supabase Substrate Explorer
Specialist research agent for discovering creative, non-obvious applications of the Supabase SUBSTRATE dimensi
AI Specialist
Expert in integrating LLMs, building RAG systems (pgvector), and creating MCP servers.
n8n Especialista
Construye y despliega workflows de n8n al estilo del Framework Bot (lemut_n8n): bots de Telegram con RAG, agen