Skip to main content

obsidian

Read, search, and create notes in the Obsidian vault.

来源信息

仓库
math-inc/OpenGauss
最近来源活动
2026年3月19日 17:58
检测到的 SKILL.md 语言
英语
星标
1,267
分支
115

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
obsidian
description
Read, search, and create notes in the Obsidian vault.
# Obsidian Vault **Location:** Set via `OBSIDIAN_VAULT_PATH` environment variable (e.g. in `~/.gauss/.env`). If unset, defaults to `~/Documents/Obsidian Vault`. Note: Vault paths may contain spaces - always quote them. ## Read a note ```bash VAULT="${OBSIDIAN_VAULT_PATH:-$HOME/Documents/Obsidian Vault}" cat "$VAULT/Note Name.md" ``` ## List notes ```bash VAULT="${OBSIDIAN_VAULT_PATH:-$HOME/Documents/Obsidian Vault}" # All notes find "$VAULT" -name "*.md" -type f # In a specific folder ls "$VAULT/Subfolder/" ``` ## Search ```bash VAULT="${OBSIDIAN_VAULT_PATH:-$HOME/Documents/Obsidian Vault}" # By filename find "$VAULT" -name "*.md" -iname "*keyword*" # By content grep -rli "keyword" "$VAULT" --include="*.md" ``` ## Create a note ```bash VAULT="${OBSIDIAN_VAULT_PATH:-$HOME/Documents/Obsidian Vault}" cat > "$VAULT/New Note.md" << 'ENDNOTE' # Title Content here. ENDNOTE ``` ## Append to a note ```bash VAULT="${OBSIDIAN_VAULT_PATH:-$HOME/Documents/Obsidian Vault}" echo " New content here." >> "$VAULT/Existing Note.md" ``` ## Wikilinks Obsidian links notes with `[[Note Name]]` syntax. When creating notes, use these to link related content.
在 GitHub 查看