Skillpedia
قواعد البيانات5.3k · #15013

autorag-doctor

ما الذي تفعله

تفحص هذه المهارة AutoRAG ومصادره المتصلة وخلفية التضمين، ثم تصلح الأجزاء القديمة أو المتعارضة. وهي موجهة للأشخاص الذين يعمل بحث AutoRAG لديهم جزئيًا فقط.

متى تستخدمها

  • ✓عندما لا يُرجع بحث AutoRAG أي نتيجة لمصدر متصل.
  • ✓عندما يبلّغ AutoRAG عن فهارس قديمة أو إعداد معطّل.
  • ✓عندما تريد فحصًا شاملًا لـ AutoRAG ومصادره المتصلة.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/Marker-Inc-Korea/AutoRAG/blob/main/skills/autorag-doctor/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“بحث AutoRAG لا يجد شيئًا في تصدير Slack الخاص بي. هل يمكنك تشخيصه وإصلاحه؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يشغّل الوكيل فحوص حالة 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_HOME and the workspace .autorag directory 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
  • status reports state, stale, diagnostics, and per-component state for minsync, jikji, and datasources. stale: true or any stale-index diagnostic means the corpus changed since the last successful refresh.
  • health resolves the single search model and does one live completion probe. --skip-probes only proves config shape, never live access; do not claim a healthy model from it.
  • setup --format json reports embedding.backend (remote, daemon, or in-process) and the resolved provider/model/dimension when a backend is alive, or embedding.reason and a remediation when 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 real embedding-unavailable state, 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
WhatsApp 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
Mail 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. telecrawl and slacrawl return JSON null (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';" against slacrawl 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

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة