obsidian-vault

obsidian-vault is a skill for Claude Code, Codex from HinkoK/agent-skills. It costs 40 tokens per session (3,203 once invoked), scanned A, original, MIT.

A filesystem-based guide for working with notes in an Obsidian vault, which is a folder of linked Markdown notes managed by the Obsidian app. It covers reading, searching, editing, organizing, and linking those notes.

In plain words
What is it for?
Use it to find or summarize notes, create and update Markdown files, organize folders, maintain tags and links, and build index or map-of-content notes.
Why use it?
It helps preserve the vault's existing folders, tags, and links instead of treating each note as an isolated text file. This keeps a personal knowledge base organized as it grows.

Skill for Claude CodeCodex

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

Good fit Use it to find or summarize notes, create and update Markdown files, organize folders, maintain tags and links, and build index or map-of-content notes.

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

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-vault

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hinkok/agent-skills/obsidian-vault"><img src="https://agentmods.dev/badge/skills/hinkok/agent-skills/obsidian-vault.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,203 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.00040 $0.03203
Opus 5 $0.00020 $0.01602
Sonnet 5 $0.00008 $0.00641
Haiku 4.5 $0.00004 $0.00320

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

Security

Grade A, and why

obsidian-vault 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 10d 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-vault/SKILL.md · 307 lines

How it starts

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

Obsidian Vault

Обзор

Используй этот скилл для filesystem-first работы с Obsidian vault: читать заметки, выводить список файлов, искать по заметкам, создавать новые заметки, добавлять контент в существующие, организовывать папки, переносить или переименовывать заметки, создавать MOC/index notes, поддерживать теги и добавлять wikilinks.

Цель — вести себя как аккуратный хранитель базы знаний, а не как генератор текста, который разбрасывает заметки куда попало. Сохраняй существующую структуру пользователя, если он явно не попросил реорганизацию.

Когда использовать

Используй этот скилл, когда пользователь просит:

  • прочитать, найти, суммаризировать или изучить заметки в Obsidian vault;
  • создать или обновить Markdown-заметки;
  • добавить в существующие заметки материалы встречи, идеи, ресёрч, summary или задачи;
  • организовать папки, переименовать заметки или создать index/MOC notes;
  • добавить или почистить Obsidian wikilinks и теги;
  • создать или наполнить demo/test vault;
  • проверить graph hygiene, unresolved links или структуру папок.

Не используй этот скилл для:

  • обычного Markdown-текста, если речь не про vault;
  • web research, если финальный артефакт не нужно сохранить в Obsidian vault;
  • редактирования binary attachments, изображений, PDF или canvas-файлов, кроме случаев, когда их нужно сослать из Markdown-заметки.

Определение пути к vault

Перед вызовом файловых инструментов всегда определи путь к vault.

Предпочтительная конвенция:

OBSIDIAN_VAULT_PATH="/absolute/path/to/Obsidian Vault"

Переменная может быть задана в shell environment, project .env или agent-specific environment file. Если она не задана, используй fallback только если такая папка существует:

~/Documents/Obsidian Vault

Если нет ни environment variable, ни fallback-папки, спроси пользователя путь к vault перед изменением файлов.

Важные правила:

  • File tools обычно не разворачивают shell variables. Не передавай пути вроде $OBSIDIAN_VAULT_PATH/Note.md в read_file, write_file, patch или search_files.
  • Сначала получи конкретный абсолютный путь, потом передавай именно его в file tools.
  • Пути к vault часто содержат пробелы. Для операций с заметками предпочитай file tools вместо shell-команд, чтобы не ошибиться с quoting.
  • Если shell нужен, чтобы определить OBSIDIAN_VAULT_PATH, используй terminal только для discovery, а затем вернись к file tools.

Read the full file on GitHub · 307 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 307 lines · 40 tokens per session scan A 29a89b7229a8

Subscribe to this mod's changes

obsidian-vault is a skill published in the GitHub repository HinkoK/agent-skills (5 stars, last pushed 2mo ago), licensed MIT. It adds 40 tokens to every session and 3,203 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.