autorag-doctor
できること
AutoRAG、接続されたソース、埋め込みのバックエンドを確認し、古くなった部分や衝突している部分を修復します。AutoRAGの検索が一部しか動かない人が対象です。
使う場面
- ✓接続したソースについて、AutoRAGの検索が何も返さないとき。
- ✓AutoRAGが古いインデックスや壊れた設定を報告しているとき。
- ✓AutoRAGと接続されたソースの全体的な健全性チェックが欲しいとき。
スキルのリンク
https://github.com/Marker-Inc-Korea/AutoRAG/blob/main/skills/autorag-doctor/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Slackのエクスポートの中を検索しても、AutoRAGが何も見つけません。原因を調べて直してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、AutoRAGのステータスと健全性チェックを実行し、各ソースで実際の検索をテストします。AutoRAG自身の保存された状態だけを修復し、ステータスの表を報告します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
AutoRAG doctor
Goal: every configured datasource is indexed and actually returns
hits. A green status is not enough — the run is done only when a real query
returns a real hit per datasource, or the datasource is reported as genuinely
empty or not configured.
Always finish with the status table in Report.
Safety
- Diagnosis and repair never delete, move, or edit source documents; a doctor run changes only AutoRAG-owned state.
- Never delete a datasource's native store (
~/Library/Application Support/katok,~/.discrawl,~/.mailcrawl, Telegram/WhatsApp/Notion archives). AutoRAG only reads them; rebuilding them is the owning CLI's job. - Only AutoRAG-owned state under
AUTORAG_HOMEand the workspace.autoragdirectory may be reset. - Never print token or password values. Report credential names only.
- Kill a process only after confirming it is an AutoRAG-owned orphan.
1. Triage the core
autorag status --json
autorag health --json
autorag setup --format json
statusreportsstate,stale,diagnostics, and per-component state forminsync,jikji, anddatasources.stale: trueor anystale-indexdiagnostic means the corpus changed since the last successful refresh.healthresolves the single search model and does one live completion probe.--skip-probesonly proves config shape, never live access; do not claim a healthy model from it.setup --format jsonreportsembedding.backend(remote,daemon, orin-process) and the resolvedprovider/model/dimensionwhen a backend is alive, orembedding.reasonand aremediationwhen none is. It only probes; it never starts a daemon. Semantic search needs the daemon (or a remote endpoint) to be running: a backend that is absent is a realembedding-unavailablestate, not normal.
Config lives at --config, AUTORAG_CONFIG, $AUTORAG_HOME/config.json, or
~/.autorag/config.json. Read searchPaths, workspacePath, minSync,
jikji, and datasources before changing anything.
If the CLI itself is missing or the config does not exist, stop and run the
autorag-setup skill first — doctor repairs an existing install, it does not
create one.
2. Probe every datasource natively
Each CLI owns its archive, so ask the CLI, not AutoRAG. A datasource is only
active when its binary exists, its store is present, and its own check passes.
| Datasource | Native check | Re-sync when empty or stale |
|---|---|---|
| MinSync (local docs) | minsync status, minsync check, minsync verify |
autorag refresh --method minsync |
| Jikji (discovery) | jikji doctor |
autorag refresh --method jikji |
| Everything (Windows file names) | autorag status --json → components.everything |
autorag refresh --method everything --json |
| KakaoTalk | lazykatok doctor |
lazykatok sync && lazykatok index |
| Discord | discrawl --json metadata |
discrawl sync |
| Slack | slacrawl --json doctor |
slacrawl sync |
wacrawl --json doctor |
wacrawl import |
|
| Telegram | telecrawl --json doctor, telecrawl --json status |
telecrawl import |
| Notion | notcrawl doctor, notcrawl status |
notcrawl sync --source desktop |
| Obsidian / notes | autorag status (AutoRAG-owned index) |
autorag refresh --method datasources; if corrupt, delete .autorag/datasources/obsidian/<instance> first |
mailcrawl doctor, mailcrawl status |
mailcrawl sync && mailcrawl index |
|
| Lark / Feishu | lark-cli auth status --format json |
no local sync; search is remote |
Rules:
- A missing binary is not configured, not a failure. Report it with the install command and move on.
- An empty store is a legitimate zero-hit result.
telecrawlandslacrawlreturn JSONnull(not[]) for no hits — treat that as empty, not broken. - A configured datasource whose native check fails is a failure and must be repaired or reported explicitly. Never report a skip as a pass.
- Zero hits with a non-empty store means the CLI's search path is suspect, not
the data. Cross-check against the raw index before concluding (for example
slacrawl sql "select count(*) from message_fts where message_fts match 'x';"againstslacrawl search x). A populated index plus an empty CLI result is an upstream bug: report it with the exact reproduction instead of re-syncing.
3. Prove searchability
Indexing without retrieval is a failed run
よくある質問
元の文書は削除されますか?
いいえ。スキルは元の文書を削除も編集もせず、AutoRAG自身の保存データだけをリセットします。
修復はパスワードやトークンを表示しますか?
いいえ。認証情報の名前だけを報告し、その値は示しません。
修復はいつ完了しますか?
各ソースについて、実際の検索で実際の結果が返されたとき、またはソースが空または未設定だと確認されたときです。
詳細
作者による元の説明
Diagnose and repair a broken or half-working AutoRAG install so every configured source is both indexed and searchable. Checks AutoRAG, MinSync, Jikji, the embedding backend, and every CLI-backed datasource (lazykatok, discrawl, slacrawl, wacrawl, telecrawl, notcrawl, mailcrawl), then fixes orphan locks, orphan processes, embedding dimension or identity mismatches, stale indexes, and missing setup. Use when search returns nothing or too little, refresh hangs or fails, a datasource disappeared from results, indexes look stale, the embedder is unavailable, or the user asks to check, diagnose, ve
repo: Marker-Inc-Korea/AutoRAG
人気
- GitHubのスター
- 5.3k
- ランキング
- #15013
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
organize
5.3kエージェントが、コンピューター上のファイルやフォルダーを、計画と変更の一覧を示しながら安全に並べ替え、移動、名前変更、変換できるよう支援します。
autorag-lite-setup
5.3kエージェントが、検索モデルを必要としない文書検索ツールAutoRAG Liteを導入して接続し、動作を確認できるよう支援します。
autorag-setup
5.3kエージェントが、AutoRAGを導入して設定し、検索モデルと文書フォルダーを選び、インデックス作成や確認が失敗したときに修復できるよう支援します。
autorag
5.3kエージェントが、設定済みのAutoRAGライブラリにあるローカルのPDF、ノート、データソースを検索し、要約し、回答を比較できるよう支援します。
似ているスキル
discrawl
394k保存済みのローカルなDiscordメッセージのアーカイブを検索して要約し、その新しさを確認し、ダイレクトメッセージを読めるようエージェントを支援します。
clickhouse-io
280kエージェントがClickHouseデータベースのクエリとスキーマを最適化できるようにします。高性能な分析処理向けのベストプラクティスを適用します。分析クエリが遅すぎるときに使います。
scientific-db-pubmed-database
280kエージェントが生物医学分野の科学論文を検索するのに役立ちます。特定の医療情報が必要な研究に便利です。