indexes

indexes is a command for coding agents from cwensel/arcaneum. It costs 13 tokens per session (605 once invoked), scanned A, original, MIT.

A command set for managing MeiliSearch indexes, which store documents for full-text search. It can create, list, inspect, verify, export, import, and remove indexes.

In plain words
What is it for?
Use it to manage document or PDF search indexes, inspect their files, check their health, move them through JSONL backups, and manage projects in the code index.
Why use it?
It keeps full-text search data organized and gives you checks and backup options without requiring a separate tool for each index task.

Command

Part of the arc plugin — 5 skills, 10 commands shipped together

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 commands/cwensel/arcaneum/indexes
Clone the repo
git clone --depth 1 https://github.com/cwensel/arcaneum

Or install arc, the plugin that ships this one along with the rest of its 5 skills, 10 commands.

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 indexes

README.md
[![agentmods](https://agentmods.dev/badge/commands/cwensel/arcaneum/indexes.svg)](https://agentmods.dev/commands/cwensel/arcaneum/indexes)
Your own site
<a href="https://agentmods.dev/commands/cwensel/arcaneum/indexes"><img src="https://agentmods.dev/badge/commands/cwensel/arcaneum/indexes.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 605 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.00013 $0.00605
Opus 5 $0.00006 $0.00302
Sonnet 5 $0.00003 $0.00121
Haiku 4.5 $0.00001 $0.00060

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

Security

Grade A, and why

indexes 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 5d 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.

commands/indexes.md · 75 lines

What it actually says

Manage MeiliSearch full-text indexes (mirrors arc collection for Qdrant).

Note: For most users, /arc:corpus is recommended as it provides both semantic and full-text search. Use /arc:indexes when you only need full-text search.

IMPORTANT: You must specify a subcommand (create, list, info, delete, items, verify, export, or import).

Subcommands (required):

  • create: Create a new index with type-specific settings
  • list: List all indexes in MeiliSearch
  • info: Show detailed information about an index
  • delete: Delete an index permanently
  • items: List indexed files/documents in an index
  • verify: Verify index health and integrity
  • export: Export index to JSONL file
  • import: Import index from JSONL file
  • update-settings: Update index settings from preset type
  • list-projects: List git projects in code index
  • delete-project: Delete a git project from code index

Common Options:

  • --json: Output in JSON format for programmatic use

Examples:

/indexes create MyDocs --type pdf
/indexes list
/indexes info MyDocs
/indexes items MyDocs
/indexes verify MyDocs
/indexes export MyDocs -o backup.jsonl
/indexes import backup.jsonl --into MyDocs-restored
/indexes delete MyDocs --confirm

Execution:

arc indexes $ARGUMENTS

Index Types:

  • pdf (alias: pdf-docs): PDF documents with stop words
  • code (alias: source-code): Source code with higher typo thresholds
  • markdown (alias: markdown-docs): Markdown with headings search

Git Project Commands (for code indexes):

/indexes list-projects MyCode
/indexes delete-project arcaneum#main --index MyCode

Related Commands:

  • /arc:corpus create - Create corpus for dual indexing (recommended)
  • /arc:corpus sync - Index to both systems (recommended)
  • /arc:collection - Manage Qdrant collections (semantic search only)
  • /arc:search text - Full-text search in MeiliSearch indexes

Implementation:

  • Defined in RDR-008 (Full-Text Search Server Setup)
  • Enhanced in RDR-011 (Source Code Full-Text Indexing)
  • Enhanced in RDR-012 (Full-Text Search Claude Integration)
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. 5d ago First seen · 75 lines · 13 tokens per session scan A 90b995270a09

Subscribe to this mod's changes

indexes is a command published in the GitHub repository cwensel/arcaneum (7 stars, last pushed 9d ago), licensed MIT. It adds 13 tokens to every session and 605 once invoked, about $0.0001 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-31.