autorag-doctor
Skill này làm gì
Skill này kiểm tra AutoRAG, các nguồn đã kết nối và backend nhúng, rồi sửa những phần bị cũ hoặc xung đột. Skill dành cho người có tìm kiếm AutoRAG chỉ hoạt động một phần.
Khi nào nên dùng
- ✓Khi tìm kiếm AutoRAG không trả về gì cho một nguồn bạn đã kết nối.
- ✓Khi AutoRAG báo chỉ mục cũ hoặc thiết lập bị hỏng.
- ✓Khi bạn muốn kiểm tra toàn diện sức khỏe của AutoRAG và các nguồn đã kết nối.
Liên kết skill
https://github.com/Marker-Inc-Korea/AutoRAG/blob/main/skills/autorag-doctor/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tìm kiếm AutoRAG của tôi không tìm thấy gì trong bản xuất Slack. Bạn có thể chẩn đoán và sửa không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chạy các kiểm tra trạng thái và sức khỏe của AutoRAG, sau đó thử một tìm kiếm thật cho từng nguồn. Agent chỉ sửa trạng thái đã lưu của chính AutoRAG và báo cáo bằng bảng trạng thái.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Việc này có xóa tài liệu gốc của tôi không?
Không. Skill không bao giờ xóa hay sửa tài liệu nguồn, và chỉ đặt lại dữ liệu đã lưu của chính AutoRAG.
Quá trình sửa có hiển thị mật khẩu hoặc token của tôi không?
Không. Nó chỉ báo cáo tên của thông tin xác thực, không bao giờ báo giá trị của chúng.
Khi nào việc sửa được coi là hoàn tất?
Khi một tìm kiếm thật trả về kết quả thật cho từng nguồn, hoặc khi một nguồn được xác nhận là trống hoặc chưa được thiết lập.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 5.3k
- Vị trí xếp hạng
- #15013
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
organize
5.3kGiúp agent của bạn sắp xếp, di chuyển, đổi tên hoặc chuyển đổi tệp và thư mục trên máy tính một cách an toàn, kèm kế hoạch và danh sách mọi thay đổi.
autorag-lite-setup
5.3kGiúp agent của bạn cài đặt và kết nối AutoRAG Lite, công cụ tìm kiếm tài liệu không cần mô hình tìm kiếm, rồi kiểm tra xem nó có hoạt động không.
autorag-setup
5.3kGiúp agent của bạn cài đặt và thiết lập AutoRAG, chọn mô hình tìm kiếm và thư mục tài liệu, rồi sửa khi lập chỉ mục hoặc kiểm tra thất bại.
autorag
5.3kCho phép agent của bạn tìm kiếm, tóm tắt và so sánh câu trả lời từ thư viện AutoRAG đã cấu hình gồm các tệp PDF, ghi chú và nguồn dữ liệu cục bộ.
Skill tương tự
discrawl
394kCho phép agent của bạn tìm kiếm và tóm tắt kho lưu trữ tin nhắn Discord trên máy, kiểm tra độ mới của dữ liệu và đọc tin nhắn trực tiếp.
clickhouse-io
280kGiúp agent của bạn tối ưu truy vấn và schema trong ClickHouse theo thực hành tốt nhất cho phân tích dữ liệu hiệu năng cao khi truy vấn chậm.
scientific-db-pubmed-database
280kGiúp agent của bạn tìm bài báo khoa học trong lĩnh vực y sinh. Hữu ích cho nghiên cứu cần thông tin y khoa cụ thể.