Agent skill · Content & Marketing

rag-dev

Use when building knowledge bases, ingesting documents, running semantic search, or adding LLM-synthesized Q&A over private content with Butterbase RAG

butterbase.ai2,831★ · +400/wk · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add butterbase-ai/butterbase-skills --skill rag-dev --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/rag-dev/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 532

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 ``` ┌────────────────────────────────────────────┐ │ 1. create_collection (once per knowledge) │ ├────────────────────────────────────────────┤ │ 2. ingest_document (text OR storage_object)│ ├────────────────────────────────────────────┤ │ 3. pol

What's inside
Steps it walks through
  1. 1. The mental model
  2. 2. End-to-end workflow
  3. Step 1 — create the collection
  4. Step 2a — ingest raw text
  5. Step 2b — ingest an uploaded file
  6. Step 3 — poll until ready
  7. Step 4 — query
  8. 3. Listing and cleanup
  9. 4. Choosing chunk size and overlap
  10. 5. Metadata-driven filtering
  11. 6. Common patterns
  12. Customer-support bot
  13. Per-tenant knowledge base
  14. Versioned docs
More from butterbase-skills
All skills →
About this skill
What does the rag-dev skill do?

Use when building knowledge bases, ingesting documents, running semantic search, or adding LLM-synthesized Q&A over private content with Butterbase RAG

How do I install it?

Run `npx skills add butterbase-ai/butterbase-skills --skill rag-dev --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From butterbase-ai/butterbase-skills, a repository with 532 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going