Agent skill

AutoRAG Lite Setup

by Marker-Inc-Korea in Marker-Inc-Korea/AutoRAG

Bootstraps and repairs the model-free AutoRAG Lite MCP server: installing it, initializing a config with approved search roots, building indexes and verifying discovery.

MITAuto-check passedAgent Workflows

Install AutoRAG Lite Setup

skills CLI
$ npx skills add Marker-Inc-Korea/AutoRAG --skill autorag-lite-setup -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Marker-Inc-Korea/AutoRAG autorag-lite-setup --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Marker-Inc-Korea/AutoRAG.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/autorag-lite-setup .claude/skills/autorag-lite-setup && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
autorag-lite-setup
GitHub stars
5.1k
Token cost
~3.3k tokens
SKILL.md length
1,593 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Bootstraps and repairs the model-free AutoRAG Lite MCP server: installing it, initializing a config with approved search roots, building indexes and verifying discovery.

  • Works in 5 steps: Probe every datasource for setup… → Auto-configure every datasource that… → Skip every datasource that probes… → …
  • Setting up AutoRAG Lite's MCP server for the first time
  • SKILL.md covers Safety, Install the package if needed, Initialize a model-free config and Register and verify the MCP…, plus 7 more sections
  • Calls bun, cargo and claude; needs GITHUB_TOKEN

What it does

The skill is scoped to setup and repair only; normal day-to-day use of AutoRAG Lite happens through its MCP tool calls, not through this skill or shell commands, and a separate autorag-setup skill handles the model-backed version. It installs the @autorag/librarian package with Bun or npm if the autorag-mcp executable is missing, requiring Node.js 24 or newer, and for a source checkout builds and registers the compiled entry point directly instead of a globally installed binary.

Initializing a model-free config writes search paths, a workspace and other lifecycle settings, refusing to silently overwrite the default config path without an explicit force flag and target. Supported document formats include Markdown, text, PDF, docx, pptx, xlsx, hwp and eml, but not legacy .doc. Safety rules restrict the skill to inspecting only non-secret config fields such as search paths and datasource names, storing only environment-variable names rather than credential values, never touching source documents, and never indexing system trees, caches, credential stores or directories like node_modules, .git or dist.

When your agent uses it

  • Setting up AutoRAG Lite's MCP server for the first time
  • Repairing a broken or stale AutoRAG Lite index or config
  • Diagnosing why the AutoRAG Lite MCP connection fails to register

Example prompts

  • “Install AutoRAG Lite and set up indexing for my notes and documents folders.”
  • “My autorag-mcp connection isn't registering. Diagnose and fix it.”
  • “Rebuild the AutoRAG Lite index because it looks stale.”

Requirements

  • Node.js 24 or newer, with Bun or npm to install @autorag/librarian

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Probe every datasource for setup feasibility before asking the user
  2. Auto-configure every datasource that probes feasible — write its trusted
  3. Skip every datasource that probes infeasible (for example Notion or
  4. Set up a skipped datasource only when the user explicitly asks for it
  5. E-mail datasources (mail-export, mailcrawl) matter to most

What it can do on your machine

Read from SKILL.md and the folder at commit 29ccab9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bun
    • cargo
    • claude
    • codex
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GITHUB_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

AutoRAG Lite Setup loads about 3.3k tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 1,593 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Marker-Inc-Korea/AutoRAG at commit 29ccab9, republished under its MIT licence (© Marker-Inc-Korea). 1,593 words, ~3,319 tokens.

Download SKILL.mdSave it as .claude/skills/autorag-lite-setup/SKILL.md (or your agent's skills folder).
name
autorag-lite-setup
description
Install and register the model-free AutoRAG Lite MCP server, configure approved roots and datasources, build indexes, and verify MCP discovery and search. Use when autorag-mcp is missing, MCP connection fails, indexes are stale, or the user wants document search without configuring a search model.
license
MIT

AutoRAG Lite setup

Use this skill only to bootstrap, register, or repair AutoRAG Lite MCP: initialize trusted config, connect the host, build indexes, and verify search. Normal Lite use is MCP tool calling, not a search skill or shell command. Use autorag-setup instead when the model-backed librarian must be configured.

Safety

  • Inspect only non-secret config metadata: searchPaths, workspacePath, memoryPath, minSync, jikji, datasources.
  • Never print, copy, migrate, compare, or persist credential values. Store only environment-variable names such as tokenEnv or apiKeyEnv.
  • Never move, rename, edit, or delete source documents. Lite commands write indexes only under the configured workspace .autorag/ directory and Jikji's per-source .jikji/ caches.
  • Do not index system trees, app bundles, caches, credential stores, node_modules, .git, dist, build, target, .cache, .autorag, or .jikji.

Install the package if needed

@autorag/librarian ships both autorag (bootstrap/maintenance) and autorag-mcp (stdio server). The executable requires Node.js >= 24 on PATH.

bash
command -v autorag-mcp >/dev/null || bun install -g @autorag/librarian
command -v autorag
command -v autorag-mcp
autorag lite --help

If Bun is unavailable, npm install -g @autorag/librarian is acceptable. If only autorag exists, upgrade the package rather than substituting CLI retrieval for MCP. For a source checkout, run bun run build and register the absolute dist/mcp/index.js path instead of the installed executable.

Initialize a model-free config

bash
autorag lite init \
  --search-paths "/path/to/documents,/path/to/notes" \
  --workspace "/path/to/workspace" \
  --memory-path "/path/to/memory.json"

lite init writes the configured model-free lifecycle config. Use --force only when intentionally replacing an existing config, and target it with an explicit path (--config or AUTORAG_CONFIG); --force refuses to replace the implicit ~/.autorag/config.json. Explicit user paths win; otherwise propose one to three document-dense roots and get approval before indexing. Supported parsed formats are md, markdown, txt, text, pdf, docx, pptx, xlsx, xls, hwp, hwpx, and eml. Legacy .doc is not a supported parsed format.

Config resolution follows the usual order: --config, AUTORAG_CONFIG, $AUTORAG_HOME/config.json, or ~/.autorag/config.json. Environment overrides include AUTORAG_HOME, AUTORAG_CONFIG, AUTORAG_SEARCH_PATHS, AUTORAG_WORKSPACE, and AUTORAG_MEMORY_PATH.

Register and verify the MCP connection

After config and datasource setup, register the server with the host. Use absolute config, search root, workspace, and executable paths: hosts may start the server from a different working directory or with a restricted PATH. Resolve command -v autorag-mcp and substitute its absolute path below. Inspect an existing autorag registration first; keep a working registration and update only an outdated command or config path.

bash
# Claude Code: project-local registration
claude mcp add --transport stdio --scope local autorag \
  --env AUTORAG_CONFIG=/absolute/path/to/.autorag/config.json \
  -- /absolute/path/to/autorag-mcp

# Codex: user registration
codex mcp add autorag \
  --env AUTORAG_CONFIG=/absolute/path/to/.autorag/config.json \
  -- /absolute/path/to/autorag-mcp

For other hosts, use their stdio MCP configuration with the same command, empty arguments, and AUTORAG_CONFIG environment variable. The host starts the subprocess; do not run it as a background HTTP service. Pass any required credential environment-variable names through the host's secret mechanism; never put credential values in registration examples or logs.

Reload/reconnect the host, then use MCP tools/list to discover the actual tools and schemas. Verify autorag.status, autorag.refresh, autorag.search, autorag.search.files, and autorag.datasources.list are available. Configured integrated datasources add their own search tools; do not assume a fixed count. Run autorag.status and autorag.datasources.list through MCP, then refresh and search a known phrase from an approved document. Registration alone is not proof of a connected or searchable server. After config changes, restart the server so datasource tools are rebuilt.

AUTORAG_MCP_READ_ONLY=1 omits refresh; build indexes with the CLI before connecting that mode. AUTORAG_MCP_TOOLS is an optional comma-separated exact tool allowlist; omitted tools cannot be called. Use unrestricted tools for initial setup unless the user intentionally requests a restricted connection.

Probe and configure datasources (setup wizard)

A datasource setup UI is not shipped in this build — do not recommend it for datasource setup. Configure datasources directly in trusted config, wizard-style:

  1. Probe every datasource for setup feasibility before asking the user anything: the backing CLI exists (lazykatok, discrawl, slacrawl, wacrawl, telecrawl, notcrawl, qmd, mailcrawl, rclone) and its local store or archive is present. CLI-backed datasources own their own archive, index, and authentication, so environment credentials (such as bot tokens) are never required or checked for them. Non-CLI connectors (such as github) require their credential environment variable (GITHUB_TOKEN).
  2. Auto-configure every datasource that probes feasible — write its trusted datasources entries without asking. For example, when Slack (slacrawl) and Discord (discrawl) are installed with local stores present, set both up automatically. Discord uses discrawl's local desktop wiretap archive; no Discord bot token is configured or needed.
  3. Skip every datasource that probes infeasible (for example Notion or Telegram when their CLIs are not installed) and always report the skipped list to the user, with what is missing for each.
  4. Set up a skipped datasource only when the user explicitly asks for it: install or authenticate the backing CLI first, then configure it.
  5. E-mail datasources (mail-export, mailcrawl) matter to most users — always probe them and report their status, even when they end up skipped.

Datasource skills belong in trusted config.

Config keys may be builtin template names (kakao, whatsapp, telegram, slack, discord, clawgallery, notion, github, cloud-drive, mail-export, mailcrawl, obsidian, rss, spotlight, lark) or connection aliases with "type": "<template>". Unknown names are skipped with an unknown-datasource-skill warning; they do not fail config resolution. scope narrows a query to a sub-path as ordinary filtering. Tags are descriptive metadata only, not search filters. Use MCP datasourceIds to select configured connections before retrieval; discover their IDs with autorag.datasources.list. Store only env-var names such as tokenEnv or apiKeyEnv, never credential values.

Show full SKILL.md (755 more words)Show less

Build and refresh indexes

After connecting, call MCP autorag.refresh with {} for an incremental run. Use {"methods":["parsed","minsync"]} to narrow indexing, or {"force":true} only when a full resync is needed. Omit methods to run all configured methods; MCP does not accept "all" as a method value.

CLI refresh remains available for bootstrap, read-only deployments, and repair:

bash
AUTORAG_CONFIG=/absolute/path/to/.autorag/config.json autorag lite refresh --json
  • Refresh syncs parsed mirrors, MinSync, Jikji, and configured datasources.
  • CLI --full and --force request a full resync; MCP uses force: true.
  • CLI --method <csv> accepts parsed, minsync, datasources, jikji, everything (Windows), fsearch (macOS/Linux), and all. MCP methods accepts the same individual methods, not all. Unknown values are rejected.
  • Indexing never runs while answering: retrieval only reads what refresh built. MinSync and Jikji auto-install during refresh (never during a query). If they are missing or broken, run a full refresh or return to setup rather than silently degrading to lexical-only search.
  • MinSync's default embedder is in-process native Qwen3 embeddings (native:Qwen/Qwen3-Embedding-0.6B, 1024 dimensions, MinSync 0.4.6): no embedder flags, no API key, and no external daemon (such as Ollama) are needed, and no corpus text leaves the machine. For gateway-profiled embeddings, prefetch with autorag models prefetch --profile qwen3-embedding-0.6b. The legacy Ollama/TEI adapter path (EmbeddingGemma, 768 dimensions) is for manual QA only. Override the embedder only when intentionally using a different provider.
  • Exact duplicate exclusion during refresh is enabled by default via the external dupey CLI. Install dupey during setup when it is missing (command -v dupey || cargo install dupey --locked) and tell the user the feature is available; when installation is impossible, refresh continues without it and the user is told duplicate exclusion is off. Set "excludeExactDuplicates": false to index every copy.

Content search requires a completed refresh. MCP autorag.search returns isError: true with errorCode: "index-not-ready" until refresh completes. Always refresh first, and refresh again when roots change. Stale indexes can still return results with stale: true and diagnostics; use strict: true to reject stale answers, or call autorag.refresh before searching. Sources deliberately skipped during refresh do not count as stale. Jikji is a discovery/indexing preparer, not a lite retrieval method.

Watch and scheduled freshness

bash
autorag lite watch --once --json
autorag lite watch

Prefer non-daemon autorag lite watch --once from cron, launchd, a systemd user timer, or Task Scheduler, hourly by default (every 1 hour; shorten only when the user asks for fresher indexes). Use the same config as retrieval, avoid overlapping runs, and keep logs outside source trees. --immediate triggers a first refresh on start and --debounce-ms N tunes change coalescing. Once the schedule is installed, tell the user right away that hourly freshness is set up.

Status and index maintenance

Use MCP autorag.status for health and autorag.duplicates for read-only duplicate-family inspection. No search model is required. CLI-only repair:

bash
AUTORAG_CONFIG=/absolute/path/to/.autorag/config.json autorag lite index rebuild --yes --json
AUTORAG_CONFIG=/absolute/path/to/.autorag/config.json autorag lite index reset --method parsed --yes --json
  • index reset and index rebuild remove or rebuild only workspace .autorag indexes selected by --method. They never target source documents.
  • duplicates scans duplicate document families read-only and never deletes or moves files.

Unavailable components and failure handling

Inspect MCP isError, errorCode, diagnostics, and unsearched before trusting results. ok: true with skipped surfaces is partial coverage, not proof that the whole corpus was searched. Preserve the underlying error text when reporting unavailable components such as retrieval-method-failed. MinSync is required: when its binary is missing the call fails with an MinSync is required ... error rather than returning partial results, so install it (cargo install minsync) instead of working around it. Repair the component rather than silently accepting degraded search.

Normal MCP workflow and curation lifecycle

MCP results carry source, method, and content directly. After a search, the optional curation lifecycle is also exposed through MCP: autorag.report records a curated answer, and autorag.evidence returns the exact chunks behind numbered results. These accept and return JSON matching the CLI's report/evidence contracts; discover the exact schemas with MCP tools/list rather than restating them here. Every bracketed [n] citation in a report answer must be a results[].number; an unmatched citation is removed from the persisted answer and returned as a citation-without-result diagnostic. The CLI autorag report and autorag evidence commands remain available for terminal maintenance.

Completion condition

Setup is complete only when the package and stdio executable are installed, roots are approved, trusted model-free config is written, every datasource has been probed and configured/skipped lists reported, and dupey is installed or its absence reported. The host must connect, discover tools, refresh requested indexes, return acceptable MCP status, and retrieve known source content via MCP. Any requested watch schedule must use the same config and be verified. Remove any previously copied Lite search skill from the host's skill directory so it no longer routes routine search through shell commands.

© Marker-Inc-Korea, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/autorag-lite-setup of Marker-Inc-Korea/AutoRAG.

Open the folder on GitHubat commit 29ccab9

Compare with similar skills

AutoRAG Lite Setup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

AutoRAG Lite Setup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AutoRAG Lite Setup this skillMarker-Inc-Korea/AutoRAG5.1k—~3.3kAutomated safety check: PassMIT
Setting Up Papergraphlotchuazzz-crypto/papergraph-mcp282—~3.3kAutomated safety check: PassMIT
Control Chromewxtsky/byob143—~1.5kAutomated safety check: WarnMIT
Siyuan MCP Markup Guideyangtaihong59/siyuan-plugins-mcp-sisyphus116—~405Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k4 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • Setting Up Papergraph

    lotchuazzz-crypto/papergraph-mcp

    A skill your agent uses when a user has cloned PaperGraph MCP and asks to install, initialize, configure, set up, or start using it with an agent or MCP client.

    282 GitHub stars~3.3k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • Control Chrome

    wxtsky/byob

    Control and inspect the user's real Google Chrome through byob's local MCP tools.

    143 GitHub stars~1.5k tokensUpdated 12 days ago
    Agent WorkflowsAuto-check: warnings
  • Siyuan MCP Markup Guide

    yangtaihong59/siyuan-plugins-mcp-sisyphus

    MCP SiYuan markup guide for rich Markdown written through block and document actions.

    116 GitHub stars~405 tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 4 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed

More from Marker-Inc-Korea/AutoRAG

  • AutoRAG Librarian

    Marker-Inc-Korea/AutoRAG

    Searches, summarizes, compares and answers questions from an already configured AutoRAG librarian agent over local documents and authorized datasources.

    5.1k GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • AutoRAG Doctor

    Marker-Inc-Korea/AutoRAG

    Diagnoses and repairs a broken AutoRAG install so every configured datasource is both indexed and returns real search hits.

    5.1k GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • AutoRAG Setup and Repair

    Marker-Inc-Korea/AutoRAG

    Installs, configures, and repairs AutoRAG's search model, approved folders, indexes, and datasources, and registers its Lite MCP server.

    5.1k GitHub stars~5.6k tokensUpdated today
    Auto-check passed

Questions about AutoRAG Lite Setup

What does AutoRAG Lite Setup do?

Bootstraps and repairs the model-free AutoRAG Lite MCP server: installing it, initializing a config with approved search roots, building indexes and verifying discovery. The skill is scoped to setup and repair only; normal day-to-day use of AutoRAG Lite happens through its MCP tool calls, not through this skill or shell commands, and a separate autorag-setup skill handles the model-backed version.js 24 or newer, and for a source checkout builds and registers the compiled entry point directly instead of a globally installed binary.

When should I use AutoRAG Lite Setup?

AutoRAG Lite Setup fits situations like: setting up AutoRAG Lite's MCP server for the first time; repairing a broken or stale AutoRAG Lite index or config; diagnosing why the AutoRAG Lite MCP connection fails to register.

How do I install AutoRAG Lite Setup in Claude Code?

Run `npx skills add Marker-Inc-Korea/AutoRAG --skill autorag-lite-setup -a claude-code`. Or copy the skill folder (skills/autorag-lite-setup in Marker-Inc-Korea/AutoRAG) into .claude/skills/autorag-lite-setup in your project. Claude Code loads it when a task matches its description.

How do I install AutoRAG Lite Setup in Codex?

Run `npx skills add Marker-Inc-Korea/AutoRAG --skill autorag-lite-setup -a codex`. Or copy the skill folder (skills/autorag-lite-setup in Marker-Inc-Korea/AutoRAG) into .agents/skills/autorag-lite-setup in your project. Codex loads it when a task matches its description.

Can I use AutoRAG Lite Setup in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Marker-Inc-Korea/AutoRAG --skill autorag-lite-setup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/autorag-lite-setup, .gemini/skills/autorag-lite-setup, .github/skills/autorag-lite-setup and .opencode/skills/autorag-lite-setup in your project.

What does AutoRAG Lite Setup need to run?

Going by SKILL.md and its folder, AutoRAG Lite Setup needs the command-line tools its instructions call (bun, cargo, claude, codex and npm) and credentials named GITHUB_TOKEN. Our summary lists: Node.js 24 or newer, with Bun or npm to install @autorag/librarian.

Does AutoRAG Lite Setup access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is AutoRAG Lite Setup safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does AutoRAG Lite Setup use?

AutoRAG Lite Setup is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does AutoRAG Lite Setup use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to AutoRAG Lite Setup?

Skills that share tags, products or a category with AutoRAG Lite Setup: Setting Up Papergraph (lotchuazzz-crypto/papergraph-mcp, 282 stars), Control Chrome (wxtsky/byob, 143 stars), Siyuan MCP Markup Guide (yangtaihong59/siyuan-plugins-mcp-sisyphus, 116 stars) and MCP Server Builder (anthropics/skills, 180k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains AutoRAG Lite Setup?

Marker-Inc-Korea (a GitHub organization) maintains it in Marker-Inc-Korea/AutoRAG, which has 5,122 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 11, 2026.

Source: Marker-Inc-Korea/AutoRAG on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.