obsidian
Original:🇺🇸 English
Translated
Read, search, create, and edit notes in the Obsidian vault.
8installs
Added on
NPX Install
npx skill4agent add nousresearch/hermes-agent obsidianTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Obsidian Vault
Use this skill for filesystem-first Obsidian vault work: reading notes, listing notes, searching note files, creating notes, appending content, and adding wikilinks.
Vault path
Use a known or resolved vault path before calling file tools.
The documented vault-path convention is the environment variable, for example from . If it is unset, use .
OBSIDIAN_VAULT_PATH~/.hermes/.env~/Documents/Obsidian VaultFile tools do not expand shell variables. Do not pass paths containing to , , , or ; resolve the vault path first and pass a concrete absolute path. Vault paths may contain spaces, which is another reason to prefer file tools over shell commands.
$OBSIDIAN_VAULT_PATHread_filewrite_filepatchsearch_filesIf the vault path is unknown, is acceptable for resolving or checking whether the fallback path exists. Once the path is known, switch back to file tools.
terminalOBSIDIAN_VAULT_PATHRead a note
Use with the resolved absolute path to the note. Prefer this over because it provides line numbers and pagination.
read_filecatList notes
Use with and the resolved vault path. Prefer this over or .
search_filestarget: "files"findls- To list all markdown notes, use under the vault path.
pattern: "*.md" - To list a subfolder, search under that subfolder's absolute path.
Search
Use for both filename and content searches. Prefer this over , , or .
search_filesgrepfindls- For filenames, use with
search_filesand a filenametarget: "files".pattern - For note contents, use with
search_files, the content regex astarget: "content", andpatternwhen you want to restrict matches to markdown notes.file_glob: "*.md"
Create a note
Use with the resolved absolute path and the full markdown content. Prefer this over shell heredocs or because it avoids shell quoting issues and returns structured results.
write_fileechoAppend to a note
Prefer a native file-tool workflow when it is not awkward:
- Read the target note with .
read_file - Use for an anchored append when there is stable context, such as adding a section after an existing heading or appending before a known trailing block.
patch - Use when rewriting the whole note is clearer than constructing a fragile patch.
write_file
For an anchored append with , replace the anchor with the anchor plus the new content.
patchFor a simple append with no stable context, is acceptable if it is the clearest safe option.
terminalTargeted edits
Use for focused note changes when the current content gives you stable context. Prefer this over shell text rewriting.
patchWikilinks
Obsidian links notes with syntax. When creating notes, use these to link related content.
[[Note Name]]