# Local Document Search

Searches and answers questions over configured local documents and datasources.

- Repository: https://github.com/Marker-Inc-Korea/AutoRAG (5251 stars)
- Category: AI and agents
- License: Apache-2.0
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add Marker-Inc-Korea/AutoRAG --skill autorag -g -a claude-code -y`
Codex: `npx skills add Marker-Inc-Korea/AutoRAG --skill autorag -g -a codex -y`
Cursor: `npx skills add Marker-Inc-Korea/AutoRAG --skill autorag -g -a cursor -y`
Gemini CLI: `npx skills add Marker-Inc-Korea/AutoRAG --skill autorag -g -a gemini-cli -y`

## Description

Search, summarize, compare, and answer questions from an already configured AutoRAG librarian over local documents and configured datasources. Use when the user asks AutoRAG to search PDFs, wikis, notes, or a knowledge base. Use autorag-setup for install, model, roots, indexing, or datasource changes.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# AutoRAG Librarian Skill

Use this skill when AutoRAG is already configured and the user asks to search,
summarize, compare, or answer questions from local PDFs, wikis, notes, research
papers, knowledge bases, or configured datasources.

AutoRAG is the specialized librarian agent. One configured model plans the
search, calls MinSync, Jikji, datasource, and filesystem tools, reads
sources, judges evidence, and curates the final answer. There is no subagent or
separate model role.

Indexing and refresh read source documents and write only under the configured
workspace `.autorag/` directory and Jikji's central store (`<OS data dir>/jikji/`,
plus a `.jikji_agent_map.md` guide in each indexed root). The librarian may
organize, create, or modify the user's own files in local sessions when the
user asks; it never deletes permanently (OS trash only) and lists every change
as old path → new path. Do not move, rename, edit, or delete source files on your own
initiative while searching or diagnosing.

## Preflight

Confirm a config exists at `--config`, `AUTORAG_CONFIG`,
`$AUTORAG_HOME/config.json`, or `~/.autorag/config.json`. Inspect only
non-secret `searchPaths` and `model` metadata, then run:

```bash
autorag duplicates --json
autorag status --json
autorag health --json
```

### Duplicate-file review

Use `autorag duplicates` when the user asks to find duplicate files, choose
likely latest copies, or reduce corpus/index space. The command and the
`scan_duplicate_documents` Agent tool are read-only and never delete or move
source files. Exact means dupey's canonical extracted-text hash matches;
near/contains families require human review. Exact duplicate exclusion during
refresh is enabled by default and can be disabled with
`"excludeExactDuplicates": false` in `config.json`.

### Converting files

The rest: https://github.com/Marker-Inc-Korea/AutoRAG/blob/HEAD/skills/autorag/SKILL.md
