aio-rag-kit

aio-rag-kit is a skill for Claude Code from aiocean/claude-plugins. It costs 59 tokens per session (1,084 once invoked), scanned B, original, MIT.

A toolkit for storing content as searchable vectors in Qdrant, a vector database, and retrieving relevant passages for RAG (retrieval-augmented generation). RAG lets an AI answer using information from a specific knowledge base.

In plain words
What is it for?
Set up Qdrant collections, index documents, create embeddings, and run meaning-based searches for AI applications.
Why use it?
It removes the need to search documents only by exact words. The AI can find content with a similar meaning and use it when generating answers.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

Part of the aio-research plugin — 2 skills shipped together

Good fit Set up Qdrant collections, index documents, create embeddings, and run meaning-based searches for AI applications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aiocean/claude-plugins/aio-rag-kit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aiocean/claude-plugins --skill aio-rag-kit
Clone the repo
git clone --depth 1 https://github.com/aiocean/claude-plugins

Made for: Claude Code.

Or install aio-research, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aio-rag-kit

README.md
[![agentmods](https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-rag-kit/github.svg)](https://agentmods.dev/skills/aiocean/claude-plugins/aio-rag-kit)
Your own site
<a href="https://agentmods.dev/skills/aiocean/claude-plugins/aio-rag-kit"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-rag-kit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aio-rag-kit

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiocean/claude-plugins/aio-rag-kit"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-rag-kit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,084 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.01084
Opus 5 $0.00030 $0.00542
Sonnet 5 $0.00012 $0.00217
Haiku 4.5 $0.00006 $0.00108

Measured 5d ago against content hash c1ba9597f9be, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

aio-rag-kit scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

- MCP configured: !`cat .mcp.json 2>/dev/null | grep -q rag && echo "YES" || echo "NO"`
plugins/aio-research/skills/aio-rag-kit/SKILL.md · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.

RAG Kit Skill

Vector database operations (Qdrant) for Retrieval-Augmented Generation via nguyenvanduocit/rag-kit.

Environment

  • Go: !which go 2>/dev/null || echo "NOT INSTALLED"
  • rag-kit: !which rag-kit 2>/dev/null || echo "NOT INSTALLED"
  • rag-cli: !which rag-cli 2>/dev/null || echo "NOT INSTALLED"
  • QDRANT_HOST: !echo ${QDRANT_HOST:-NOT SET}
  • QDRANT_PORT: !echo ${QDRANT_PORT:-NOT SET}
  • QDRANT_API_KEY: ![ -n "$QDRANT_API_KEY" ] && echo "SET" || echo "NOT SET"
  • OPENAI_API_KEY: ![ -n "$OPENAI_API_KEY" ] && echo "SET" || echo "NOT SET"
  • MCP configured: !cat .mcp.json 2>/dev/null | grep -q rag && echo "YES" || echo "NO"

Install (skip if already installed above)

Prerequisites: Qdrant running (local or cloud) + OpenAI API key for embeddings.

# Run Qdrant locally
docker run -d --name qdrant -p 6333:6333 -p 6334:6334 qdrant/qdrant

# Install binaries
go install github.com/nguyenvanduocit/rag-kit@latest
go install github.com/nguyenvanduocit/rag-kit/cmd/rag-cli@latest

Or use Qdrant Cloud: https://cloud.qdrant.io/

Add to .mcp.json:

{
  "mcpServers": {
    "rag": {
      "command": "rag-kit",
      "env": {
        "QDRANT_HOST": "localhost",
        "QDRANT_PORT": "6333",
        "QDRANT_API_KEY": "",
        "OPENAI_API_KEY": "sk-xxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

Optional: ENABLE_TOOLS — comma-separated list to restrict available tool groups. Restart Claude Code after configuring.

MCP Tools (prefix: rag_)

Collection Management

Tool Usage
rag_create_collection (collection_name: "docs", vector_size: 1536) — use 1536 for OpenAI text-embedding-3-small
rag_list_collections ()
rag_delete_collection (collection_name: "docs")

Content Indexing

rag_index_content(
  collection_name: "docs",
  content: "Document text to index...",
  metadata: {"source": "readme.md", "section": "introduction"}
)
rag_delete_index(collection_name: "docs", point_id: "abc123")

Read the full file on GitHub · 117 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 117 lines · 59 tokens per session scan B c1ba9597f9be

Subscribe to this mod's changes

aio-rag-kit is a skill published in the GitHub repository aiocean/claude-plugins (4 stars, last pushed 6d ago), licensed MIT. It adds 59 tokens to every session and 1,084 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.