autorag-setup
하는 일
이 스킬은 AutoRAG 명령줄 도구를 설치하고, 검색 모델과 폴더를 설정하며, 오래된 색인이나 실패한 점검을 고칩니다. 로컬 문서를 위한 자체 AutoRAG 사서를 원하는 사람을 위한 것입니다.
사용하는 경우
- ✓AutoRAG나 명령줄 도구가 아직 설치되지 않았을 때.
- ✓AutoRAG 설정이나 상태 점검이 실패해서 복구가 필요할 때.
- ✓AutoRAG에 새 폴더나 데이터 소스를 추가하고 싶은 경우.
스킬 링크
https://github.com/Marker-Inc-Korea/AutoRAG/blob/main/skills/autorag-setup/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“AutoRAG를 설치하고, 제 PDF를 검색할 수 있도록 Documents 폴더를 문서 폴더로 지정해 주세요.”
매주 새 스킬 5개. 읽는 데 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 키가 설정 파일에 저장되나요?
아닙니다. 키를 담고 있는 환경 변수의 이름만 저장합니다.
컴퓨터 전체를 검색하나요?
아닙니다. 사용자의 승인 없이 파일 시스템 전체나 홈 폴더를 검색하지 않습니다.
상세 정보
작성자의 원본 설명
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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
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생의학 분야의 과학 논문을 에이전트가 검색하도록 돕습니다. 특정 의학 정보가 필요한 연구에 유용합니다.