Skip to content
Productivity
Skill

/obsidian-vault-ops

Read and write Obsidian vault files, manage wiki-links, process markdown with YAML frontmatter. Use when working with vault file operations, creating notes, or managing links.

From plugin
obsidian-claude-pkm
1.7k13 skills4 agents
Install
$ npx -y skills add ballred/obsidian-claude-pkm --skill obsidian-vault-ops --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/obsidian-vault-ops

Context preview

The summary Claude sees to decide when to auto-load this skill.

Read and write Obsidian vault files, manage wiki-links, process markdown with YAML frontmatter. Use when working with vault file operations, creating notes, or managing links.

SKILL.md

obsidian-vault-ops.SKILL.md
name: obsidian-vault-ops
description: Read and write Obsidian vault files, manage wiki-links, process markdown with YAML frontmatter. Use when working with vault file operations, creating notes, or managing links.
allowed-tools: Read, Write, Edit, Glob, Grep
model: sonnet

Obsidian Vault Operations Skill

Core operations for reading, writing, and managing files in an Obsidian vault.

Vault Structure

vault-root/
├── CLAUDE.md           # Main context (always read first)
├── Daily Notes/        # YYYY-MM-DD.md format
├── Goals/              # Goal cascade files
├── Projects/           # Project folders with CLAUDE.md
├── Templates/          # Reusable note structures
└── Archives/           # Completed/inactive content

File Operations

Reading Notes

  • Use Glob to find files: `*.md`, `Daily Notes/*.md`
  • Read CLAUDE.md first for vault context
  • Check for wiki-links to related notes

Creating Notes

1. Check if note already exists 2. Use appropriate template if available 3. Add YAML frontmatter with date and tags 4. Insert wiki-links to related notes

Editing Notes

  • Preserve YAML frontmatter structure
  • Maintain existing wiki-links
  • Use consistent heading hierarchy
  • Apply standard tag format

Wiki-Link Format

[[Note Name]]                    # Simple link
[[Note Name|Display Text]]       # Link with alias
[[Note Name#Section]]            # Link to section

YAML Frontmatter

Standard frontmatter structure:

---
date: 2024-01-15
tags: [tag1, tag2]
status: active
---

Template Variables

When processing templates, replace:

  • `{{date}}` - Today's date (YYYY-MM-DD)
  • `{{date:format}}` - Formatted date
  • `{{date-1}}` - Yesterday
  • `{{date+1}}` - Tomorrow
  • `{{time}}` - Current time

Common Patterns

Daily Note Creation

1. Calculate today's date in YYYY-MM-DD format 2. Check if `Daily Notes/{date}.md` exists 3. If not, read `Templates/Daily Template.md` 4. Replace template variables 5. Write to `Daily Notes/{date}.md`

Finding Related Notes

1. Extract key terms from current note 2. Search vault for matching content 3. Suggest wiki-links to related notes

Tag Operations

  • Priority: `#priority/high`, `#priority/medium`, `#priority/low`
  • Status: `#active`, `#waiting`, `#completed`, `#archived`
  • Context: `#work`, `#personal`, `#health`, `#learning`

Best Practices

1. Always check CLAUDE.md for vault-specific conventions 2. Preserve existing structure when editing 3. Use relative paths for internal links 4. Add frontmatter to new notes 5. Link to relevant goals when creating tasks

Read more
Ships withobsidian-claude-pkm

Not another PKM starter kit. This is an execution system that connects your 3-year vision to what you do today — and holds you accountable with AI. Every layer connects. /daily surfaces your ONE Big Thing from the weekly review. /weekly shows project progress.

Get the whole plugin
Stats
1,741
Stars
119
Forks
Maintained
Maintenance
Shell
Language
MIT
License
5mo ago
Last commit
1y ago
Created

Repo: ballred/obsidian-claude-pkm