anythingllm-rag
/install anythingllm-rag
AnythingLLM RAG Skill
Query local/private documents through AnythingLLM's RAG API.
Configuration
Environment variables (set in TOOLS.md or shell):
ANYTHINGLLM_URL— defaulthttp://localhost:3001ANYTHINGLLM_API_KEY— API tokenANYTHINGLLM_WORKSPACE— default workspace slug
Script location: scripts/anythingllm.sh
When to Use
Use AnythingLLM RAG when:
- User asks about their local/private documents
- User wants to search uploaded PDFs, DOCX, TXT files
- User asks "what does X document say about Y"
- User wants to upload documents to the knowledge base
Use default model when:
- General knowledge questions
- Questions not related to local documents
- Coding, writing, analysis without document context
Commands
Query documents (RAG)
bash scripts/anythingllm.sh query "你的问题"
Upload a file
bash scripts/anythingllm.sh upload /path/to/file.pdf
Upload raw text
bash scripts/anythingllm.sh upload-text "文本内容" "文档标题"
List documents
bash scripts/anythingllm.sh list-docs
Check API health
bash scripts/anythingllm.sh health
Response Format
Query returns JSON with:
textResponse— the RAG-generated answersources— array of source documents used for context
Present the answer to the user, citing relevant sources when available.
Notes
- Scripts are in the skill's
scripts/directory — use paths relative to skill location - API key and workspace are pre-configured
- For PDF/DOCX queries, documents must be uploaded first
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install anythingllm-rag - 安装完成后,直接呼叫该 Skill 的名称或使用
/anythingllm-rag触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
anythingllm-rag 是什么?
Query local documents via AnythingLLM RAG (Retrieval-Augmented Generation). Use when the user asks about their private/local documents, PDFs, uploaded files,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 210 次。
如何安装 anythingllm-rag?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install anythingllm-rag」即可一键安装,无需额外配置。
anythingllm-rag 是免费的吗?
是的,anythingllm-rag 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
anythingllm-rag 支持哪些平台?
anythingllm-rag 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 anythingllm-rag?
由 Scott Tian(@tianmaomao)开发并维护,当前版本 v1.0.0。