Skip to main content
skill CX Codex

index · thoreinstein — Claude Code and Gemini CLI skill: Obsidian RAG indexing

Triggers indexing of an Obsidian vault for semantic search — incremental by default, full rebuild when you ask for force.

ISC ★ 102 updated 2026-10-25

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add thoreinstein/gemini-obsidian --skill index -a claude-code
Open on GitHub

What index does

The index skill covers one step of a RAG setup over an Obsidian vault. Say “index”, “reindex” or “rebuild index” and it calls obsidian_rag_index to embed the notes for semantic search. No arguments means an incremental pass: files that changed get embedded again, the rest stay as they are.

Add “force” or “rebuild from scratch” and the call goes out with force_reindex: true for a full rebuild. Name a single file and its relative path lands in file_path. Afterwards the skill reports the chunk count and whether the run was incremental or full.

One tool does all the work. Without obsidian_rag_index available in the session, the skill has nothing to call.

What it helps with

  • embed an Obsidian vault for semantic search
  • rebuild the whole RAG index from scratch
  • refresh only the notes that changed
  • index a single note by relative path
  • check how many chunks a run produced

Example prompts for the agent

  • Index my Obsidian vault for semantic search.
  • Rebuild the index from scratch with force_reindex: true.
  • Reindex just one file — pass its relative path in file_path.

How to install index

1Skills CLI (Vercel)

npx skills add thoreinstein/gemini-obsidian --skill index -a claude-code

2Manually: put the files in place

~/.claude/skills/index/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/index/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about index

How do I install the index skill in Claude Code?

Run npx skills add thoreinstein/gemini-obsidian --skill index -a claude-code. The skill file ends up at ~/.claude/skills/index/SKILL.md.

What does the index skill do?

It triggers indexing of the Obsidian vault for semantic search through the obsidian_rag_index tool.

Can I index a single file instead of the whole vault?

Yes. Put the relative path in file_path and the skill calls obsidian_rag_index for that one file.

Source text

SKILL.md · ISC
---
name: index
description: >-
  Use when the user wants to index their vault for semantic search, rebuild
  the RAG index, or says "index", "reindex", or "rebuild index".
---

# 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.

© thoreinstein · ISC · thoreinstein/gemini-obsidian

Similar skills

All skills for Agent setup: memory, context, orchestration →

index by other authors comes first.

index official OpenAI The index skill routes product design requests to the right workflow. Use it when you want to explore an idea, review a user flow, or build a prototype from a visual reference. CX Codex GP ChatGPT +1 5installs index official Data Analytics Maintainers index — a Codex skill that distributes Data Analytics plugin requests across focused workflows. Activates when Data Analytics is mentioned or when working with metrics, dashboards, reports, and KPI. CX Codex GP ChatGPT +1 5installs obsidian-reindex Eugeniu Ghelbur obsidian-reindex refreshes the semantic search index for an Obsidian vault and reports how many notes are indexed before and after. Runs fast on subsequent calls because it only embeds new or modified notes. CX Codex +1 ★ 5,412repo stars enzyme byenzyme enzyme builds a local index of your Markdown notes so the agent can surface related pages by meaning instead of keywords. ★ 160repo stars smart-connections-mcp msdanyg smart-connections-mcp searches your Obsidian vault by meaning instead of exact words. Useful when the agent has to recall what you already wrote about a topic. CX Codex +1 ★ 59repo stars seekstone shaqmughal Connects an AI client to Obsidian files for searching and editing. The Obsidian app can stay closed while seekstone works with the vault. CX Codex +1 ★ 36repo stars Obsidian Brain sweir1 Obsidian Brain — a local MCP server that hands your agent semantic search, a link graph and write access to an Obsidian vault. It works on plain .md files on disk. CX Codex +1 ★ 14repo stars Obsidian Hybrid Search flowing-abyss Obsidian Hybrid Search — an MCP server that lets your agent search an Obsidian vault by meaning, title and links, read notes, and pull cited context from your own files. CX Codex +1 ★ 126repo stars

From the same set15

The whole set →

Project sponsors

Companies that keep this analytics open