This is a clean two-tool wrapper around Butterbase's pgvector RAG pipeline. You create collections with fixed chunking params, ingest text or files (PDF, DOCX, etc.) asynchronously, poll until embeddings are ready, then query with optional LLM synthesis. The mental model is simple: collections hold documents, documents become chunks, queries do cosine similarity search. Access modes let you go from private (service-key only) to shared (any authenticated user) to custom RLS. Metadata filtering is exact-match key-value, so design your tags upfront. The chunk_size and chunk_overlap are immutable once set, which feels restrictive but forces you to think through your chunking strategy before you load 500 PDFs. Good for support bots, versioned docs, or multi-tenant knowledge bases where you need semantic search without reinventing embeddings infrastructure.

GitHub stars
532
last updated
Jun 11, 2026

Install

$ npx -y skills add butterbase-ai/butterbase-skills --skill rag-dev --agent claude-code

Installs into .claude/skills of the current project.

Files

Butterbase RAG (Retrieval-Augmented Generation)

Two tools cover the entire RAG surface:

  • manage_rag_content — collections, document ingestion, status polling, deletion
  • rag_query — semantic search, optional LLM synthesis

Documents are ingested asynchronously: text or files become embeddings stored in pgvector, and queries do a similarity search at runtime.


1. The mental model

Collection                        Documents                     Chunks
──────────                       ──────────                     ──────
"product-faq" ──────────────►   doc_1 (PDF) ───────────►       chunk 1, 2, 3...
                                doc_2 (text) ──────────►       chunk 4, 5...
                                doc_3 (markdown) ──────►       chunk 6...

A collection holds documents; a document is split into chunks and embedded; rag_query searches by cosine similarity across chunks within a collection.

chunk_size and chunk_overlap are set once at collection creation and immutable — to change them, delete and recreate the collection.


2. End-to-end workflow

Sponsors

Details

Repository
github.com/butterbase-ai/butterbase-skills
Categories
DevOps & CI/CD, AI & Agent Building, Automation & Workflows, Sales & Marketing, Databases
License
MIT
First seen
Jun 11, 2026

More from butterbase-ai/butterbase-skills

All 39
1claude-office-skills avatarPipedrive Automationclaude-office-skills/skillsAutomate Pipedrive CRM workflows including deal management, pipeline tracking, and sales reporting0skills.sh installs
2claude-office-skills avatarWebhook Automationclaude-office-skills/skillsBuild and manage webhook-based integrations for real-time event processing and API connections0skills.sh installs
3codeaholicguy avatardev-lifecyclecodeaholicguy/ai-devkitAI DevKit · Structured SDLC workflow with 8 phases — requirements, design review, planning, implementation, testing, and code review. Use when the user wants to0skills.sh installs
4composiohq avatarfrontend-designcomposiohq/awesome-claude-pluginsCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applicat0skills.sh installs
5countbot-ai avataragent-team-managercountbot-ai/countbot多智能体团队管理。创建、查看、修改、删除 CountBot 的多智能体团队,管理团队成员(角色)和团队级自定义模型配置。当用户要新建 Pipeline/Graph/Council 团队、调整成员分工、修改依赖关系、开关技能系统、设置团队专属模型时使用。0skills.sh installs
6daffy0208 avatardesign-system-architectdaffy0208/ai-dev-standardsBuild scalable, maintainable design systems that unify product experiences. Use when creating component libraries, design tokens, or establishing design standar0skills.sh installs