obsidian
Work 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.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- obsidian
- description
- Work 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.
02 资源文件 4
- 参考文档_meta.json338 B
- 参考文档.clawhub/origin.json140 B
- 脚本scripts/obsidian_cli.py13.3 KB
- 脚本scripts/obsidian_search.py8.1 KB
03 SKILL.md 正文
Obsidian Knowledge Base
Obsidian vault = folder with Markdown files + .obsidian/ config.
Configuration
- Vault Path:
/home/ruslan/webdav/data/ruslain - Env:
OBSIDIAN_VAULT=/home/ruslan/webdav/data/ruslain
CLI Usage
Scripts 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"
Workflow: Query Knowledge Base
- Run
obsidian_search.pywith user query - Read top results if needed for context
- Formulate answer based on found content
- Cite sources:
[[Note Name]]
Workflow: Save Note
- If no folder specified → run
suggest-folderor use--auto-folder - Create note with
createcommand - Add appropriate tags based on content
- Report created path to user
Workflow: Edit Note by Prompt
User prompts like:
- "Добавь резюме в конец заметки X" →
edit X append -c "..." - "Перепиши заметку Y более кратко" → read note, rewrite,
edit Y replace -c "..." - "Добавь секцию 'Выводы' в заметку Z" →
edit Z replace-section -s "Выводы" -c "..."
Note Format
---
created: 2024-01-15T10:30:00
modified: 2024-01-15T12:00:00
tags:
- project
- work
---
# Title
Content with [[wikilinks]] and #inline-tags.
Wikilinks
[[Note Name]]— link to note[[Note Name|Display Text]]— link with alias[[Note Name#Section]]— link to section
Frontmatter Fields
Standard fields:
created— creation timestampmodified— last edit timestamptags— list of tagsaliases— alternative names for linking
Search Behavior
obsidian_search.py uses:
- ripgrep for fast initial filtering
- Title matching (highest weight)
- Tag matching
- Fuzzy content search with phonetic transliteration (RU↔EN)
- Returns: path, title, score, matched context
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.