# Send Save to Obsidian to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "save-to-obsidian",
    "name": "Save to Obsidian",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/chunhualiao/save-to-obsidian",
    "canonicalUrl": "https://clawhub.ai/chunhualiao/save-to-obsidian",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/save-to-obsidian",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=save-to-obsidian",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "CHANGELOG.md",
      "README.md",
      "SKILL.md",
      "references/README.md",
      "scripts/save-to-obsidian.sh",
      "skill.yml"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/save-to-obsidian"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/save-to-obsidian",
    "downloadUrl": "https://openagent3.xyz/downloads/save-to-obsidian",
    "agentUrl": "https://openagent3.xyz/skills/save-to-obsidian/agent",
    "manifestUrl": "https://openagent3.xyz/skills/save-to-obsidian/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/save-to-obsidian/agent.md"
  }
}
```
## Documentation

### Save to Obsidian

Saves markdown content to remote Obsidian vault via SSH.

### Prerequisite

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.

### When to Use

User says: "save to obsidian", "send to obsidian", "copy to obsidian"

### Process

Write content to a temp .md file (enforce formatting rules below)
Copy to remote vault: scp <filepath> user@remote-host:/path/to/obsidian/vault/
Confirm success to user

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 myuser@vault.example.com:~/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

### Formatting Rules

All content saved to Obsidian MUST follow these rules:

### Diagrams: Use Mermaid (mandatory)

Never use ASCII box diagrams, ASCII art, or plaintext diagrams
Always use Mermaid fenced code blocks (\`\`\`mermaid)
Obsidian renders Mermaid natively — ASCII diagrams look broken
Supported types: flowchart, sequence, state, class, ER, gantt, pie, mindmap, timeline, quadrant, graph

### Tables: Use Markdown tables

Obsidian renders markdown tables natively
For complex data, prefer tables over bullet lists

### Links: Use wiki-links or relative links

Link between Obsidian notes: [[note-name]]
External links: standard markdown [text](url)

### General

Use headers (##) for structure — Obsidian outline panel relies on them
Use YAML frontmatter if metadata is needed
Keep filenames kebab-case (no spaces) for cross-platform compatibility

### Agent Owner

This 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.

### Success Criteria

Save succeeds when:

scp exits with code 0
File appears in vault directory with correct filename
iCloud sync propagates the file (typically 1-2 minutes; not verified by skill)

Failure conditions: SSH unreachable, vault path does not exist, disk full, filename
contains characters invalid for iCloud sync (handled by sanitization in script).

### Edge Cases

SSH failure: script exits with error message and non-zero code; agent should report and stop
Duplicate filename: overwrites silently — scp does not warn; user must check if overwrite is desired
Special characters in filename: sanitized by script (spaces → hyphens, invalid chars stripped)
Empty content: scp will transfer a 0-byte file; not an error but should be flagged
No clear title: if content has no H1 header, agent should prompt user for filename before saving
iCloud sync delay: file appears in vault within 1-2 min; if not visible after 5 min, check iCloud status

### Notes

Uses existing SSH key auth (no password)
Target: remote-host → Obsidian vault location
Files sync via iCloud automatically (if vault is in iCloud folder)

### Configuration

This skill reads SSH and vault configuration from your workspace TOOLS.md:

VariableDescriptionWhere to setSSH hostHostname/IP of the remote machine hosting the Obsidian vaultTOOLS.md (e.g., myserver.local)SSH userUsername on the remote machineTOOLS.md (e.g., your-username)SSH key pathPath to SSH private key (default: ~/.ssh/id_rsa)TOOLS.mdVault pathAbsolute path to Obsidian vault on remote machineTOOLS.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.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: chunhualiao
- Version: 1.1.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/save-to-obsidian)
- [Send to Agent page](https://openagent3.xyz/skills/save-to-obsidian/agent)
- [JSON manifest](https://openagent3.xyz/skills/save-to-obsidian/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/save-to-obsidian/agent.md)
- [Download page](https://openagent3.xyz/downloads/save-to-obsidian)