用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/laude-institute/headlong --skill obsidian命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Create new ShellLM skills. Use when the user asks to write, author, build, or scaffold a new skill, or when an agent needs to extend its own capabilities by creating a new SKILL.md file.
Reference for the shellm system — recursive LLM shell, identity management, memory, skills, trajectory, and all CLI tools. Use when working on shellm itself, debugging agent behavior, or understanding how the pieces fit together.
Talk with people on Slack — recognize slack-* senders and reach them via chat reply
| name | obsidian |
| description | Read, write, search, and manage notes in an Obsidian vault |
| metadata | {"shelllm":{"requires":{"env":["OBSIDIAN_VAULT"]}}} |
An Obsidian vault is a folder of markdown files with a .obsidian/ config directory. The OBSIDIAN_VAULT environment variable must point to the vault root. All operations are filesystem-based — Obsidian detects changes automatically when running.
Obsidian watches the vault directory for filesystem changes. When Obsidian is running, any file you create, edit, or delete is picked up and synced automatically (if Obsidian Sync or a sync plugin is configured). Never modify anything inside .obsidian/ directly.
cat "$OBSIDIAN_VAULT/path/to/note.md"
# All notes
find "$OBSIDIAN_VAULT" -name '*.md' -not -path '*/.obsidian/*'
# Notes in a specific folder
ls "$OBSIDIAN_VAULT/folder/"*.md
cat > "$OBSIDIAN_VAULT/path/to/note.md" << 'EOF'
---
tags: [topic]
---
Note content here.
EOF
echo "New content" >> "$OBSIDIAN_VAULT/path/to/note.md"
cat > "$OBSIDIAN_VAULT/path/to/note.md" << 'EOF'
Replacement content.
EOF
grep -rl "search term" "$OBSIDIAN_VAULT" --include='*.md' | grep -v '.obsidian/'
find "$OBSIDIAN_VAULT" -name '*keyword*' -name '*.md' -not -path '*/.obsidian/*'
mv "$OBSIDIAN_VAULT/old/path.md" "$OBSIDIAN_VAULT/new/path.md"
Note: Moving or renaming files does not automatically update [[wikilinks]] pointing to that note. If the note is linked from others, update those references manually or rely on Obsidian's built-in rename refactoring (which only works when Obsidian performs the rename via its UI).
rm "$OBSIDIAN_VAULT/path/to/note.md"
mkdir -p "$OBSIDIAN_VAULT/new/folder"
rmdir "$OBSIDIAN_VAULT/empty/folder"
grep -rl '#tagname' "$OBSIDIAN_VAULT" --include='*.md' | grep -v '.obsidian/'
grep -rl '\[\[Page Name\]\]' "$OBSIDIAN_VAULT" --include='*.md' | grep -v '.obsidian/'
# Find all notes that link to "My Note"
grep -rl '\[\[My Note\]\]' "$OBSIDIAN_VAULT" --include='*.md' | grep -v '.obsidian/'
sed -n '/^---$/,/^---$/p' "$OBSIDIAN_VAULT/path/to/note.md"
When creating notes, include YAML frontmatter between --- markers at the top of the file:
---
tags: [tag1, tag2]
aliases: [alternate-name]
date: 2024-01-15
---
[[Note Name]] to link between notes. For sections: [[Note Name#Section]].#tag inline or in frontmatter tags: [tag1, tag2].--- markers at the top of each file. Used for tags, aliases, dates, and custom metadata.daily/ or Daily Notes/ folder with YYYY-MM-DD.md naming.attachments/ or assets/ folder..obsidian/: This directory contains Obsidian's configuration, plugins, and theme data. Modifying it directly can corrupt settings.