index

index is a skill for Claude Code from ArcBlock/agent-skills. It costs 41 tokens per session (786 once invoked), scanned A, original, MIT.

A retrieval index for finding objects stored in the AFS and DID Space systems. It supports ordinary full-text search, saved reference points, and optionally meaning-based vector search.

In plain words
What is it for?
Use it to index, query, and reindex path-addressed objects. It is suited to building search over durable application data.
Why use it?
It avoids scanning every stored object when looking for matching content. It also distinguishes content search from the separate AFS routing index.

Skill for Claude Code

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

Part of the arc plugin — 7 skills, 2 hooks shipped together

Good fit Use it to index, query, and reindex path-addressed objects. It is suited to building search over durable application data.

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

Made for: Claude Code.

Or install arc, the plugin that ships this one along with the rest of its 7 skills, 2 hooks.

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 index

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/arcblock/agent-skills/index"><img src="https://agentmods.dev/badge/skills/arcblock/agent-skills/index.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 786 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.00041 $0.00786
Opus 5.5 $0.00016 $0.00314
Sonnet 5.5 $0.00008 $0.00157
Haiku 4.5 $0.00004 $0.00079

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

Security

Grade A, and why

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.

plugins/arc/skills/index/SKILL.md · 77 lines

How it starts

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

ARC skill: index

/modules/index is Arc’s retrieval Index: structured discovery over path-addressed objects (FTS, anchors, optional semantic/vector). It exists so “looks like files on AFS” stays queryable without a full-tree scan.

Offline booklet only. Prefer live explain after a daemon is up.

Name disambiguation (read this)

Name Meaning This skill?
/modules/index Retrieval provider — index / query / reindex (FTS, anchors, optional vectors) Yes
AFS Index (manifest-of-manifests) Federated routing / distributed naming of AFS sources No — architecture docs only; do not mix into query recipes

If the task is “search my objects,” you want /modules/index.

Prefer

  1. arc skill show space when you still need somewhere durable to write objects
  2. Then this booklet for find / query
  3. Live: arc afs explain /modules/index + list …/.actions

Discover (daemon up)

arc afs explain /modules/index --instance <name>
arc afs ls /modules/index --instance <name>
arc afs ls /modules/index/.actions --instance <name>
arc afs read /.knowledge/index --instance <name>   # when that knowledge entry exists

Always explain an action path before inventing --args.

Golden path: write object → index → FTS query

Space (or /user) holds the object; Index discovers it. Many mounts auto-index on write; you can also call index explicitly.

# 1) Persist a small object (confirm writable path with explain first)
arc afs write /user/notes/hello.md "arc space index golden path" --instance <name>

# 2) Optional explicit index (schema via explain …/index)
arc afs exec /modules/index/.actions/index --instance <name> \
  --args '{"entryPath":"/user/notes/hello.md","summary":"arc space index golden path"}'

# 3) FTS query
arc afs exec /modules/index/.actions/query --instance <name> \
  --args '{"mode":"fts","text":"golden path","opts":{"limit":10}}'

# Optional: semantic/vector when embeddings are configured in the live world
# arc afs exec /modules/index/.actions/query --args '{"mode":"semantic","text":"..."}' --instance <name>

Read the full file on GitHub · 77 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 · 77 lines · 41 tokens per session scan A bf53159cbbc8

Subscribe to this mod's changes

index is a skill published in the GitHub repository ArcBlock/agent-skills (5 stars, last pushed 9d ago), licensed MIT. It adds 41 tokens to every session and 786 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-09-14.