autorag-setup
यह क्या करती है
यह AutoRAG कमांड-लाइन टूल इंस्टॉल करती है, उसका सर्च मॉडल और फ़ोल्डर सेट करती है, और पुराने इंडेक्स या विफल जाँच ठीक करती है। यह उन लोगों के लिए है जो स्थानीय दस्तावेज़ों के लिए अपना AutoRAG लाइब्रेरियन चाहते हैं।
कब इस्तेमाल करें
- ✓जब AutoRAG या उसका कमांड-लाइन टूल अभी इंस्टॉल न हो।
- ✓जब AutoRAG सेटअप या हेल्थ जाँच विफल हो और उसे ठीक करना हो।
- ✓जब आप AutoRAG में नए फ़ोल्डर या डेटा स्रोत जोड़ना चाहते हैं।
Skill का लिंक
https://github.com/Marker-Inc-Korea/AutoRAG/blob/main/skills/autorag-setup/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“AutoRAG इंस्टॉल कीजिए और उसे मेरे Documents फ़ोल्डर की ओर इशारा कीजिए, ताकि मैं अपनी PDF फ़ाइलें खोज सकूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आपका एजेंट गुप्त मान दिखाए बिना आपका मौजूदा सेटअप जाँचता है, ज़रूरत हो तो टूल इंस्टॉल करता है, और सेटअप, इंडेक्सिंग और हेल्थ जाँच चलाता है। वह केवल क्रेडेंशियल के नाम सहेजता है।
तकनीकी सामग्री (मूल 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 keys कॉन्फ़िग में सहेजी जाती हैं?
नहीं। केवल उन environment variables के नाम सहेजे जाते हैं जिनमें वे रखी हैं।
क्या यह पूरा कंप्यूटर स्कैन करती है?
नहीं। आपकी मंज़ूरी के बिना यह पूरे फ़ाइलसिस्टम या होम फ़ोल्डर को स्कैन नहीं करती।
जानकारी
लेखक का मूल विवरण
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
कमेंट
- …
इस repository की और skills
organize
5.3kयह आपके एजेंट को फ़ाइलें और फ़ोल्डर योजना बनाकर, हर बदलाव की सूची के साथ, सुरक्षित तरीके से छाँटने और सुधारने में मदद करती है।
autorag-doctor
5.3kयह आपके एजेंट को टूटे हुए AutoRAG सेटअप की समस्याएँ ढूँढकर ठीक करने में मदद करती है, ताकि हर जुड़ा स्रोत इंडेक्स हो और खोज परिणाम दे।
autorag-lite-setup
5.3kयह आपके एजेंट को AutoRAG Lite इंस्टॉल और कनेक्ट करने में मदद करती है, जो बिना सर्च मॉडल के काम करने वाला दस्तावेज़ खोज टूल है, और फिर उसकी जाँच करती है।
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आपके एजेंट को बायोमेडिकल क्षेत्र के वैज्ञानिक लेख खोजने में मदद करता है। जिस रिसर्च में खास मेडिकल जानकारी चाहिए, उसके लिए यह काम का है।