autorag
它能做什么
它使用已设置好的 AutoRAG 文档管理员查找并阅读你的文档,然后附带来源回答你的问题。它适用于在 AutoRAG 中保存研究论文、笔记或知识库的人。
适用场景
- ✓当你提出的问题应该从你自己的 PDF 或笔记中回答时。
- ✓当你想比较你的几份文档对某个话题的说法时。
- ✓当你想基于你的知识库获得一份摘要时。
技能链接
https://github.com/Marker-Inc-Korea/AutoRAG/blob/main/skills/autorag/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请搜索我的研究 PDF,告诉我它们对电池回收的说法,并附上来源。”
每周 5 个新技能,1 分钟读完。
工作原理
文档管理员会在你已索引的文件夹和数据源中规划搜索,读取匹配的段落,并核实它们是否支持答案。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
AutoRAG Librarian Skill
Use this skill when AutoRAG is already configured and the user asks to search, summarize, compare, or answer questions from local PDFs, wikis, notes, research papers, knowledge bases, or configured datasources.
AutoRAG is the specialized librarian agent. One configured model plans the search, calls MinSync, Jikji, datasource, and filesystem tools, reads sources, judges evidence, and curates the final answer. There is no subagent or separate model role.
Indexing and refresh read source documents and write only under the configured
workspace .autorag/ directory and Jikji's central store (<OS data dir>/jikji/,
plus a .jikji_agent_map.md guide in each indexed root). The librarian may
organize, create, or modify the user's own files in local sessions when the
user asks; it never deletes permanently (OS trash only) and lists every change
as old path → new path. Do not move, rename, edit, or delete source files on your own
initiative while searching or diagnosing.
Preflight
Confirm a config exists at --config, AUTORAG_CONFIG,
$AUTORAG_HOME/config.json, or ~/.autorag/config.json. Inspect only
non-secret searchPaths and model metadata, then run:
autorag duplicates --json
autorag status --json
autorag health --json
Duplicate-file review
Use autorag duplicates when the user asks to find duplicate files, choose
likely latest copies, or reduce corpus/index space. The command and the
scan_duplicate_documents Agent tool are read-only and never delete or move
source files. Exact means dupey's canonical extracted-text hash matches;
near/contains families require human review. Exact duplicate exclusion during
refresh is enabled by default and can be disabled with
"excludeExactDuplicates": false in config.json.
Converting files
The convert_files and list_file_conversions Agent tools run the
Filee command line to convert local
files offline: documents, spreadsheets, slides, HWP/HWPX, images, e-books,
archives, audio, video, data, and subtitles. They work on any path the user
names, not only the configured roots. This is the one exception to the
"never write source files" rule above: a conversion writes a new file and
never touches its source. An existing output name gets a number added unless
the user asks to replace it, in which case pass overwrite: true. Never
delete the source unless the user asked.
Each converted file is checked with dupey compare against its source, using
dupey's own thresholds, so the report says whether a later scan will group
them: exact (same canonical text, for example DOCX to HWPX), near (same
document in another format, for example Markdown to TXT), different (text
differs, typically layout formats such as PDF), unsupported (dupey cannot
read the format, for example HTML or images), or unavailable (dupey not
installed). The command line is filee.binaryPath if set, else a filee/filee-cli
on PATH, else the pinned filee-cli
release that autorag setup (or the first conversion) downloads into
<AUTORAG_HOME>/tools/filee-cli/; "filee": { "autoInstall": false } forbids that
download. The system prompt carries the conversion map (which format family
converts to which, and the two-step chain when no direct route exists), so plan
from it instead of probing. "filee": { "enabled": false } in config.json removes both
tools; filee.timeoutMs (default 30 minutes) and filee.dataDir (Filee's
own settings and engines, FILEE_DATA_DIR) tune them.
Excluding local files from the index
"excludePaths" in config.json lists files or folders (absolute, or relative
to workspacePath) that refresh keeps out of the parsed mirror and MinSync.
A folder entry excludes everything under it. Removing an entry and running
autorag refresh --method minsync indexes the file again. Excluded sources are
recorded as user-excluded skips, so they are not reported as stale. Jikji
indexes the source folders directly and is not refreshed here, so AutoRAG also
drops excluded paths from the jikji_find answer pack and from the files Jikji
hands to the verification step as starting points, at retrieval time; the
on-disk .jikji_agent_map.md stays complete, and direct
file reads remain available.
status is model-free and path-opaque. health resolves the single model,
checks credential presence, and normally probes one live completion.
常见问题
这需要先设置 AutoRAG 吗?
需要。如果尚未配置文档管理员,请先使用 AutoRAG 设置技能。
它会搜索哪些位置?
它会搜索你为 AutoRAG 配置的文件夹和数据源。
搜索时它会修改我的文件吗?
不会。搜索时它不会自行移动、重命名、编辑或删除你的源文件。
详情
作者的原始描述
Search, summarize, compare, and answer questions from an already configured AutoRAG librarian over local documents and configured datasources. Use when the user asks AutoRAG to search PDFs, wikis, notes, or a knowledge base. Use autorag-setup for install, model, roots, indexing, or datasource changes.
repo: Marker-Inc-Korea/AutoRAG
热度
- GitHub 星标
- 5.3k
- 排名
- #15016
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
organize
5.3k帮你的智能体安全地整理、移动、重命名或转换电脑上的文件和文件夹,并提供计划和每项更改的清单。
autorag-doctor
5.3k帮你的智能体找出并修复损坏的 AutoRAG 设置中的问题,确保每个已连接的来源都被索引并能返回搜索结果。
autorag-lite-setup
5.3k帮你的智能体安装并连接 AutoRAG Lite,这是一种无需搜索模型的文档搜索工具,并检查它是否正常工作。
autorag-setup
5.3k帮你的智能体安装并设置 AutoRAG,选择其搜索模型和文档文件夹,并在索引或检查失败时进行修复。