index

index is a skill for Claude Code from anishfyi/trove. It costs 46 tokens per session (314 once invoked), scanned A, original, MIT.

A repository indexing procedure for Trove, a local code knowledge index. It records information about symbols, modules, subsystems, and the project architecture.

In plain words
What is it for?
Use it to build or refresh the repository index, either incrementally or from scratch. It can also import older Claude Trove entries and reports the resulting index counts.
Why use it?
It helps the coding agent retrieve relevant code context without searching through every source file manually.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the trove plugin — 5 skills, 2 hooks shipped together

Good fit Use it to build or refresh the repository index, either incrementally or from scratch. It can also import older Claude Trove entries and reports the resulting index counts.

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

Made for: Claude Code.

Or install trove, the plugin that ships this one along with the rest of its 5 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/anishfyi/trove/index.svg)](https://agentmods.dev/skills/anishfyi/trove/index)
Your own site
<a href="https://agentmods.dev/skills/anishfyi/trove/index"><img src="https://agentmods.dev/badge/skills/anishfyi/trove/index.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 314 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.00046 $0.00314
Opus 5 $0.00023 $0.00157
Sonnet 5 $0.00009 $0.00063
Haiku 4.5 $0.00005 $0.00031

Measured 8d ago against content hash 4aeed4f9e66c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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/trove/skills/index/SKILL.md · 42 lines

What it actually says

Index (build repository memory)

Build or refresh the Trove index for the current repository.

Steps

  1. Ensure the CLI is built. From the repo root (or any repo with a .trove/ dir):

    cargo build --release -p trove-cli 2>/dev/null || true
    
  2. Run the indexer. Incremental by default (only stale files rebuild):

    cargo run -p trove-cli -- index
    

    For a full rebuild:

    cargo run -p trove-cli -- index --full
    
  3. Report results. Print symbol, module, and subsystem counts from the command output. If indexing fails, suggest cargo build -p trove-cli first.

  4. Optional: import historical entries from the Claude trove into L5 memory:

    cargo run -p trove-cli -- import-historical
    

The index is written to .trove/ (gitignored). Never commit .trove/ unless the user explicitly wants project-scope index artifacts checked in.

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. 8d ago First seen · 42 lines · 46 tokens per session scan A 4aeed4f9e66c

Subscribe to this mod's changes

index is a skill published in the GitHub repository anishfyi/trove (1 stars, last pushed 12d ago), licensed MIT. It adds 46 tokens to every session and 314 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-31.

Related

Other skills, from other repositories

okf

Author, maintain, and consume Open Knowledge Format (OKF) knowledge bundles — portable markdown + YAML frontmatter that both humans and agents read. Use when capturing project knowledge (services, APIs, schemas, metrics, runbooks, decisions) into an OKF bundle, when updating one after code or docs change, or when a…

scaccogatto/okf-skills · 127 tokens

rethink

Challenge system assumptions against accumulated evidence. Triages observations and tensions, detects patterns, generates proposals. The scientific method applied to knowledge systems. Triggers on "/rethink", "review observations", "challenge assumptions", "what have I learned".

agenticnotetaking/arscontexta · 51 tokens

graph

Interactive knowledge graph analysis. Routes natural language questions to graph scripts, interprets results in domain vocabulary, and suggests concrete actions. Triggers on "/graph", "/graph health", "/graph triangles", "find synthesis opportunities", "graph analysis".

agenticnotetaking/arscontexta · 50 tokens

remember

Capture friction as methodology notes. Three modes — explicit description, contextual (review recent corrections), session mining (scan transcripts for patterns). Triggers on "/remember", "/remember [description]".

agenticnotetaking/arscontexta · 40 tokens

seed

Add a source file to the processing queue. Checks for duplicates, creates archive folder, moves source from inbox, creates extract task, and updates queue. Triggers on "/seed", "/seed [file]", "queue this for processing".

agenticnotetaking/arscontexta · 49 tokens

orient

Use when user invokes /orient with a topic keyword, entity type, project name, time qualifier, or combination. Also triggers on "what do we know about X", "remind me about X", "where did we leave off on X". Provides targeted context loading — searches the MCP Memory Server graph, knowledge files, journal entries, and…

harnessprotocol/harness-kit · 80 tokens