autorag-setup

autorag-setup is a skill for Claude Code, Codex from Marker-Inc-Korea/AutoRAG. It costs 75 tokens per session (7,560 once invoked), scanned A, original, Apache-2.0.

A setup and repair guide for AutoRAG, a system that searches and uses document collections to answer questions. It covers the system's agent, approved document folders, search indexes, data-source skills, and health checks.

In plain words
What is it for?
Use it to configure or repair AutoRAG's agent, document locations, retrieval indexes, data-source skills, and setup checks.
Why use it?
It helps prepare AutoRAG for first use or fix an existing setup while keeping login credentials hidden.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to configure or repair AutoRAG's agent, document locations, retrieval indexes, data-source skills, and setup checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marker-inc-korea/autorag/autorag-setup
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 · 5,199 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-setup
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-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/marker-inc-korea/autorag/autorag-setup/github.svg)](https://agentmods.dev/skills/marker-inc-korea/autorag/autorag-setup)
Your own site
<a href="https://agentmods.dev/skills/marker-inc-korea/autorag/autorag-setup"><img src="https://agentmods.dev/badge/skills/marker-inc-korea/autorag/autorag-setup/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-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/marker-inc-korea/autorag/autorag-setup"><img src="https://agentmods.dev/badge/skills/marker-inc-korea/autorag/autorag-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,560 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 148
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00075 $0.07560
Opus 5.5 $0.00030 $0.03024
Sonnet 5.5 $0.00015 $0.01512
Haiku 4.5 $0.00007 $0.00756

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

Security

Grade A, and why

autorag-setup 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 today.

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-setup/SKILL.md · 585 lines

How it starts

The opening of the file, as written. The whole thing — 585 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AutoRAG setup

Use this skill when AutoRAG is unconfigured, the autorag CLI is missing, model resolution fails, indexes are missing or stale, or the user wants to change the document collection or datasources.

For model-free external-agent search, use autorag-lite-setup to configure and register autorag-mcp; do not configure a search model or install a search skill for Lite. This skill's model setup and CLI search apply to the full librarian, not the Lite MCP server.

Safety

  • Inspect only non-secret provider/model metadata and credential availability.
  • Never print, copy, migrate, compare, or persist credential values. Store only environment-variable names such as apiKeyEnv.
  • Do not scan the whole filesystem or home directory without explicit approval.
  • Setup, indexing, and refresh never move, rename, edit, or delete source documents. The librarian itself may organize files when the user asks it to.
  • Do not index system trees, app bundles, caches, credential stores, node_modules, .git, dist, build, target, .cache, .autorag, or .jikji.

Install the CLI if needed

The CLI is @autorag/librarian (autorag). Runtime is Node.js ≥ 24 or Bun.

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

If Bun is unavailable, npm install -g @autorag/librarian is acceptable.

Inspect existing configuration

Check --config, AUTORAG_CONFIG, $AUTORAG_HOME/config.json, or ~/.autorag/config.json. Relevant fields are:

  • searchPaths, workspacePath, and memoryPath
  • model.provider, model.id, model.api, model.baseUrl, model.apiKeyEnv
  • bm25, minSync, and jikji
  • limits (retrieval, baseline-prefetch, and model-facing candidate caps)
  • datasources and ui

Preserve explicit user choices and a working config unless the user asks to replace them or health checks fail.

Configure one search model

AutoRAG is the specialized librarian agent. One configured model plans the search, calls retrieval and filesystem tools, reads sources, judges evidence, and curates the answer in one loop. There are no orchestrator/explorer roles.

Read the full file on GitHub · 585 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. today Changed · +24 lines a34af0d4bae0
  2. yesterday Changed · +2 lines 799b1eb15acc
  3. 2d ago Changed · +2 lines 72ae885db349
  4. 3d ago Changed · +2 lines 2c3391143f90
  5. 5d ago Changed · +57 lines 5ca8a002e245
  6. 6d ago Changed · +16 lines 870e62842109
  7. 8d ago Changed e43436fab4d9
  8. 10d ago Changed · +9 lines 6e407e49f055
  9. 11d ago Changed · +16 lines 5d3d92825e03
  10. 13d ago First seen · 457 lines · 75 tokens per session scan A e2ef55165886

Subscribe to this mod's changes

autorag-setup is a skill published in the GitHub repository Marker-Inc-Korea/AutoRAG (5,199 stars, last pushed yesterday), licensed Apache-2.0. It adds 75 tokens to every session and 7,560 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

rag-pipeline

Build a retrieval-augmented generation pipeline — chunking, indexing, retrieval, and grounded answer synthesis.

vikasudasi/skill-vault · 25 tokens

gno

Search local documents, files, notes, and knowledge bases. Index directories, search with BM25/vector/hybrid, get AI answers with citations. Use when user wants to search files, find documents, query notes, look up information in local folders, index a directory, set up document search, build a knowledge base, needs…

gmickel/gno · 86 tokens

vector-db

Vector database expert for embeddings, similarity search, RAG patterns, and indexing strategies.

RightNow-AI/openfang · 19 tokens

huggingface-transformers

Use when running or fine-tuning Hugging Face Transformers models in Python — pipeline() inference for text classification and generation, loading weights with AutoModel/AutoTokenizer, devicemap and dtype memory management, tokenizer usage, Trainer fine-tuning, and BGE embeddings for Chinese RAG. Covers transformers…

znlgis/opengis-skills · 86 tokens

chroma

Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…

Orchestra-Research/AI-Research-SKILLs · 63 tokens

chroma

Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…

synthetic-sciences/openscience · 63 tokens