/install docsagent
DocsAgent Skill
DocsAgent is a local-first documentation engine designed to perform lightning-fast hybrid search (text and semantic search) over your private local files.
Key Features
- Privacy-First: All indexing and searching happen 100% locally on your machine. No documents or data ever leave your system.
- Hybrid Search: Combines semantic and keyword-based text search for high accuracy.
- Supported Formats: Optimized for PDF, PPTX, and DOCX files.
- No Web Dependency: This tool does not perform web searches. It relies on a local index you create.
Privacy Guarantee
- 100% Local: All processing, indexing, and search operations are performed entirely on your machine.
- Zero Data Leakage: No data is sent to external servers. Your documents remain private.
When to use
- Use this when searching for information within your own private documentation, research papers, reports, or presentations.
- Do not use this for general internet queries, news, or public website information.
Installation
DocsAgent is a CLI toolkit, when you install the global docsagent package, You can directly use 'docsagent' command.
npm install @docsagent/docsagent
For more information, please see https://github.com/docsagent/docsagent.
Usage Guidelines
1. Add Documentation
Adds directory or file paths (PDF, DOCX, PPTX) to the index. You can pass multiple paths at once.
# Add a single directory
docsagent add ./documents/manuals
# Add multiple files and directories at once
docsagent add ./reports/q1.pdf ./presentation.pptx ./notes/meeting-files
- Use case: Use to index folders or specific private files for searchability.
2. Search Documents
Performs a hybrid search (text + semantic) across your indexed private documents.
# Search for a specific topic
docsagent search "how to configure local encryption"
# Search for technical concepts
docsagent search "API authentication process"
The tool returns the most relevant snippets with their source paths and scores.
- Important: Ensure your documents have been indexed using the
addoperation before searching.
3. List Indexed Sources
Lists all files currently being monitored or indexed.
docsagent list
4. Check Status
Shows the indexing progress and service health.
docsagent status
5. Stop Agent
Stops the indexing service.
docsagent stop
Workflow: Answering Questions from Local Docs
- Check Index: If unsure if the documents are indexed, you can try a
searchfirst. - Search: Execute
searchwith a specific query derived from the user's request. - Analyze: Review the context returned. If multiple snippets are found, synthesize them into a coherent answer.
- Cite Sources: Always mention the file path and page number (if available) in your response.
Error Handling
- If
searchreturns "No results found", inform the user and ask if they want to index a specific directory usingadd. - If a path is not found during
add, verify the path exists before retrying.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install docsagent - 安装完成后,直接呼叫该 Skill 的名称或使用
/docsagent触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
DocsAgent 是什么?
Search and manage private, local document collections (PDF, PPTX, DOCX) offline. Use when you need to find information within your private files, not for web... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 116 次。
如何安装 DocsAgent?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install docsagent」即可一键安装,无需额外配置。
DocsAgent 是免费的吗?
是的,DocsAgent 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
DocsAgent 支持哪些平台?
DocsAgent 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 DocsAgent?
由 docsagent(@docsagent)开发并维护,当前版本 v1.0.1。