autorag-lite-setup
Skill này làm gì
Skill này thiết lập máy chủ MCP của AutoRAG Lite, chọn các thư mục được phép, xây dựng chỉ mục tìm kiếm và kiểm tra rằng tìm kiếm hoạt động. Skill dành cho người muốn tìm kiếm tài liệu mà không cần thiết lập mô hình.
Khi nào nên dùng
- ✓Khi máy chủ autorag-mcp bị thiếu hoặc không kết nối được.
- ✓Khi các chỉ mục tìm kiếm AutoRAG Lite của bạn đã cũ.
- ✓Khi bạn muốn thêm các thư mục tài liệu của mình vào AutoRAG Lite.
Liên kết skill
https://github.com/Marker-Inc-Korea/AutoRAG/blob/main/skills/autorag-lite-setup/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thiết lập AutoRAG Lite để agent của tôi có thể tìm trong thư mục ghi chú trên máy tính của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent cài đặt gói, đăng ký máy chủ với công cụ của bạn, xây dựng chỉ mục cho các thư mục được phép và chạy một tìm kiếm thử. Agent không bao giờ thay đổi các tệp nguồn của bạn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
AutoRAG Lite setup
Use this skill only to bootstrap, register, or repair AutoRAG Lite MCP:
initialize trusted config, connect the host, build indexes, and verify search.
Normal Lite use is MCP tool calling, not a search skill or shell command.
Use autorag-setup instead when the model-backed librarian must be configured.
Safety
- Inspect only non-secret config metadata:
searchPaths,workspacePath,memoryPath,minSync,jikji,datasources. - Never print, copy, migrate, compare, or persist credential values. Store only
environment-variable names such as
tokenEnvorapiKeyEnv. - Setup and Lite commands never move, rename, edit, or delete source documents.
They write indexes only under the configured workspace
.autorag/directory and Jikji's central store (<OS data dir>/jikji/). - Do not index system trees, app bundles, caches, credential stores,
node_modules,.git,dist,build,target,.cache,.autorag, or.jikji.
Install the package if needed
@autorag/librarian ships both autorag (bootstrap/maintenance) and
autorag-mcp (stdio server). The executable requires Node.js >= 24 on PATH.
command -v autorag-mcp >/dev/null || bun install -g @autorag/librarian
command -v autorag
command -v autorag-mcp
autorag lite --help
If Bun is unavailable, npm install -g @autorag/librarian is acceptable.
If only autorag exists, upgrade the package rather than substituting CLI
retrieval for MCP. For a source checkout, run bun run build and register the
absolute dist/mcp/index.js path instead of the installed executable.
Initialize a model-free config
autorag lite init \
--search-paths "/path/to/documents,/path/to/notes" \
--workspace "/path/to/workspace" \
--memory-path "/path/to/memory.json"
lite init writes the configured model-free lifecycle config. Use --force
only when intentionally replacing an existing config, and target it with an
explicit path (--config or AUTORAG_CONFIG); --force refuses to replace the
implicit ~/.autorag/config.json. Explicit user paths win;
otherwise propose one to three document-dense roots and get approval before
indexing. Supported parsed formats are md, markdown, txt, text, pdf,
docx, pptx, xlsx, xlsm, xlsb, xls, ods, csv, tsv, hwp, hwpx, and eml. Legacy .doc is not
a supported parsed format.
Config resolution follows the usual order: --config, AUTORAG_CONFIG,
$AUTORAG_HOME/config.json, or ~/.autorag/config.json. Environment overrides
include AUTORAG_HOME, AUTORAG_CONFIG, AUTORAG_SEARCH_PATHS,
AUTORAG_WORKSPACE, and AUTORAG_MEMORY_PATH.
Register and verify the MCP connection
After config and datasource setup, register the server with the host. Use
absolute config, search root, workspace, and executable paths: hosts may start
the server from a different working directory or with a restricted PATH.
Resolve command -v autorag-mcp and substitute its absolute path below.
Inspect an existing autorag registration first; keep a working registration
and update only an outdated command or config path.
# Claude Code: project-local registration
claude mcp add --transport stdio --scope local autorag \
--env AUTORAG_CONFIG=/absolute/path/to/.autorag/config.json \
-- /absolute/path/to/autorag-mcp
# Codex: user registration
codex mcp add autorag \
--env AUTORAG_CONFIG=/absolute/path/to/.autorag/config.json \
-- /absolute/path/to/autorag-mcp
For other hosts, use their stdio MCP configuration with the same command,
empty arguments, and AUTORAG_CONFIG environment variable. The host starts
the subprocess; do not run it as a background HTTP service. Pass any required
credential environment-variable names through the host's secret mechanism;
never put credential values in registration examples or logs.
Reload/reconnect the host, then use MCP tools/list to discover the actual
tools and schemas. Verify autorag.status, autorag.refresh, autorag.search,
autorag.search.files, and autorag.datasources.list are available. Configured
integrated datasources add their own search tools; do not assume a fixed count.
Run autorag.status and autorag.datasources.list through MCP, then refresh
and search a known phrase from an approved document. Registration alone is
not proof of a connected or searchable server. After config changes, restart
the server so datasource tools are rebuilt.
AUTORAG_MCP_READ_ONLY=1 omits refre
Câu hỏi thường gặp
Tôi có cần khóa mô hình AI cho việc này không?
Không. AutoRAG Lite không dùng mô hình, nên thiết lập này không cấu hình mô hình tìm kiếm nào.
Cần cài gì trước?
Node.js phiên bản 24 trở lên phải có trên máy tính của bạn. Gói có thể được cài bằng Bun hoặc npm.
Tệp chỉ mục được lưu ở đâu?
Trong thư mục .autorag ẩn trong không gian làm việc của bạn, và trong thư mục dữ liệu Jikji dùng chung.
Chi tiết
Mô tả gốc của tác giả
Install and register the model-free AutoRAG Lite MCP server, configure approved roots and datasources, build indexes, and verify MCP discovery and search. Use when autorag-mcp is missing, MCP connection fails, indexes are stale, or the user wants document search without configuring a search model.
repo: Marker-Inc-Korea/AutoRAG
Độ phổ biến
- Sao GitHub
- 5.3k
- Vị trí xếp hạng
- #15014
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
organize
5.3kGiúp agent của bạn sắp xếp, di chuyển, đổi tên hoặc chuyển đổi tệp và thư mục trên máy tính một cách an toàn, kèm kế hoạch và danh sách mọi thay đổi.
autorag-doctor
5.3kGiúp agent của bạn tìm và sửa lỗi trong thiết lập AutoRAG bị hỏng, để mỗi nguồn được kết nối đều được lập chỉ mục và trả về kết quả tìm kiếm.
autorag-setup
5.3kGiúp agent của bạn cài đặt và thiết lập AutoRAG, chọn mô hình tìm kiếm và thư mục tài liệu, rồi sửa khi lập chỉ mục hoặc kiểm tra thất bại.
autorag
5.3kCho phép agent của bạn tìm kiếm, tóm tắt và so sánh câu trả lời từ thư viện AutoRAG đã cấu hình gồm các tệp PDF, ghi chú và nguồn dữ liệu cục bộ.
Skill tương tự
mcporter
394kGiúp agent của bạn liệt kê, gọi và kiểm tra các máy chủ MCP cùng công cụ của chúng qua HTTP hoặc stdio, và quản lý cài đặt đăng nhập.
fastmcp
260kGiúp bạn xây dựng, kiểm thử và triển khai một máy chủ MCP bằng Python, cấp cho trợ lý AI quyền truy cập API, cơ sở dữ liệu hoặc file của bạn dưới dạng công cụ.
mcp-oauth-remote-gateway
260kHướng dẫn bạn đăng nhập OAuth cho máy chủ MCP từ xa khi Hermes chạy trên máy chủ, nơi đăng nhập bằng trình duyệt thông thường không thể truy cập được.