autorag-doctor
यह क्या करती है
यह AutoRAG, उससे जुड़े स्रोतों और embedding बैकएंड की जाँच करती है, और पुराने या टकराने वाले हिस्से ठीक करती है। यह उन लोगों के लिए है जिनकी AutoRAG खोज केवल आंशिक रूप से काम करती है।
कब इस्तेमाल करें
- ✓जब आपके जुड़े स्रोत के लिए AutoRAG खोज कुछ नहीं लौटाती।
- ✓जब AutoRAG पुराने इंडेक्स या टूटे सेटअप की रिपोर्ट करता है।
- ✓जब आप AutoRAG और उसके जुड़े स्रोतों की पूरी हेल्थ जाँच चाहते हैं।
Skill का लिंक
https://github.com/Marker-Inc-Korea/AutoRAG/blob/main/skills/autorag-doctor/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे Slack एक्सपोर्ट में मेरी AutoRAG खोज कुछ नहीं ढूँढ रही। क्या आप इसकी जाँच करके ठीक कर सकते हैं?”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
organize
5.3kयह आपके एजेंट को फ़ाइलें और फ़ोल्डर योजना बनाकर, हर बदलाव की सूची के साथ, सुरक्षित तरीके से छाँटने और सुधारने में मदद करती है।
autorag-lite-setup
5.3kयह आपके एजेंट को AutoRAG Lite इंस्टॉल और कनेक्ट करने में मदद करती है, जो बिना सर्च मॉडल के काम करने वाला दस्तावेज़ खोज टूल है, और फिर उसकी जाँच करती है।
autorag-setup
5.3kयह आपके एजेंट को AutoRAG इंस्टॉल करने, उसका सर्च मॉडल और दस्तावेज़ फ़ोल्डर चुनने, और इंडेक्सिंग या जाँच विफल होने पर उसे ठीक करने में मदद करती है।
autorag
5.3kयह आपके एजेंट को आपकी कॉन्फ़िगर की गई AutoRAG लाइब्रेरी की स्थानीय PDF, नोट्स और डेटा स्रोतों में खोजने, सार बनाने और जवाबों की तुलना करने देती है।
मिलती-जुलती skills
discrawl
394kयह आपके एजेंट को Discord संदेशों के सेव किए गए स्थानीय आर्काइव में खोजने, उसका सारांश बनाने और उसकी ताज़गी जांचने में मदद करती है।
clickhouse-io
280kआपके एजेंट को ClickHouse databases में queries और schemas optimize करने में मदद करता है। high-performance analytical workloads के लिए best practices लागू करता है। जब analytical queries बहुत धीमी हों, तब इसका उपयोग करें।
scientific-db-pubmed-database
280kआपके एजेंट को बायोमेडिकल क्षेत्र के वैज्ञानिक लेख खोजने में मदद करता है। जिस रिसर्च में खास मेडिकल जानकारी चाहिए, उसके लिए यह काम का है।