local-rag
Build a local RAG index by splitting a document and embedding its chunks using the on-device engine (private/offline).
Skill by Xianleewu
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/xianleewu-local-rag
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, testing, data, ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/local-rag
What's inside
- Skill name
local-rag- Description
- Build a local RAG index by splitting a document and embedding its chunks using the on-device engine (private/offline). Use when the user wants to chunk and embed a document for retrieval, prepare files for local RAG, or test the engine's doc-split + embedding pipeline. Triggers on "RAG", "embed document", "chunk and embed", "index this doc", "文档切分", "本地知识库", "向量化文档".
- License
- MIT
- Instructions
- 19 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- run.py
SKILL.md (first lines)
# local-rag 用设备上的引擎把文档切块并求向量(本地 RAG 入库的前两步,数据不出设备)。 ## 前提 - `pip install -e <helper-repo>/sdk` 且 `ZETTOS_AI_BASE_URL` 指向引擎。 - 设备上已加载 `rag_text_embedding` 实例(用 `local-engine-admin` 查/加载)。 - 文档在**设备本机**路径上。 ## 用法 ```bash python run.py <RAG_INSTANCE_ID> </path/on/device/doc.txt> ``` 输出每个 chunk 的长度与向量维度。把 (chunk, vector) 存进你自己的向量库即可; 检索时再配合 `rerank` 与 `local-llm-chat` 完成问答。
From Xianleewu/zettos-ai-engine-helper, MIT.
More from Xianleewu/zettos-ai-engine-helper
- 0.514score
local-llm-chat
Xianleewu
Chat with the on-device local LLM running on a Zettlab NAS via the zettos-ai engine (fully private/offline).
SkillCFreshness: C★ 3Claude Code +9 - 0.509score
local-asr
Xianleewu
Transcribe audio or video to text using the on-device ASR model via the zettos-ai engine (private/offline).
SkillCFreshness: C★ 3Claude Code +9 - 0.509score
local-engine-admin
Xianleewu
Inspect, load, and release AI models on a Zettlab device's zettos-ai engine.
SkillCFreshness: C★ 3Claude Code +9 - 0.509score
local-ocr
Xianleewu
Extract text from an image using the on-device OCR model via the zettos-ai engine (private/offline).
SkillCFreshness: C★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 11, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Xianleewu
- 0.514score
local-llm-chat
Xianleewu
Chat with the on-device local LLM running on a Zettlab NAS via the zettos-ai engine (fully private/offline).
SkillCFreshness: C★ 3Claude Code +9 - 0.509score
local-asr
Xianleewu
Transcribe audio or video to text using the on-device ASR model via the zettos-ai engine (private/offline).
SkillCFreshness: C★ 3Claude Code +9 - 0.509score
local-engine-admin
Xianleewu
Inspect, load, and release AI models on a Zettlab device's zettos-ai engine.
SkillCFreshness: C★ 3Claude Code +9 - 0.509score
local-ocr
Xianleewu
Extract text from an image using the on-device OCR model via the zettos-ai engine (private/offline).
SkillCFreshness: C★ 3Claude Code +9
Cite this page
local-rag skill. Agent Mart. https://agentmart.dev/skills/xianleewu-local-rag (last updated 2026-10-24)