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

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Claude Code; built for openclaw.

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/drdroidlab/open-index/setup-open-index
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 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/github.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/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 setup-open-index

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00048 $0.00762
Opus 5.5 $0.00019 $0.00305
Sonnet 5.5 $0.00010 $0.00152
Haiku 4.5 $0.00005 $0.00076

Measured 1mo ago against content hash cb111378e722, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (113 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 762 once invoked, about $0.0002 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

knowledge-org

A guide to organising large bodies of knowledge so an AI system can navigate relationships, summaries, and layers instead of searching only flat text chunks. It covers tree indexes, knowledge graphs, file-like structures, incremental updates, and long-term memory layouts.

bojieli/ai-agent-book · 96 tokens

rag-pipeline

A guide to RAG, a method where a system retrieves relevant passages from an external knowledge base before an AI model writes an answer. It covers splitting documents, searching by meaning or exact words, combining results, and measuring retrieval quality.

bojieli/ai-agent-book · 125 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

kb-memory

Local-first agent memory and knowledge service (RAG) installed from PyPI. Use when a task needs to store or recall long-term user preferences, project decisions, facts, documents or web pages, when different projects need separate memories, or when the user mentions "kb memory", "kb", or a local MCP memory service.…

fish827-08/rag-kb · 112 tokens

goodmem:help

Overview of all available GoodMem skills and what a user needs to get started. Invoke when a user asks what GoodMem skills are available, how to get started, or what they need to set up.

PAIR-Systems-Inc/goodmem-claude-code-plugin · 46 tokens

library

Sync agent memory files to a Cortex knowledge graph for enhanced retrieval, hybrid search (vector + keyword + graph), AI-powered Q&A with agentic deep research, and knowledge graph exploration.

mocaOS/cortex-app · 39 tokens