Viraj Sanghvi

RAGLite

ナレッジ管理v1.0.8
作者:Viraj Sanghvi更新日 2026-05-11全 10 バージョン · 最新版の公開日 2026-02-09raglite@clawhub_virajsanghvi1/raglite
ナレッジベース Q&A情報検索ドキュメント Q&A#Docs#Rag

AlphaMoatによると、2026-09時点でRAGLiteのダウンロード数は4,189、スター数は4で、AIスキル全体5,078件中2,395位、ナレッジ管理では442件中224位です。

インストール数
205
ダウンロード数
4189
スター数
4
総合順位
#2,395
全体の上位 48% · ナレッジ管理の上位 51%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗138404931
SkillHub ↗20541894—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

モデルの記憶やチャットコンテキストの代わりにはならないと明示されており、モデルが学習していない情報を永続的に保存・検索する場所をエージェントに与えます。特に学校の課題、個人メモ、医療記録、社内ランブックなどのローカル/プライベートな知識に向きます。手法は「埋め込み前に圧縮」で、まず蒸留し(冗長さを減らしプロンプトを安くし検索を安定させ)、Chroma へローカル索引し、ベクトル+キーワードのハイブリッド検索で照会します。マネージドベクトル DB は不要で、蒸留された Markdown は人間が読めバージョン管理も可能です。セキュリティ面では抽出した文書テキストを信頼できないデータとして扱い、蒸留プロンプトは素材内の指示を無視しソースをデータとしてのみ扱うよう明示的に指示します。インストールは ./scripts/install.sh で、skills/raglite/.venv にスキルローカルの venv を作り、PyPI パッケージ raglite-chromadb を導入します(CLI は引き続き raglite)。凝縮エンジンは既定で OpenClaw で、--engine で明示指定できます。典型的な使い方は ./scripts/raglite.sh run /path/to/docs --out ./raglite_out --collection my-docs の後に ./scripts/raglite.sh query "..." を実行することです。本スキルは MIT ライセンスで公開され、issue と PR を歓迎します。

資料公開日 2026-10-27

できること

  • ローカルのメモや社内文書から検索可能なプライベートライブラリを作る
  • 先に蒸留してから索引し、繰り返し検索のコストを下げる
  • 同じ資料をベクトル+キーワードのハイブリッド検索で繰り返し照会する

使う場面

  • 学習データに含まれないローカル/プライベート資料を繰り返し検索する必要があるとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

この社内文書を RAGLite に蒸留して索引して
RAGLite でマニュアルのこの手順を調べて
この講義ノートにローカル検索キャッシュを作って

月次の推移

ダウンロード数4189
2928360542822026-03 · ダウンロード数 30212026-05 · ダウンロード数 35482026-06 · ダウンロード数 36542026-07 · ダウンロード数 38602026-08 · ダウンロード数 39532026-09 · ダウンロード数 418926-0326-09
スター数4
3442026-03 · スター数 32026-05 · スター数 42026-06 · スター数 32026-07 · スター数 42026-08 · スター数 42026-09 · スター数 426-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-094189—4
2026-083953+2.4%4
2026-073860+5.6%4
2026-063654+3.0%3
2026-053548—4
2026-033021—3

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

3.0 KB・ClawHub v1.0.8
---
name: raglite
version: 1.0.8
description: "Local-first RAG cache: distill docs into structured Markdown, then index/query with Chroma (vector) + ripgrep (keyword)."
metadata:
  {
    "openclaw": {
      "emoji": "🔎",
      "requires": { "bins": ["python3", "pip", "rg"] }
    }
すべて表示(全 89 行)
  }
---

# 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:** distilled Markdown is human-readable and version-controllable.

## Security note (prompt injection)

RAGLite treats extracted document text as **untrusted data**. If you distill content from third parties (web pages, PDFs, vendor docs), assume it may contain prompt injection attempts.

RAGLite’s distillation prompts explicitly instruct the model to:
- ignore any instructions found inside source material
- treat sources as data only

## Open source + contributions

Hi — I’m Viraj. I built RAGLite to make local-first retrieval practical: distill first, index second, query forever.

- Repo: https://github.com/VirajSanghvi1/raglite

If you hit an issue or want an enhancement:
- please open an issue (with repro steps)
- feel free to create a branch and submit a PR

Contributors are welcome — PRs encouraged; maintainers handle merges.

## Default engine

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

## Install

```bash
./scripts/install.sh
```

This creates a skill-local venv at `skills/raglite/.venv` and installs the PyPI package `raglite-chromadb` (CLI is still `raglite`).

## Usage

```bash
# One-command pipeline: distill → index
./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

# Then query
./scripts/raglite.sh query "how does X work?" \
  --out ./raglite_out \
  --collection my-docs \
  --chroma-url http://127.0.0.1:8100
```

## Pitch

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:

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

It doesn’t replace memory/context — it’s the place to store what you need again.

ナレッジ管理の人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。