setup-open-index

setup-open-index is a skill for Claude Code, Codex from DrDroidLab/open-index. It costs 48 tokens per session (762 once invoked), scanned A, original, MIT.

A setup guide for Open Index, a searchable context store for a specialized agent. It explains how to install it, define the domain's concepts, validate and index the data, and connect it through MCP, a standard way for tools to connect to an agent.

In plain words
What is it for?
Use it when configuring legal, marketing, support, sales, infrastructure, or another domain-focused agent. It covers creating the knowledge store, defining its schema, indexing it, and connecting the Open Index MCP server.
Why use it?
It gives a domain agent a structured place to search and maintain knowledge instead of relying only on conversation context. It also separates the setup steps from the domain-specific data model.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/drdroidlab/open-index/setup-open-index
Any agent
npx skills add DrDroidLab/open-index --skill setup-open-index
Clone the repo
git clone --depth 1 https://github.com/DrDroidLab/open-index

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 setup-open-index

README.md
[![agentmods](https://agentmods.dev/badge/skills/drdroidlab/open-index/setup-open-index.svg)](https://agentmods.dev/skills/drdroidlab/open-index/setup-open-index)
Your own site
<a href="https://agentmods.dev/skills/drdroidlab/open-index/setup-open-index"><img src="https://agentmods.dev/badge/skills/drdroidlab/open-index/setup-open-index.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 762 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00048 $0.00762
Opus 5 $0.00024 $0.00381
Sonnet 5 $0.00010 $0.00152
Haiku 4.5 $0.00005 $0.00076

Measured 4d ago against content hash cb111378e722, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

setup-open-index 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 4d 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/setup-open-index/SKILL.md · 107 lines

How it starts

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

Set up Open Index for a domain agent

Open Index gives a domain-specialized agent structured context it can search, traverse, and maintain. It is read/write by default; use --read-only only when the agent must never update domain knowledge.

1. Install

From a local checkout:

python -m venv .venv
. .venv/bin/activate
pip install -e '.[mcp]'

If Open Index is published as a package, install the equivalent open-index[mcp] release instead. Never invent or hardcode credentials during setup.

2. Initialize the domain brain

Choose a short directory name and describe the actual domain in brain.yaml:

open-index init <brain-name>
cd <brain-name>
open-index validate
open-index index

Replace the example note schema with concepts meaningful to the domain. For example, a legal agent might model matters, clauses, obligations, and precedents; a support agent might model products, issues, customer segments, and resolutions.

3. Connect the MCP server

Configure the agent runtime to launch this command from the brain directory:

open-index mcp --brain /absolute/path/to/<brain-name>

Generic MCP configuration shape:

{
  "mcpServers": {
    "open-index": {
      "command": "open-index",
      "args": ["mcp", "--brain", "/absolute/path/to/<brain-name>"]
    }
  }
}

Adapt the location of this configuration to the selected client. Claude Code's optional adapter is .mcp.json; OpenClaw and Hermes may install this SKILL.md in their own skills directory while their MCP connection is configured according to that runtime's current documentation.

For retrieval-only access, append --read-only. Do not add it by default.

4. Verify the agent connection

Confirm the connected server exposes these default tools:

  • navigation_guidelines
  • search_brain
  • get_entity
  • put_entity
  • create_doc_type

The MCP host should inject the server's dynamic domain-context instructions into the agent prompt. navigation_guidelines() is a refresh/fallback for hosts that do not support server instructions or after the schema/index changes.

Read the full file on GitHub · 107 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. 4d ago First seen · 107 lines · 48 tokens per session scan A cb111378e722

Subscribe to this mod's changes

setup-open-index is a skill published in the GitHub repository DrDroidLab/open-index (105 stars, last pushed 23d ago), licensed MIT. It adds 48 tokens to every session and 762 once invoked, about $0.0002 per session on Opus 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

memory-config

Diagnose and configure MemSearch memory behavior. Use when the user asks about MemSearch configuration, plugin summarization, PROJECT.md/USER.md maintenance, memory directories, index health, provider routing, prompt files, or migration/compatibility questions.

zilliztech/memsearch · 52 tokens

memory-to-skill

Turn workflows from your MemSearch memory into reusable skills. Use when the user asks to make/create/extract/distill a skill from what they just did or from past work, review skill candidates, install a distilled skill, or 'turn this into a skill'. Manages MemSearch procedural-memory candidates under…

zilliztech/memsearch · 82 tokens

kayba-ace

This skill ships learnfromtraces.py, a script that reads OpenClaw session transcripts, feeds them through the ACE learning pipeline, and writes an updated skillbook to disk.

kayba-ai/agentic-context-engine · 0 tokens

install-openviking-memory

Install and configure the OpenViking long-term memory plugin for OpenClaw via natural conversation. Once installed, the plugin automatically captures facts from chats and recalls relevant context before each reply (auto-capture + auto-recall, cross-session). Covers prerequisites, install through OpenClaw's plugin…

volcengine/OpenViking · 191 tokens

memory-recall

Search and recall relevant memories from past sessions via memsearch. Use when the user's question could benefit from historical context, past decisions, debugging notes, previous conversations, or project knowledge -- especially questions like 'what did I decide about X', 'why did we do Y', or 'have I seen this…

zilliztech/memsearch · 149 tokens

memclaw

The agent's persistent long-term memory — the only knowledge that survives across sessions, shared across the fleet under access control. Consult it at the start of a task to recall prior decisions, findings, and rules before acting, and write outcomes, decisions, and lessons as work completes. Use whenever a caura…

caura-ai/caura · 124 tokens