obsidian

Read, search, create, and edit markdown notes in an Obsidian vault.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill obsidian-chensihakniroth
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: obsidian
Source: https://github.com/Chensihakniroth/ANAKOT-AGENT/tree/main/skills/note-taking/obsidian
Command: npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill obsidian-chensihakniroth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing an Obsidian vault manually requires switching between apps to read, search, and edit notes. This Skill lets an AI agent perform filesystem-first vault operations directly, from reading notes to building knowledge graphs. ## Core Features & Use Cases - Note Operations: Read, list, search, create, append, and patch markdown notes using file tools with resolved absolute vault paths. - Wikilink Management: Create notes with [[Note Name]] links to connect related content in the vault. - Knowledge Graph Scanning: Use the obsidian_graph_scan tool to extract notes and wikilink connections into JSON graph data compatible with D3 or react-force-graph. - Use Case: Ask the agent to scan your vault, find all notes mentioning a project, and generate a force-directed graph showing how your research notes interconnect. ## Quick Start Set the OBSIDIAN_VAULT_PATH environment variable, then ask the agent to search your Obsidian vault for notes about a specific topic.

Frequently Asked Questions about obsidian

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search notes in an Obsidian vault with an AI agent?▼

Use search_files with target "files" for filename patterns or target "content" with a regex and file_glob "*.md" for note contents. Resolve the vault path first, since file tools do not expand shell variables like $OBSIDIAN_VAULT_PATH.

How to create and append notes in Obsidian programmatically?▼

Use write_file with the resolved absolute path and full markdown content to create notes. For appending, read the note with read_file, then use patch with a stable anchor or rewrite the whole note with write_file.

Does the Obsidian skill support knowledge graph visualization?▼

Yes, the obsidian_graph_scan tool scans all .md files, extracts [[WikiLink]] references, and returns JSON with nodes and links. The output works with force-directed libraries like D3 or react-force-graph.

Why do file tools fail with $OBSIDIAN_VAULT_PATH in the path?▼

File tools do not expand shell environment variables, so paths containing $OBSIDIAN_VAULT_PATH fail. Resolve the variable first via terminal or config, then pass a concrete absolute path to read_file, write_file, patch, or search_files.

Where is the default Obsidian vault path configured?▼

The vault path comes from the OBSIDIAN_VAULT_PATH environment variable in ~/.anakot/.env, or obsidian.vault_path in ~/.anakot/config.yaml. If unset, the fallback is ~/Documents/Obsidian Vault.