autorag
できること
すでに設定されたAutoRAGの司書を使い、文書を見つけて読み、情報源とともに質問に答えます。研究論文、メモ、ウィキをAutoRAGで管理している人が対象です。
使う場面
- ✓自分のPDFやノートから答えるべき質問をしたとき。
- ✓複数の文書があるテーマについて何を言っているか比べたいとき。
- ✓自分のナレッジベースからの要約が欲しいとき。
スキルのリンク
https://github.com/Marker-Inc-Korea/AutoRAG/blob/main/skills/autorag/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。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を導入して設定し、検索モデルと文書フォルダーを選び、インデックス作成や確認が失敗したときに修復できるよう支援します。