Install
openclaw skills install obsidian-directWork with Obsidian vaults as a knowledge base. Features: fuzzy/phonetic search across all notes, auto-folder detection for new notes, create/read/edit notes with frontmatter, manage tags and wikilinks. Use when: querying knowledge base, saving notes/documents, editing existing notes by user instructions.
openclaw skills install obsidian-directObsidian vault = folder with Markdown files + .obsidian/ config.
/home/ruslan/webdav/data/ruslainOBSIDIAN_VAULT=/home/ruslan/webdav/data/ruslainScripts location: /home/ruslan/.openclaw/workspace/skills/obsidian/scripts
Note: Global flags (--vault, --json) must come BEFORE the command.
export OBSIDIAN_VAULT=/home/ruslan/webdav/data/ruslain
cd /home/ruslan/.openclaw/workspace/skills/obsidian/scripts
# Search (fuzzy/phonetic) - uses ripgrep for speed
python3 obsidian_search.py "$OBSIDIAN_VAULT" "query" --limit 10 --json
# List notes
python3 obsidian_cli.py --json list # all notes
python3 obsidian_cli.py --json list "Projects" # in folder
# List folders
python3 obsidian_cli.py --json folders
# Read note
python3 obsidian_cli.py --json read "Note Name"
# Create note
python3 obsidian_cli.py --json create "Title" -c "Content" -f "Folder" -t tag1 tag2
python3 obsidian_cli.py --json create "Title" -c "Content" --auto-folder # auto-detect folder
# Edit note
python3 obsidian_cli.py --json edit "Note" append -c "Text to append"
python3 obsidian_cli.py --json edit "Note" prepend -c "Text at start"
python3 obsidian_cli.py --json edit "Note" replace -c "New full content"
python3 obsidian_cli.py --json edit "Note" replace-section -s "Summary" -c "New section text"
# Tags
python3 obsidian_cli.py --json tags
# Links (incoming/outgoing)
python3 obsidian_cli.py --json links "Note Name"
# Suggest folder for content
python3 obsidian_cli.py --json suggest-folder "content text" --title "Note Title"
obsidian_search.py with user query[[Note Name]]suggest-folder or use --auto-foldercreate commandUser prompts like:
edit X append -c "..."edit Y replace -c "..."edit Z replace-section -s "Выводы" -c "..."---
created: 2024-01-15T10:30:00
modified: 2024-01-15T12:00:00
tags:
- project
- work
---
# Title
Content with [[wikilinks]] and #inline-tags.
[[Note Name]] — link to note[[Note Name|Display Text]] — link with alias[[Note Name#Section]] — link to sectionStandard fields:
created — creation timestampmodified — last edit timestamptags — list of tagsaliases — alternative names for linkingobsidian_search.py uses: