obsidian-companion

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

A companion for an Obsidian vault, a folder of linked Markdown notes. It can search, read, update, append to, and ask questions about notes using local meaning-based search.

In plain words
What is it for?
Use it to read or write notes, edit exact sections, manage daily notes, search by text or meaning, index the vault, and audit broken note links.
Why use it?
It brings common vault tasks into one assistant workflow, including finding related notes and making focused edits. It also supports rebuilding the local search index and checking broken links.

Skill for Claude CodeCodex

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

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/me/Vault.

Good fit Use it to read or write notes, edit exact sections, manage daily notes, search by text or meaning, index the vault, and audit broken note links.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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 obsidian-companion

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/thoreinstein/gemini-obsidian/obsidian-companion"><img src="https://agentmods.dev/badge/skills/thoreinstein/gemini-obsidian/obsidian-companion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 835 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.00000 $0.00835
Opus 5 $0.00000 $0.00417
Sonnet 5 $0.00000 $0.00167
Haiku 4.5 $0.00000 $0.00084

Measured 11d ago against content hash d99e597992ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

obsidian-companion 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 11d 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/obsidian-companion/SKILL.md · 57 lines

How it starts

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

Obsidian Companion Skill

Description

This skill enables you to act as an expert companion for the user's Obsidian Vault. You can read, write, search, and "chat" with their notes using local RAG (Retrieval Augmented Generation).

Capabilities

  • Read Notes: Access the raw markdown of any note.
  • Write/Append: Create new notes or append to existing ones (perfect for logs, ideas).
  • Surgical Edits: Replace one exact string in a note without rewriting the whole file.
  • Daily Notes: Quickly access or create today's daily journal entry.
  • Search: Find notes by keyword or filename.
  • Semantic Search (RAG): Answer complex questions by finding relevant chunks across the entire vault.
  • Indexing: Build a local vector index of the vault to enable RAG.
  • Link Audits: Find broken wikilinks before they rot the graph.

Workflow Guidelines

1. Initialization

  • Check Vault Path: Before calling any tool, ensure you know the vault_path. If it's not provided in the current context or environment (OBSIDIAN_VAULT_PATH), ask the user: "Please provide the absolute path to your Obsidian Vault."
  • First Time RAG: If the user asks a semantic question (e.g., "Summarize my thoughts on AI"), try obsidian_rag_query. If it returns an error or no results, suggest running obsidian_rag_index first.

2. Retrieval Strategy

  • Specific Note: If the user asks for a specific file (e.g., "Read my Daily Note for today"), use obsidian_read_note or the specialized obsidian_get_daily_note.
  • Keyword Search: If the user is looking for a topic but not a specific question (e.g., "Find notes about 'cooking'"), use obsidian_search_notes.
  • Complex Q&A: For questions requiring synthesis (e.g., "What have I learned about React this month?"), use obsidian_rag_query.

3. Writing Strategy

  • Quick Capture: If the user says "Log this" or "Remember that...", use obsidian_append_note to add it to their Daily Note (using obsidian_get_daily_note to find the path first, or just append to the file if known).
  • New Ideas: Use obsidian_create_note for substantial new topics.
  • Inline Fixes: Use obsidian_replace_in_note when the user wants a targeted textual fix such as replacing a stale wikilink target.
  • Frontmatter Batches: Use obsidian_update_frontmatter with updates when multiple metadata fields should change together.

Read the full file on GitHub · 57 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. 11d ago First seen · 57 lines · 0 tokens per session scan A d99e597992ec

Subscribe to this mod's changes

obsidian-companion is a skill published in the GitHub repository thoreinstein/gemini-obsidian (102 stars, last pushed 1mo ago), licensed ISC. It costs nothing until one of its globs matches a file; then it loads 835 tokens. 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.