Saves markdown content to remote Obsidian vault via SSH
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install save-to-obsidian或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install save-to-obsidian⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/save-to-obsidian/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: save-to-obsidian description: Saves markdown content to remote Obsidian vault via SSH version: 1.0.0 ---
Saves markdown content to remote Obsidian vault via SSH.
This skill is for machines WITHOUT iCloud sync (e.g., Linux/Ubuntu servers). If your machine already has iCloud Desktop sync enabled and direct access to the Obsidian vault, you don't need this skill — just copy files directly to the vault path.
User says: "save to obsidian", "send to obsidian", "copy to obsidian"
scp user@remote-host:/path/to/obsidian/vault/ Example:
# Write content to temp file
cat > /tmp/my-note.md << 'EOF'
# My Note
Content here
EOF
# Copy to remote Obsidian vault
scp /tmp/my-note.md [email protected]:~/Obsidian/MyVault/
# Clean up
rm /tmp/my-note.md
Configuration: The agent should use the SSH host and vault path configured in workspace TOOLS.md
All content saved to Obsidian MUST follow these rules:
`mermaid )[[note-name]]textThis skill is executed by the main OpenClaw agent session. The save-to-obsidian.sh script runs as a shell command via the exec tool. No sub-agents are spawned. iCloud sync is handled automatically after file transfer — no agent action needed.
Save succeeds when:
Failure conditions: SSH unreachable, vault path does not exist, disk full, filename contains characters invalid for iCloud sync (handled by sanitization in script).
This skill reads SSH and vault configuration from your workspace TOOLS.md:
| Variable | Description | Where to set | |----------|-------------|--------------| | SSH host | Hostname/IP of the remote machine hosting the Obsidian vault | TOOLS.md (e.g., myserver.local) | | SSH user | Username on the remote machine | TOOLS.md (e.g., your-username) | | SSH key path | Path to SSH private key (default: ~/.ssh/id_rsa) | TOOLS.md | | Vault path | Absolute path to Obsidian vault on remote machine | TOOLS.md (e.g., ~/Obsidian/MyVault/) |
Example TOOLS.md entry:
## Obsidian Remote Vault
- SSH host: myserver.local
- SSH user: your-username
- Vault path: ~/Obsidian/MyVault/
No API keys or tokens required — uses SSH key authentication only.
安装 Save to Obsidian 后,可以对 AI 说这些话来触发它
Help me get started with Save to Obsidian
Explains what Save to Obsidian does, walks through the setup, and runs a quick demo based on your current project
Use Save to Obsidian to saves markdown content to remote Obsidian vault via SSH
Invokes Save to Obsidian with the right parameters and returns the result directly in the conversation
What can I do with Save to Obsidian in my design & creative workflow?
Lists the top use cases for Save to Obsidian, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/save-to-obsidian/ 目录(个人级,所有项目可用),或 .claude/skills/save-to-obsidian/(项目级)。重启 AI 客户端后,用 /save-to-obsidian 主动调用,或让 AI 根据上下文自动发现并使用。
Save to Obsidian 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Save to Obsidian 可免费安装使用。请查阅仓库了解许可证信息。
Saves markdown content to remote Obsidian vault via SSH
Save to Obsidian 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using Save to Obsidian
Identifies repetitive steps in your workflow and sets up Save to Obsidian to handle them automatically