rag-knowledge
/rag-knowledge
Work with the RAG knowledge base — ingest documents, run semantic search, manage collections, or add a sync source/connector (Google Drive, S3). Use when populating or debugging the knowledge base, tuning retrieval, or adding a new document source. This project uses {{ cookiecutter.vector_store }} + {{ cookiecutter.embedding_provider }} embeddings.
- Author
- AnkonKumarSingh ↗
- Repository
- InnovateIT-Agent-OS-AI-Agent-Platform ↗
- Licence
- MIT
- Last repository change
- 06.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 06.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Work with the RAG knowledge base — ingest documents, run semantic search, manage collections, or add a sync source/connector (Google Drive, S3). Use when populating or debugging the knowledge base, tuning retrieval, or adding a new document source. This project uses {{ cookiecutter.vector_store }} + {{ cookiecutter.embedding_provider }} embeddings.
Original author description
Work with the RAG knowledge base — ingest documents, run semantic search, manage collections, or add a sync source/connector (Google Drive, S3). Use when populating or debugging the knowledge base, tuning retrieval, or adding a new document source. This project uses {{ cookiecutter.vector_store }} + {{ cookiecutter.embedding_provider }} embeddings.
How it works
- CLI (run from backend/)
- Sync sources (connectors)
- Adding a new connector type
- Tuning retrieval
- Rules
SKILL.md preview
---
name: rag-knowledge
description: Work with the RAG knowledge base — ingest documents, run semantic search, manage collections, or add a sync source/connector (Google Drive, S3). Use when populating or debugging the knowledge base, tuning retrieval, or adding a new document source. This project uses {{ cookiecutter.vector_store }} + {{ cookiecutter.embedding_provider }} embeddings.
---
# RAG Knowledge Base ({{ cookiecutter.vector_store }})
The RAG stack lives in `backend/app/services/rag/` (ingestion, vectorstore, embeddings, connectors). Retrieval is exposed to the agent as the `search_knowledge_base` tool, and to operators via the CLI and the dashboard.
## CLI (run from `backend/`)
```bash
uv run {{ cookiecutter.project_slug }} cmd rag-ingest ./docs/ --collection docs --recursive # ingest files/folder
uv run {{ cookiecutter.project_slug }} cmd rag-search "your question" --collection docs # semantic search
uv run {{ cookiecutter.project_slug }} cmd rag-collections # list collections
uv run {{ cookiecutter.project_slug }} cmd rag-stats # chunk/vector counts
uv run {{ cookiecutter.project_slug }} cmd rag-drop <collection> --yes # delete a collection
```
Ingestion = parse → chunk → embed → upsert into {{ cookiecutter.vector_store }}. Re-ingesting the same source updates it (use `--no-replace` / `--sync-mode` to control dedupe).
## Sync sources (connectors)
Connectors keep a collection in sync with an external source (Google Drive, S3/MinIO) on a schedule, and can be managed per-organization from the dashboard (`/orgs/[id]/integrations`) or via CLI:
```bash
uv run {{ cookiecutter.project_slug }} cmd rag-sources # list
uv run {{ cookiecutter.project_slug }} cmd rag-source-add # add (interactive)
uv run {{ cookiecutter.project_slug }} cmd rag-source-sync --all # trigger a sync
```
Connector credentials are encrypted at rest with `CHANNEL_ENCRYPTION_KEY` (Fernet).
## Adding a new connector type
Implement a connector in `backend/app/services/rag/connectors/` following the existing Google Drive / S3 connectors, register it in the connector registry, and expose its config fields. See `docs/howto/add-sync-connector.md` and `docs/howto/configure-sync-sources.md`.
## Tuning retrieval
- Chunk size/overlap and parser (PyMuPDF / LlamaParse) are configured via env — see `docs/configuration.md` and `docs/rag.md`.
- Reranking (Cohere or local CrossEncoder) improves result ordering when enabled.
- If search returns poor results: confirm the collection is populated (`rag-stats`), check the active collection in the chat's KB selector, and verify the embedding provider/key.
## Rules
- Embedding provider and dimensions are fixed per project ({{ cookiecutter.embedding_provider }}) — don't mix embeddings across a collection; re-ingest if you change them.
- Heavy ingestion runs as a background job, not inline in a request.
- See `docs/rag.md` for the full pipeline reference.
Versions
The database has no other skills named rag-knowledge.
Database snapshot: 13.11.2026 · package version 2d4d6ebc9294 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100knowledge-rag
Add or update TerMinal Knowledge Base entries backed by the lyonzin/knowledge-rag local RAG MCP server. Use when the user wants category-specific RAG knowledge, semantic/vector search over docs, URL/document ingestion into the Knowledge Base, or help configuring the Knowledge… - 88orchata-rag
Knowledge management and RAG platform with tree-based document indexing. Use this skill to search, browse, and manage Orchata knowledge bases via MCP tools. - 85haiku-rag
Search, read and compute over the user's haiku.rag knowledge base through the haiku-rag MCP tools. Use whenever a request could be answered from the user's ingested documents, when asked to find, look up, check or cite something in their documents or knowledge base, or when the… - 90knowledge-ingest
Builds the local knowledge base for retrieval (RAG) together with its curated router. Use when the user says "remember this", "add to the knowledge base", "build a page for this repo", after reading docs, wiki pages, code or tickets that will matter again, after a research round… - 100zeabur-rag-search
Search the RAG knowledge base via hybrid search (semantic + BM25). Use whenever answering technical questions that may be covered in your knowledge base — even if the user doesn't explicitly ask you to search. Also use when you need to verify claims or find up-to-date information. - 100knowledge-connect
Manage knowledge integration via MCP, Vector DBs, and A2A connectors. Use when: Connect to knowledge base, Ingest documentation, Query vector database, Setup RAG pipeline, Index project files.