autorag-setup
ما الذي تفعله
تثبّت هذه المهارة أداة سطر أوامر AutoRAG، وتضبط نموذج البحث والمجلدات، وتصلح الفهارس القديمة أو الفحوص الفاشلة. وهي موجهة للأشخاص الذين يريدون أمين مكتبة AutoRAG خاصًا بهم للمستندات المحلية.
متى تستخدمها
- ✓عندما لا يكون AutoRAG أو أداة سطر أوامره مثبتين بعد.
- ✓عندما يفشل إعداد AutoRAG أو فحوص صحته ويحتاجان إلى إصلاح.
- ✓عندما تريد إضافة مجلدات جديدة أو مصادر بيانات إلى AutoRAG.
رابط المهارة
https://github.com/Marker-Inc-Korea/AutoRAG/blob/main/skills/autorag-setup/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ثبّت AutoRAG ووجّهه إلى مجلد المستندات لدي حتى أبحث في ملفات PDF الخاصة بي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يفحص الوكيل إعدادك الحالي دون إظهار القيم السرية، ويثبّت الأداة عند الحاجة، ويشغّل الإعداد والفهرسة وفحوص الصحة. ويحفظ أسماء بيانات الاعتماد فقط.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
AutoRAG setup
Use this skill when AutoRAG is unconfigured, the autorag CLI is missing, model
resolution fails, indexes are missing or stale, or the user wants to change the
document collection or datasources.
For model-free external-agent search, use autorag-lite-setup to configure
and register autorag-mcp; do not configure a search model or install a search
skill for Lite. This skill's model setup and CLI search apply to the full
librarian, not the Lite MCP server.
Safety
- Inspect only non-secret provider/model metadata and credential availability.
- Never print, copy, migrate, compare, or persist credential values. Store only
environment-variable names such as
apiKeyEnv. - Do not scan the whole filesystem or home directory without explicit approval.
- Setup, indexing, and refresh never move, rename, edit, or delete source documents. The librarian itself may organize files when the user asks it to.
- Do not index system trees, app bundles, caches, credential stores,
node_modules,.git,dist,build,target,.cache,.autorag, or.jikji.
Install the CLI if needed
The CLI is @autorag/librarian (autorag). Runtime is Node.js ≥ 24 or Bun.
command -v autorag >/dev/null || bun install -g @autorag/librarian
autorag --help
If Bun is unavailable, npm install -g @autorag/librarian is acceptable.
Inspect existing configuration
Check --config, AUTORAG_CONFIG, $AUTORAG_HOME/config.json, or
~/.autorag/config.json. Relevant fields are:
searchPaths,workspacePath, andmemoryPathmodel.provider,model.id,model.api,model.baseUrl,model.apiKeyEnvbm25,minSync, andjikjilimits(retrieval, baseline-prefetch, and model-facing candidate caps)datasourcesandui
Preserve explicit user choices and a working config unless the user asks to replace them or health checks fail.
Configure one search model
AutoRAG is the specialized librarian agent. One configured model plans the search, calls retrieval and filesystem tools, reads sources, judges evidence, and curates the answer in one loop. There are no orchestrator/explorer roles.
Prefer a model with reliable tool calling and structured output, enough context for source excerpts, high output TPS, and low first-token latency. Use a larger reasoning model only when difficult synthesis or domain judgment matters more than latency.
Start from a provider/model the current runtime can actually call. A Pi-usable ChatGPT, Claude, Gemini, or other authenticated subscription is valid; an installed CLI or subscription that Pi cannot invoke is not. For custom OpenAI-compatible endpoints, record the real wire API, base URL, and credential environment-variable name.
Allowed api values:
openai-completionsopenai-responsesanthropic-messagesopenai-codex-responsesazure-openai-responses
If no callable setup can be established, ask the user for the provider, model id, API protocol, base URL when custom, and credential environment-variable name. Do not invent provider identities or model ids.
Propose and approve document roots
Explicit user paths win. Otherwise inspect only these likely document-dense candidates for existence and approximate supported-file counts, then ask for approval before indexing:
| OS | Recommended | Optional |
|---|---|---|
| macOS | ~/Documents, ~/Downloads, ~/Desktop |
~/Notes, ~/Obsidian, user-named project docs |
| Linux | XDG Documents/Downloads/Desktop or their ~/ defaults |
~/Notes, ~/Sync, Nextcloud/Syncthing roots |
| Windows | Documents, Downloads, Desktop shell folders | OneDrive document roots, user-named project docs |
Supported parsed formats are md, markdown, txt, text, pdf, docx,
pptx, xlsx, xlsm, xlsb, xls, ods, csv, tsv, hwp, hwpx, and eml. OCR for jpg, jpeg, png, bmp,
and tiff is optional (parserOptions.ocr.enabled). Do not present legacy
.doc as a supported parsed format.
Keep the first-run set small, usually one to three roots. Present a concrete
proposal and require yes, a narrowed keep-list, a custom list, or skip
before running refresh.
Initialize
autorag init \
--search-paths "/path/to/documents,/path/to/notes" \
--workspace "/path/to/workspace" \
--model-provider PROVIDER \
--model-id MODEL
Model resolution runs through the pi runtime. A configured provider/id is
resolved against the pi runtime catalog — the
الأسئلة الشائعة
هل سيُنقل المستندات أو يُحذف شيء منها؟
لا. يقرأ الإعداد والفهرسة المستندات فقط، ولا ينقلها أو يعيد تسميتها أو يعدّلها أو يحذفها.
هل تُحفظ مفاتيح API في الإعدادات؟
لا. تُحفظ أسماء متغيرات البيئة التي تحملها فقط.
هل يفحص جهازي كله؟
لا. لا يفحص كل نظام الملفات أو مجلد المستخدم دون موافقتك.
التفاصيل
الوصف الأصلي من المؤلف
Install and configure AutoRAG, register its Lite MCP server for external agents, or repair its single search model, approved roots, indexes, datasources, and health checks without exposing credentials. Use when AutoRAG or MCP is missing, init/refresh/health fails, indexes are stale, or the user wants to add folders or datasources.
repo: Marker-Inc-Korea/AutoRAG
الشعبية
- نجوم GitHub
- 5.3k
- الترتيب
- #15015
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
organize
5.3kتساعد وكيلك على فرز الملفات والمجلدات على جهازك ونقلها وإعادة تسميتها وتحويلها بأمان، مع خطة وقائمة بكل تغيير.
autorag-doctor
5.3kتساعد وكيلك على إيجاد مشكلات إعداد AutoRAG المعطّل وإصلاحها، حتى تُفهرس كل مصدر متصل ويعيد نتائج بحث.
autorag-lite-setup
5.3kتساعد وكيلك على تثبيت AutoRAG Lite، وهي أداة بحث في المستندات لا تحتاج إلى نموذج بحث، وعلى ربطها والتحقق من عملها.
autorag
5.3kتتيح لوكيلك البحث في مكتبة AutoRAG المُعدّة لديك من ملفات PDF وملاحظات ومصادر بيانات محلية، والتلخيص والمقارنة بين الإجابات.
مهارات مشابهة
discrawl
394kيتيح لوكيلك البحث في أرشيف محلي محفوظ لرسائل Discord وتلخيصه، والتحقق من مدى حداثته، وقراءة الرسائل المباشرة.
clickhouse-io
280kيساعد وكيلك على تحسين الاستعلامات والمخططات في ClickHouse وتطبيق أفضل ممارسات التحليل عالي الأداء، ويفيد عندما تكون الاستعلامات التحليلية بطيئة.
scientific-db-pubmed-database
280kيساعد وكيلك على البحث عن المقالات العلمية في المجال الطبي الحيوي. مفيد للبحوث التي تحتاج إلى معلومات طبية محددة.