{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/raglite-library",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=raglite-library",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "scripts/install.sh",
      "scripts/openclaw.plugin.json",
      "scripts/raglite.sh",
      "SKILL.md",
      "manifest.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/raglite-library",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "RAGLite — a local RAG cache (not a memory replacement)",
        "body": "RAGLite is a local-first RAG cache.\n\nIt 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)."
      },
      {
        "title": "Why it’s better than “paid RAG” / knowledge bases (for many use cases)",
        "body": "Local-first privacy: keep sensitive data on your machine/network.\nOpen-source building blocks: Chroma 🧠 + ripgrep ⚡ — no managed vector DB required.\nCompression-before-embeddings: distill first → less fluff/duplication → cheaper prompts + more reliable retrieval.\nAuditable artifacts: the distilled Markdown is human-readable and version-controllable.\n\nIf you later outgrow local, you can swap in a hosted DB — but you often don’t need to."
      },
      {
        "title": "1) Condense ✍️",
        "body": "Turns docs into structured Markdown outputs (low fluff, more “what matters”)."
      },
      {
        "title": "2) Index 🧠",
        "body": "Embeds the distilled outputs into a Chroma collection (one DB, many collections)."
      },
      {
        "title": "3) Query 🔎",
        "body": "Hybrid retrieval:\n\nvector similarity via Chroma\nkeyword matches via ripgrep (rg)"
      },
      {
        "title": "Default engine",
        "body": "This skill defaults to OpenClaw 🦞 for condensation unless you pass --engine explicitly."
      },
      {
        "title": "Prereqs",
        "body": "Python 3.11+\nFor indexing/query:\n\nChroma server reachable (default http://127.0.0.1:8100)\n\n\nFor hybrid keyword search:\n\nrg installed (brew install ripgrep)\n\n\nFor OpenClaw engine:\n\nOpenClaw Gateway /v1/responses reachable\nOPENCLAW_GATEWAY_TOKEN set if your gateway requires auth"
      },
      {
        "title": "Install (skill runtime)",
        "body": "This skill installs RAGLite into a skill-local venv:\n\n./scripts/install.sh\n\nIt installs from GitHub:\n\ngit+https://github.com/VirajSanghvi1/raglite.git@main"
      },
      {
        "title": "One-command pipeline (recommended)",
        "body": "./scripts/raglite.sh run /path/to/docs \\\n  --out ./raglite_out \\\n  --collection my-docs \\\n  --chroma-url http://127.0.0.1:8100 \\\n  --skip-existing \\\n  --skip-indexed \\\n  --nodes"
      },
      {
        "title": "Query",
        "body": "./scripts/raglite.sh query ./raglite_out \\\n  --collection my-docs \\\n  --top-k 5 \\\n  --keyword-top-k 5 \\\n  \"rollback procedure\""
      },
      {
        "title": "Outputs (what gets written)",
        "body": "In --out you’ll see:\n\n*.tool-summary.md\n*.execution-notes.md\noptional: *.outline.md\noptional: */nodes/*.md plus per-doc *.index.md and a root index.md\nmetadata in .raglite/ (cache, run stats, errors)"
      },
      {
        "title": "Troubleshooting",
        "body": "Chroma not reachable → check --chroma-url, and that Chroma is running.\nNo keyword results → install ripgrep (rg --version).\nOpenClaw engine errors → ensure gateway is up and token env var is set."
      },
      {
        "title": "Pitch (for ClawHub listing)",
        "body": "RAGLite is a local RAG cache for repeated lookups.\n\nWhen 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:\n\nDistill to structured Markdown (compression-before-embeddings)\nIndex locally into Chroma\nQuery with hybrid retrieval (vector + keyword)\n\nIt doesn’t replace memory/context — it’s the place to store what you need again."
      }
    ],
    "body": "RAGLite — a local RAG cache (not a memory replacement)\n\nRAGLite is a local-first RAG cache.\n\nIt 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).\n\nWhy it’s better than “paid RAG” / knowledge bases (for many use cases)\nLocal-first privacy: keep sensitive data on your machine/network.\nOpen-source building blocks: Chroma 🧠 + ripgrep ⚡ — no managed vector DB required.\nCompression-before-embeddings: distill first → less fluff/duplication → cheaper prompts + more reliable retrieval.\nAuditable artifacts: the distilled Markdown is human-readable and version-controllable.\n\nIf you later outgrow local, you can swap in a hosted DB — but you often don’t need to.\n\nWhat it does\n1) Condense ✍️\n\nTurns docs into structured Markdown outputs (low fluff, more “what matters”).\n\n2) Index 🧠\n\nEmbeds the distilled outputs into a Chroma collection (one DB, many collections).\n\n3) Query 🔎\n\nHybrid retrieval:\n\nvector similarity via Chroma\nkeyword matches via ripgrep (rg)\nDefault engine\n\nThis skill defaults to OpenClaw 🦞 for condensation unless you pass --engine explicitly.\n\nPrereqs\nPython 3.11+\nFor indexing/query:\nChroma server reachable (default http://127.0.0.1:8100)\nFor hybrid keyword search:\nrg installed (brew install ripgrep)\nFor OpenClaw engine:\nOpenClaw Gateway /v1/responses reachable\nOPENCLAW_GATEWAY_TOKEN set if your gateway requires auth\nInstall (skill runtime)\n\nThis skill installs RAGLite into a skill-local venv:\n\n./scripts/install.sh\n\n\nIt installs from GitHub:\n\ngit+https://github.com/VirajSanghvi1/raglite.git@main\nUsage\nOne-command pipeline (recommended)\n./scripts/raglite.sh run /path/to/docs \\\n  --out ./raglite_out \\\n  --collection my-docs \\\n  --chroma-url http://127.0.0.1:8100 \\\n  --skip-existing \\\n  --skip-indexed \\\n  --nodes\n\nQuery\n./scripts/raglite.sh query ./raglite_out \\\n  --collection my-docs \\\n  --top-k 5 \\\n  --keyword-top-k 5 \\\n  \"rollback procedure\"\n\nOutputs (what gets written)\n\nIn --out you’ll see:\n\n*.tool-summary.md\n*.execution-notes.md\noptional: *.outline.md\noptional: */nodes/*.md plus per-doc *.index.md and a root index.md\nmetadata in .raglite/ (cache, run stats, errors)\nTroubleshooting\nChroma not reachable → check --chroma-url, and that Chroma is running.\nNo keyword results → install ripgrep (rg --version).\nOpenClaw engine errors → ensure gateway is up and token env var is set.\nPitch (for ClawHub listing)\n\nRAGLite is a local RAG cache for repeated lookups.\n\nWhen 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:\n\nDistill to structured Markdown (compression-before-embeddings)\nIndex locally into Chroma\nQuery with hybrid retrieval (vector + keyword)\n\nIt doesn’t replace memory/context — it’s the place to store what you need again."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/VirajSanghvi1/raglite-library",
    "publisherUrl": "https://clawhub.ai/VirajSanghvi1/raglite-library",
    "owner": "VirajSanghvi1",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}