index

index is a skill for Claude Code, Codex from thoreinstein/gemini-obsidian. It costs 36 tokens per session (181 once invoked), scanned A, original, ISC.

A workflow for indexing an Obsidian vault so its notes can be searched by meaning, not only by exact words. It can update the existing index or rebuild it from scratch.

In plain words
What is it for?
Indexing the whole vault, rebuilding the search index, or indexing one specified file.
Why use it?
It helps the agent find relevant notes after files change, without requiring an entirely new index every time.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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 skills/thoreinstein/gemini-obsidian/index
Any agent
npx skills add thoreinstein/gemini-obsidian --skill index
Clone the repo
git clone --depth 1 https://github.com/thoreinstein/gemini-obsidian

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 index

README.md
[![agentmods](https://agentmods.dev/badge/skills/thoreinstein/gemini-obsidian/index.svg)](https://agentmods.dev/skills/thoreinstein/gemini-obsidian/index)
Your own site
<a href="https://agentmods.dev/skills/thoreinstein/gemini-obsidian/index"><img src="https://agentmods.dev/badge/skills/thoreinstein/gemini-obsidian/index.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 181 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.1 $0.00036 $0.00181
Opus 5 $0.00018 $0.00090
Sonnet 5 $0.00007 $0.00036
Haiku 4.5 $0.00004 $0.00018

Measured 6d ago against content hash 59ee6a426076, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • index — 100% identical, 0 lines differ
skills/index/SKILL.md · 29 lines

What it actually says

Index Vault

Trigger vault indexing for semantic search (RAG).

Default Action

Call obsidian_rag_index with no special arguments. This runs an incremental index — only changed files are re-embedded.

Force Reindex

If the user says "force" or "rebuild from scratch":

  • Call obsidian_rag_index with force_reindex: true

Single File

If the user specifies a file:

  • Call obsidian_rag_index with file_path set to the relative path

After Indexing

Report the result: how many chunks were indexed, whether it was incremental or full.

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. 6d ago First seen · 29 lines · 36 tokens per session scan A 59ee6a426076

Subscribe to this mod's changes

index is a skill published in the GitHub repository thoreinstein/gemini-obsidian (102 stars, last pushed 1mo ago), licensed ISC. It adds 36 tokens to every session and 181 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-30.

Related

Other skills, from other repositories

rag

This skill should be used when the user wants to "retrieval augmented generation", "RAG", "ground agent in documents", "knowledge base search", "vector search for agents", "semantic document retrieval", "augment LLM with external knowledge", "document QA", "knowledge grounding", "enterprise knowledge agent", "PDF…

hajekim/agentic-design-patterns-extension · 421 tokens

mongodb-search-and-ai

Guides MongoDB users through implementing and optimizing Atlas Search (full-text), Vector Search (semantic), and Hybrid Search solutions. Use this skill when users need to build search functionality for text-based queries (autocomplete, fuzzy matching, faceted search), semantic similarity (embeddings, RAG…

fcakyon/claude-codex-settings · 132 tokens

sqlite-vec-skilld

ALWAYS use when writing code importing "sqlite-vec". Consult for debugging, best practices, or modifying sqlite-vec, sqlite vec.

skilld-dev/skilld · 35 tokens

neo4j-document-import-skill

Ingests unstructured and semi-structured documents into Neo4j as a knowledge graph. Use when chunking PDFs, HTML, plain text, or Markdown; extracting entities and relationships from text with an LLM (SimpleKGPipeline, neo4j-graphrag); loading JSON via apoc.load.json; building Document→Chunk→Entity graph structures; or…

neo4j-contrib/neo4j-skills · 187 tokens

neo4j-graphrag-skill

Build GraphRAG retrieval pipelines on Neo4j using the neo4j-graphrag Python package (v1.16.0+). Covers retriever selection (VectorRetriever, HybridRetriever, VectorCypherRetriever, HybridCypherRetriever, Text2CypherRetriever, ToolsRetriever), external vector DB retrievers (Weaviate, Pinecone, Qdrant), retrievalquery…

neo4j-contrib/neo4j-skills · 228 tokens

neo4j-vector-index-skill

Create and manage Neo4j vector indexes, run vector similarity search (ANN/kNN), store embeddings on nodes or relationships, use SEARCH clause (Neo4j 2026.01+, preferred) or db.index.vector.queryNodes() procedure (deprecated 2026.04, still works on 2025.x), configure HNSW and quantization options, pick similarity…

neo4j-contrib/neo4j-skills · 210 tokens