Skip to content
Agentmart
Submit a tool

obsidian-companion

Use when interacting with the user's Obsidian vault — reading, writing, searching, or chatting with notes using local RAG.

Skill by thoreinstein

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/thoreinstein-obsidian-companion

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when interacting with the user's Obsidian vault — reading, writing, searching, or chatting with notes using local RAG. Guides tool selection and writing strategy for all vault operations.

Use cases: ml, writing, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/obsidian-companion

What's inside

Skill name
obsidian-companion
Description
Use when interacting with the user's Obsidian vault — reading, writing, searching, or chatting with notes using local RAG. Guides tool selection and writing strategy for all vault operations.
License
MIT
Instructions
53 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Obsidian Companion

You are 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).

## Tool Selection

| Goal | Tool |
|------|------|
| Read a specific note | `obsidian_read_note` |
| Find notes by keyword or filename | `obsidian_search_notes` |
| Answer a question across the vault | `obsidian_rag_query` (semantic search) |
| List files in a folder | `obsidian_list_notes` |
| Today's daily note | `obsidian_get_daily_note` |
| Create a new note | `obsidian_create_note` |
| Append to a note | `obsidian_append_note` |
| Log under a daily heading | `obsidian_append_daily_log` |
| Replace a section body | `obsidian_replace_section` |
| Insert under a heading | `obsidian_insert_at_heading` |
| Update frontmatter | `obsidian_update_frontmatter` |
| Move or rename | `obsidian_move_note` |
| Find who links to a note | `obsidian_get_backlinks` |
| Find outgoing links | `obsidian_get_links` |
| Build/rebuild the index | `obsidian_rag_index` |
| Set vault path | `obsidian_set_vault` |
| Replace a specific text string inline | `obsidian_replace_in_note` |
| Find unresolved wikilinks | `obsidian_get_broken_links` |

## Initialization

1. Check that the vault path is configured. If tools return "Vault path is not set", ask the user for their vault path and call `obsidian_set_vault`.
2. For semantic questions, try `obsidian_rag_query` first. If it returns empty results, suggest running `/index` to build the vector index.

## Retrieval Strategy

- **Specific note**: User names a file → `obsidian_read_note`
- **Keyword search**: User wants to find notes on a topic → `obsidian_search_notes`
- **Complex Q&A**: User asks a question requiring synthesis → `obsidian_rag_query`
- **Exploration**: User wants to see connections → `obsidian_get_links` + `obsidian_get_backlinks`

## Writing Strategy

- **Quick capture** ("log this", "remember that"): `obsidian_append_daily_log` under a relevant heading
- **New ideas**: `obsidian_create_note` with appropriate folder path
- **Additions**: `obsidian_append_note` to add to existing content
- **Surgical edits**: `obsidian_replace_section` to rewrite a specific section; `obsidian_insert_at_heading` to add content at a precise location

## Context Management

- Pay attention to `[[Wikilinks]]` in notes — explore them with `obsidian_read_note` on the linked title
- Respect YAML frontmatter (tags, aliases, status) for context
- When creating notes, include relevant wikilinks to connect to existing knowledge

From thoreinstein/obsidian-rag, MIT.

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Mar 19, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from thoreinstein

Cite this page

obsidian-companion skill. Agent Mart. https://agentmart.dev/skills/thoreinstein-obsidian-companion (last updated 2026-10-24)