{"success":true,"name":"obsidian","description":"Read, search, create, and edit notes in the Obsidian vault.","category":"note-taking","path":"note-taking/obsidian/SKILL.md","file":"SKILL.md","content":"---\nname: obsidian\ndescription: Read, search, create, and edit notes in the Obsidian vault.\nversion: 1.0.0\nauthor: Teknium (teknium1), Hermes Agent\nlicense: MIT\nplatforms: [linux, macos, windows]\nmetadata:\n  hermes:\n    tags: [Obsidian, Notes, Markdown, Vault]\n    related_skills: []\n---\n\n# Obsidian Vault\n\nUse this skill for filesystem-first Obsidian vault work: reading notes, listing notes, searching note files, creating notes, appending content, and adding wikilinks.\n\n## Vault path\n\nUse a known or resolved vault path before calling file tools.\n\nThe documented vault-path convention is the `OBSIDIAN_VAULT_PATH` environment variable, for example from `${HERMES_HOME:-~/.hermes}/.env`. If it is unset, use `~/Documents/Obsidian Vault`.\n\nFile tools do not expand shell variables. Do not pass paths containing `$OBSIDIAN_VAULT_PATH` to `read_file`, `write_file`, `patch`, or `search_files`; 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.\n\nIf the vault path is unknown, `terminal` is acceptable for resolving `OBSIDIAN_VAULT_PATH` or checking whether the fallback path exists. Once the path is known, switch back to file tools.\n\n## Read a note\n\nUse `read_file` with the resolved absolute path to the note. Prefer this over `cat` because it provides line numbers and pagination.\n\n## List notes\n\nUse `search_files` with `target: \"files\"` and the resolved vault path. Prefer this over `find` or `ls`.\n\n- To list all markdown notes, use `pattern: \"*.md\"` under the vault path.\n- To list a subfolder, search under that subfolder's absolute path.\n\n## Search\n\nUse `search_files` for both filename and content searches. Prefer this over `grep`, `find`, or `ls`.\n\n- For filenames, use `search_files` with `target: \"files\"` and a filename `pattern`.\n- For note contents, use `search_files` with `target: \"content\"`, the content regex as `pattern`, and `file_glob: \"*.md\"` when you want to restrict matches to markdown notes.\n\n## Create a note\n\nUse `write_file` with the resolved absolute path and the full markdown content. Prefer this over shell heredocs or `echo` because it avoids shell quoting issues and returns structured results.\n\n## Append to a note\n\nPrefer a native file-tool workflow when it is not awkward:\n\n- Read the target note with `read_file`.\n- Use `patch` 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.\n- Use `write_file` when rewriting the whole note is clearer than constructing a fragile patch.\n\nFor an anchored append with `patch`, replace the anchor with the anchor plus the new content.\n\nFor a simple append with no stable context, `terminal` is acceptable if it is the clearest safe option.\n\n## Targeted edits\n\nUse `patch` for focused note changes when the current content gives you stable context. Prefer this over shell text rewriting.\n\n## Wikilinks\n\nObsidian links notes with `[[Note Name]]` syntax. When creating notes, use these to link related content.\n","linked_files":[],"origin":"brimind","owner_id":null,"source":"router"}