autorag-doctor

autorag-doctor is a skill for Claude Code, Codex from Marker-Inc-Korea/AutoRAG. It costs 144 tokens per session (4,450 once invoked), scanned A, original, Apache-2.0.

A diagnostic and repair tool for a broken or partly working AutoRAG installation. AutoRAG is a system that indexes information so it can be searched by an AI application.

In plain words
What is it for?
Use it to check AutoRAG, its embedding service, synchronization tools, and command-line data sources, and to fix orphaned or incomplete indexes.
Why use it?
It finds configuration and indexing problems that leave sources unavailable or searchable only in part. It then repairs the installation so configured sources can be indexed and searched.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to check AutoRAG, its embedding service, synchronization tools, and command-line data sources, and to fix orphaned or incomplete indexes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marker-inc-korea/autorag/autorag-doctor
About the project

AutoRAG Agent is a librarian-style system that searches files on a computer, checks the original documents, and organizes findings into numbered knowledge units using multiple retrieval methods. It helps an agent answer questions from local documents without first copying them into a centralized vector database, while the repository also maintains the earlier AutoRAG tool for optimizing retrieval-augmented-generation pipelines. The catalogue entries provide skills and instructions for working with AutoRAG Agent.

Marker-Inc-Korea/AutoRAG · 6,187 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Marker-Inc-Korea/AutoRAG --skill autorag-doctor
Clone the repo
git clone --depth 1 https://github.com/Marker-Inc-Korea/AutoRAG

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for autorag-doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/marker-inc-korea/autorag/autorag-doctor/github.svg)](https://agentmods.dev/skills/marker-inc-korea/autorag/autorag-doctor)
Your own site
<a href="https://agentmods.dev/skills/marker-inc-korea/autorag/autorag-doctor"><img src="https://agentmods.dev/badge/skills/marker-inc-korea/autorag/autorag-doctor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for autorag-doctor

Your own site · 80×15
<a href="https://agentmods.dev/skills/marker-inc-korea/autorag/autorag-doctor"><img src="https://agentmods.dev/badge/skills/marker-inc-korea/autorag/autorag-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 144 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,450 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00144 $0.04450
Opus 5.5 $0.00058 $0.01780
Sonnet 5.5 $0.00029 $0.00890
Haiku 4.5 $0.00014 $0.00445

Measured 10d ago against content hash 4735a8fa7f3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

autorag-doctor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/autorag-doctor/SKILL.md · 291 lines

How it starts

The opening of the file, as written. The whole thing — 291 lines — stays where its author put it; the contents beside it link to each section on 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_HOME and the workspace .autorag directory 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
  • status reports state, stale, diagnostics, and per-component state for minsync, jikji, and datasources. stale: true or any stale-index diagnostic means the corpus changed since the last successful refresh.
  • health resolves the single search model and does one live completion probe. --skip-probes only proves config shape, never live access; do not claim a healthy model from it.
  • setup --format json reports embedding.backend (remote, daemon, or in-process) and the resolved provider/model/dimension when a backend is alive, or embedding.reason and a remediation when 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 real embedding-unavailable state, 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.

Read the full file on GitHub · 291 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed 4735a8fa7f3e
  2. 11d ago Changed · +2 lines 4efb4982c76b
  3. 13d ago Changed f1af35508522
  4. 14d ago Changed · +1 lines f2a0e91b38c7
  5. 25d ago Changed · +1 lines ae3253c060dd
  6. 29d ago Changed · +4 lines · -3 tokens per session 4361a69d0a2d
  7. 1mo ago Changed · -1 lines · -2 tokens per session 07bcb537528e
  8. 1mo ago Changed · +1 lines · -3 tokens per session 540d665e0604
  9. 1mo ago Changed · +20 lines 1717d9ea7f71
  10. 1mo ago First seen · 263 lines · 152 tokens per session scan A 3fdd1d8ca3d9

Subscribe to this mod's changes

autorag-doctor is a skill published in the GitHub repository Marker-Inc-Korea/AutoRAG (6,187 stars, last pushed today), licensed Apache-2.0. It adds 144 tokens to every session and 4,450 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-21.

Related

autorag-doctor compared with skills from other repositories

autorag-doctor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
autorag-doctorMarker-Inc-Korea/AutoRAGSkill6.2ktodayApache-2.0A144Claude Code, Codex
browserwing-adminMemTensor/MemOSSkill13ktodayApache-2.0B47Claude Code, Codex
rag-index-decisionslyonzin/knowledge-ragSkill3083d agoMITA72Claude Code, Codex
gnogmickel/gnoSkill1173d agoMITA86Claude Code
vector-dbRightNow-AI/openfangSkill18k5mo agoApache-2.0A19Claude Code, Codex
chromasynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A63Claude Code, Codex
creating-lenseschrisgagne/grounded-forgeSkill813d agoMITA0Claude Code