# Send RAG to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "rag",
    "name": "RAG",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/ivangdavila/rag",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/rag",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/rag",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=rag",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "architecture.md",
      "evaluation.md",
      "implementation.md",
      "security.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "rag",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T07:41:35.006Z",
      "expiresAt": "2026-05-10T07:41:35.006Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=rag",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=rag",
        "contentDisposition": "attachment; filename=\"rag-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "rag"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/rag"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/rag",
    "downloadUrl": "https://openagent3.xyz/downloads/rag",
    "agentUrl": "https://openagent3.xyz/skills/rag/agent",
    "manifestUrl": "https://openagent3.xyz/skills/rag/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/rag/agent.md"
  }
}
```
## Documentation

### When to Use

User wants to implement, improve, or troubleshoot Retrieval-Augmented Generation systems.

### Quick Reference

TopicFilePipeline components & architecturearchitecture.mdImplementation patterns & codeimplementation.mdEvaluation metrics & debuggingevaluation.mdSecurity & compliancesecurity.md

### Core Capabilities

Architecture design — Select embedding models, vector DBs, and chunking strategies based on requirements
Implementation — Write ingestion pipelines, query handlers, and update logic
Retrieval optimization — Tune top-k, reranking, hybrid search parameters
Evaluation — Build test datasets, measure recall/precision, diagnose failures
Production ops — Monitor quality drift, set up alerts, debug degradation
Security — PII detection, access control, compliance requirements

### Decision Checklist

Before recommending architecture, ask:

What document types and volume?
 Latency requirements (real-time chat vs batch)?
 Update frequency (how often do docs change)?
 Access control needs (who can see what)?
 Compliance constraints (GDPR, HIPAA, SOC2)?
 Budget (managed vs self-hosted, embedding costs)?

### Critical Rules

Never skip access control — Filter at retrieval time, not after
Always overlap chunks — 10-20% prevents context loss at boundaries
Evaluate before optimizing — Build eval dataset first, then tune
Same embedding model — Query and documents must use identical model
Monitor similarity scores — Dropping averages signal drift or issues
Plan for deletion — GDPR erasure requires re-embedding capability

### Common Failure Patterns

SymptomLikely CauseFixWrong docs retrievedQuery too vague, poor chunksQuery expansion, smaller chunksRelevant doc missedNot indexed, low similarityCheck ingestion, hybrid searchHallucinated answersContext too shortIncrease top-k, better rerankingSlow responsesLarge chunks, no cachingOptimize chunk size, cache embeddingsInconsistent resultsNon-deterministic rerankingSet seeds, use stable sorting
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ivangdavila
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-03T07:41:35.006Z
- Expires at: 2026-05-10T07:41:35.006Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/rag)
- [Send to Agent page](https://openagent3.xyz/skills/rag/agent)
- [JSON manifest](https://openagent3.xyz/skills/rag/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/rag/agent.md)
- [Download page](https://openagent3.xyz/downloads/rag)