# Send RAGLite - Local Expandable Library AI Library 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": "raglite-library",
    "name": "RAGLite - Local Expandable Library AI Library",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/VirajSanghvi1/raglite-library",
    "canonicalUrl": "https://clawhub.ai/VirajSanghvi1/raglite-library",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/raglite-library",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=raglite-library",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "scripts/install.sh",
      "scripts/openclaw.plugin.json",
      "scripts/raglite.sh",
      "SKILL.md",
      "manifest.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "raglite-library",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T01:12:54.284Z",
      "expiresAt": "2026-05-08T01:12:54.284Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=raglite-library",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=raglite-library",
        "contentDisposition": "attachment; filename=\"raglite-library-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "raglite-library"
      },
      "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/raglite-library"
    },
    "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/raglite-library",
    "downloadUrl": "https://openagent3.xyz/downloads/raglite-library",
    "agentUrl": "https://openagent3.xyz/skills/raglite-library/agent",
    "manifestUrl": "https://openagent3.xyz/skills/raglite-library/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/raglite-library/agent.md"
  }
}
```
## Documentation

### RAGLite — a local RAG cache (not a memory replacement)

RAGLite is a local-first RAG cache.

It does not replace model memory or chat context. It gives your agent a durable place to store and retrieve information the model wasn’t trained on — especially useful for local/private knowledge (school work, personal notes, medical records, internal runbooks).

### Why it’s better than “paid RAG” / knowledge bases (for many use cases)

Local-first privacy: keep sensitive data on your machine/network.
Open-source building blocks: Chroma 🧠 + ripgrep ⚡ — no managed vector DB required.
Compression-before-embeddings: distill first → less fluff/duplication → cheaper prompts + more reliable retrieval.
Auditable artifacts: the distilled Markdown is human-readable and version-controllable.

If you later outgrow local, you can swap in a hosted DB — but you often don’t need to.

### 1) Condense ✍️

Turns docs into structured Markdown outputs (low fluff, more “what matters”).

### 2) Index 🧠

Embeds the distilled outputs into a Chroma collection (one DB, many collections).

### 3) Query 🔎

Hybrid retrieval:

vector similarity via Chroma
keyword matches via ripgrep (rg)

### Default engine

This skill defaults to OpenClaw 🦞 for condensation unless you pass --engine explicitly.

### Prereqs

Python 3.11+
For indexing/query:

Chroma server reachable (default http://127.0.0.1:8100)


For hybrid keyword search:

rg installed (brew install ripgrep)


For OpenClaw engine:

OpenClaw Gateway /v1/responses reachable
OPENCLAW_GATEWAY_TOKEN set if your gateway requires auth

### Install (skill runtime)

This skill installs RAGLite into a skill-local venv:

./scripts/install.sh

It installs from GitHub:

git+https://github.com/VirajSanghvi1/raglite.git@main

### One-command pipeline (recommended)

./scripts/raglite.sh run /path/to/docs \\
  --out ./raglite_out \\
  --collection my-docs \\
  --chroma-url http://127.0.0.1:8100 \\
  --skip-existing \\
  --skip-indexed \\
  --nodes

### Query

./scripts/raglite.sh query ./raglite_out \\
  --collection my-docs \\
  --top-k 5 \\
  --keyword-top-k 5 \\
  "rollback procedure"

### Outputs (what gets written)

In --out you’ll see:

*.tool-summary.md
*.execution-notes.md
optional: *.outline.md
optional: */nodes/*.md plus per-doc *.index.md and a root index.md
metadata in .raglite/ (cache, run stats, errors)

### Troubleshooting

Chroma not reachable → check --chroma-url, and that Chroma is running.
No keyword results → install ripgrep (rg --version).
OpenClaw engine errors → ensure gateway is up and token env var is set.

### Pitch (for ClawHub listing)

RAGLite is a local RAG cache for repeated lookups.

When you (or your agent) keep re-searching for the same non-training data — local notes, school work, medical records, internal docs — RAGLite gives you a private, auditable library:

Distill to structured Markdown (compression-before-embeddings)
Index locally into Chroma
Query with hybrid retrieval (vector + keyword)

It doesn’t replace memory/context — it’s the place to store what you need again.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: VirajSanghvi1
- 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-01T01:12:54.284Z
- Expires at: 2026-05-08T01:12:54.284Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/raglite-library)
- [Send to Agent page](https://openagent3.xyz/skills/raglite-library/agent)
- [JSON manifest](https://openagent3.xyz/skills/raglite-library/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/raglite-library/agent.md)
- [Download page](https://openagent3.xyz/downloads/raglite-library)