Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
mindmorass avatar

Rag Wrapper

  • 19 installs
  • 2 repo stars
  • Updated February 12, 2026
  • mindmorass/reflex

Helps with ai & agent building tasks.

About

rag-wrapper is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • rag-wrapper
  • AI & Agent Building
  • AI-coding skill

Rag Wrapper by the numbers

  • 19 all-time installs (skills.sh)
  • Ranked #10,587 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/mindmorass/reflex --skill rag-wrapper

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs19
repo stars2
Last updatedFebruary 12, 2026
Repositorymindmorass/reflex

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

RAG Wrapper Patterns

Patterns for augmenting any agent with Qdrant context retrieval.

Quick Start

To wrap an agent with RAG:

Use rag-proxy agent:
  Target: {agent-to-wrap}
  Task: {the task}

Manual Wrapping Pattern

If you need custom control, follow this pattern:

Step 1: Query Relevant Context

Tool: qdrant-find
Query: {key terms from task}

Step 2: Format Context Block

## Retrieved Context

### Source: {metadata.source}
Harvested: {metadata.harvested_at}
Type: {metadata.type}

{document content}

---

Step 3: Prepend to Task

{context blocks}

## Task

{original task}

---
Note: Above context is from stored knowledge. Verify if needed.

Step 4: Delegate

Tool: Task
Agent: {target-agent}
Prompt: {enriched prompt}

Enriched Prompt Template

# Context from Stored Knowledge

The following relevant information was retrieved from project memory:

{{#each contexts}}
## From Qdrant
**Source:** {{metadata.source}}
**Harvested:** {{metadata.harvested_at}}

{{content}}

---
{{/each}}

# Your Task

{{original_task}}

---

**Note:** The context above comes from previously harvested research.
Use it if relevant, but verify currency for time-sensitive information.
The `harvested_at` dates indicate when the content was stored.

Selective Wrapping

Not all tasks need RAG. Skip for:

Task TypeWrap?Reason
Fresh researchNoNeed current, not cached data
Simple editsNoContext not needed
RAG-aware agentsNoAlready query Qdrant
ImplementationYesBenefit from patterns, decisions
DebuggingYesPrevious solutions may help
ArchitectureYesDecisions and constraints matter

Agent-Collection Affinity

Map agent types to useful query topics:

Agent TypeQuery Topics
frontend-developerreact, design system, components
backend-architectapi, architecture, decisions
security-auditorsecurity, authentication, vulnerabilities
devopsinfrastructure, terraform, deployment
testertesting, coverage, quality

Storing Results

After the target agent completes:

Tool: qdrant-store
Information: "<valuable findings>"
Metadata:
  source: "agent-output"
  type: "generated"
  harvested_at: "<ISO date>"
  tags: "<relevant,keywords>"

Error Handling

ScenarioAction
Empty query resultsProceed without context
Qdrant unavailableFall back to unwrapped delegation
Target agent failsReport error, don't retry with less context

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.