跳到正文
Skillpedia
调研5.3k · #15016

autorag

它能做什么

它使用已设置好的 AutoRAG 文档管理员查找并阅读你的文档,然后附带来源回答你的问题。它适用于在 AutoRAG 中保存研究论文、笔记或知识库的人。

适用场景

  • ✓当你提出的问题应该从你自己的 PDF 或笔记中回答时。
  • ✓当你想比较你的几份文档对某个话题的说法时。
  • ✓当你想基于你的知识库获得一份摘要时。

技能链接

https://github.com/Marker-Inc-Korea/AutoRAG/blob/main/skills/autorag/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Marker-Inc-Korea/AutoRAG/blob/main/skills/autorag/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能