clio-indexer

clio-indexer is a skill for Claude Code from iowarp/clio-kit. It costs 131 tokens per session (4,205 once invoked), scanned A, original, BSD-3-Clause.

A search index for finding words and phrases in stored data blobs. It builds a keyword index in memory and ranks matching blobs with BM25, a standard text-search scoring method.

In plain words
What is it for?
It is for adding content search to a CLIO storage system from Python or C++.
Why use it?
It avoids scanning every stored blob each time someone searches. The index updates when blobs change and can filter results by names or tags.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the clio-core-skills plugin — 12 skills shipped together

Good fit It is for adding content search to a CLIO storage system from Python or C++.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iowarp/clio-kit/clio-indexer
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 iowarp/clio-kit --skill clio-indexer
Clone the repo
git clone --depth 1 https://github.com/iowarp/clio-kit

Made for: Claude Code.

Or install clio-core-skills, the plugin that ships this one along with the rest of its 12 skills.

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 clio-indexer

README.md
[![agentmods](https://agentmods.dev/badge/skills/iowarp/clio-kit/clio-indexer/github.svg)](https://agentmods.dev/skills/iowarp/clio-kit/clio-indexer)
Your own site
<a href="https://agentmods.dev/skills/iowarp/clio-kit/clio-indexer"><img src="https://agentmods.dev/badge/skills/iowarp/clio-kit/clio-indexer/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 clio-indexer

Your own site · 80×15
<a href="https://agentmods.dev/skills/iowarp/clio-kit/clio-indexer"><img src="https://agentmods.dev/badge/skills/iowarp/clio-kit/clio-indexer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,205 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.
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.00131 $0.04205
Opus 5.5 $0.00052 $0.01682
Sonnet 5.5 $0.00026 $0.00841
Haiku 4.5 $0.00013 $0.00421

Measured 7d ago against content hash 75449c1cc693, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clio-indexer 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 7d 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/clio-core-skills/skills/clio-indexer/SKILL.md · 248 lines

How it starts

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

Indexer: keyword search over blob contents (clio_cte_indexer)

Facts checked against clio-core dev (bd1dc3183, 2026-11-21). Source paths in parentheses are provenance for maintainers only.

Files in this skill

file read when
SEARCH.md calling search: Python (clio_cte_core_ext, clio_cee), C++, result format, BM25 details, ReindexScan, worked examples.
evals.md checking that this skill closes the gaps it targets.

What it is

The indexer is an interposer in the CTE chain. It speaks the CTE core's task interface, forwards every call down to next_pool_id, and on the way notes which blobs changed. In the background it reads those blobs back, tokenizes their bytes and keeps a per-node forward index (term counts per blob) in RAM. It is the only pool that answers SemanticSearch (core method id 35): BM25 keyword ranking over blob contents, filtered by tag-name and blob-name regexes. The CTE core no longer implements search.

Cost: a put pays one O(1) dirty-key enqueue on the ack path. The real work (read-back + tokenize) runs in a periodic sweep or at the start of the next search. The index lives in process memory and grows with every indexed blob.

"Semantic" is a historical name. It is exact-token BM25: no embeddings, no stemming, no fuzzy matching.

Availability

item value
mod_name clio_cte_indexer
default pool_id 564.0 (pool_name: clio_cte_indexer)
pip wheel yes (the default config composes it; without the library clio-run start fails to create 564.0)
build option built whenever the CTE is built (CLIO_CORE_ENABLE_CTE=ON, the default)
module-only method ids kIndexSweep 100 (internal periodic task), kReindexScan 101 (C++ client only)
interposed core ids PutBlob 15, DelBlob 18, DelTag 19, SemanticSearch 35, TruncateBlob 37, RenameTag 38, MultiPutBlob 48, plus UpdateTagNames

When to compose it / when not

Compose it when people or agents need to find blobs or files by the words in them: notes, logs, JSON, CSV, source code, metadata, text imported by the CAE. It is in the default chain.

Read the full file on GitHub · 248 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 248 lines · 131 tokens per session scan A 75449c1cc693

Subscribe to this mod's changes

clio-indexer is a skill published in the GitHub repository iowarp/clio-kit (35 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 131 tokens to every session and 4,205 once invoked, about $0.0005 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-11-23.

Related

clio-indexer compared with skills from other repositories

clio-indexer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clio-indexeriowarp/clio-kitSkill35yesterdayBSD-3-ClauseA131Claude Code
requirement-alignmentbaixinghao/intent-gateSkill31mo agoMITA0Claude Code
bio-clinical-databases-myvariant-queriesPKU-YuanGroup/OpenAI4SSkill675todayMITA86Claude Code, Codex
agent-infinixuzhougeng/wisp-scienceSkill1.1k6d agoAGPL-3.0C65Claude Code, Codex
tencent-pg-inspectionTencentCloudCommunity/mcp-serverSkill344mo agoApache-2.0A68Claude Code, Codex
tencent-pg-ops-troubleshooterTencentCloudCommunity/mcp-serverSkill344mo agoApache-2.0A72Claude Code, Codex
tencent-pg-slowquery-diagnosisTencentCloudCommunity/mcp-serverSkill344mo agoApache-2.0A75Claude Code, Codex