autorag-doctor
하는 일
이 스킬은 AutoRAG, 연결된 소스, 임베딩 백엔드를 점검하고, 오래되었거나 충돌하는 부분을 고칩니다. AutoRAG 검색이 일부만 작동하는 사람을 위한 것입니다.
사용하는 경우
- ✓연결한 소스에 대해 AutoRAG 검색이 아무 결과도 반환하지 않을 때.
- ✓AutoRAG가 오래된 색인이나 깨진 설정을 보고할 때.
- ✓AutoRAG와 연결된 소스 전체에 대한 상태 점검이 필요한 경우.
스킬 링크
https://github.com/Marker-Inc-Korea/AutoRAG/blob/main/skills/autorag-doctor/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Slack 내보내기에서 AutoRAG 검색이 아무것도 찾지 못합니다. 진단하고 고쳐 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
organize
5.3k에이전트가 파일과 폴더를 계획과 모든 변경 목록을 갖추고 안전하게 정리, 이동, 이름 변경, 변환하도록 돕습니다.
autorag-lite-setup
5.3k에이전트가 모델 없이 작동하는 문서 검색 도구 AutoRAG Lite를 설치하고 연결한 뒤, 제대로 작동하는지 확인하도록 돕습니다.
autorag-setup
5.3k에이전트가 AutoRAG를 설치하고 설정하며, 검색 모델과 문서 폴더를 고르고, 색인이나 점검이 실패하면 고치도록 돕습니다.
autorag
5.3k에이전트가 설정된 AutoRAG 라이브러리의 로컬 PDF, 메모, 데이터 소스에서 검색하고, 요약하며, 답변을 비교하도록 돕습니다.
비슷한 스킬
discrawl
394k에이전트가 저장된 로컬 Discord 메시지 보관본을 검색하고 요약하며, 최신 상태를 확인하고 다이렉트 메시지를 읽도록 돕습니다.
clickhouse-io
280k에이전트가 ClickHouse 데이터베이스의 쿼리와 스키마를 최적화하도록 돕습니다. 고성능 분석 작업의 모범 사례를 적용합니다. 분석 쿼리가 느릴 때 씁니다.
scientific-db-pubmed-database
280k생의학 분야의 과학 논문을 에이전트가 검색하도록 돕습니다. 특정 의학 정보가 필요한 연구에 유용합니다.