Skip to content
Skills Library
Personal productivity · Tool integration

publish-sync

/publish-sync

Obsidian Publish and Sync operations. Use when publishing notes, managing change sets, pausing/resuming sync, or recovering sync-deleted files.

Licence
MIT
Last repository change
24.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 24.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Obsidian Publish and Sync operations. Use when publishing notes, managing change sets, pausing/resuming sync, or recovering sync-deleted files.

Original author description

Obsidian Publish and Sync operations. Use when publishing notes, managing change sets, pausing/resuming sync, or recovering sync-deleted files.

How it works

  1. When to Use This Skill
  2. Prerequisites
  3. Obsidian Publish
  4. Obsidian Sync
  5. Common Patterns
  6. Agentic Optimizations
  7. Related Skills
Original SKILL.md headings · 154 lines, 585 words
SKILL.md preview
---
created: 2026-03-04
modified: 2026-09-22
reviewed: 2026-09-22
name: publish-sync
description: "Obsidian Publish and Sync operations. Use when publishing notes, managing change sets, pausing/resuming sync, or recovering sync-deleted files."
user-invocable: false
allowed-tools: Bash(obsidian *), Read, Grep, Glob
---

# Obsidian Publish & Sync

## When to Use This Skill

| Use this skill when... | Use the alternative instead when... |
|---|---|
| Listing, adding, removing, or auditing the change set on Obsidian Publish | Creating or moving the underlying notes themselves — use `vault-files` |
| Pausing/resuming Obsidian Sync or checking sync status & usage | Restoring a previous sync version of a file — use `file-history` |
| Recovering a file that sync deleted | Recovering a file from local File Recovery — use `file-history` |
| Auditing which notes are currently public vs private | Discovering orphaned or unresolved-link notes — use `search-discovery` |

Manage Obsidian Publish and Obsidian Sync services from the CLI.
**Sync version history** (per-file diff and restore) lives in `file-history`.

## Prerequisites

- Obsidian desktop 1.12.7+ installer with CLI enabled
- Obsidian must be running
- Active Obsidian Publish and/or Sync subscription for the respective commands

## Obsidian Publish

### Site Info

```bash
# Slug, URL, status of the connected Publish site
obsidian publish:site
```

### List & Compare

```bash
# All currently published files
obsidian publish:list
obsidian publish:list total

# What would change on next publish (new / changed / deleted)
obsidian publish:status
obsidian publish:status new
obsidian publish:status changed
obsidian publish:status deleted
obsidian publish:status total
```

### Publish & Unpublish

```bash
# Publish the active file
obsidian publish:add

# Publish a specific file
obsidian publish:add file="Public Note"
obsidian publish:add path="blog/post.md"

# Publish *all* changed files in one shot
obsidian publish:add changed

# Unpublish
obsidian publish:remove file="Draft Post"

# Open the file's published page in the browser
obsidian publish:open file="Public Note"
```

## Obsidian Sync

### Status & Pause/Resume

```bash
# Sync state, last sync time, usage
obsidian sync:status

# Pause / resume sync
obsidian sync off
obsidian sync on
```

### Files Deleted via Sync

```bash
# Files removed via sync (recoverable)
obsidian sync:deleted
obsidian sync:deleted total
```

To restore one of those files, use `file-history`:
`obsidian sync:restore file=X version=N`.

### Per-file Sync Versions

For listing, reading, or restoring a specific sync version of a file, use
the **`file-history`** skill (`sync:history`, `sync:read`, `sync:restore`,
`sync:open`).

## Common Patterns

### "Publish every note tagged #publish"

```bash
# Find candidates
obsidian search query="tag:#publish" format=json

# Or rely on the change set after the user tags them
obsidian publish:status new
obsidian publish:add changed
```

### "Pre-publish dry run"

```bash
obsidian publish:status            # all changes
obsidian publish:status new        # adds only
obsidian publish:status deleted    # removes only
```

### "Snapshot the public surface"

```bash
obsidian publish:list > published-$(date +%F).txt
obsidian publish:site
```

### "Recover a synced file the agent deleted"

```bash
obsidian sync:deleted
# Identify the file, then restore via file-history:
obsidian sync:restore file="Notes/Important" version=1
```

## Agentic Optimizations

| Context | Command |
|---------|---------|
| Site info | `obsidian publish:site` |
| List published | `obsidian publish:list` |
| What's changed since last publish | `obsidian publish:status` |
| New files only | `obsidian publish:status new` |
| Publish all changes | `obsidian publish:add changed` |
| Publish one file | `obsidian publish:add file=X` |
| Unpublish | `obsidian publish:remove file=X` |
| Sync status | `obsidian sync:status` |
| Pause sync | `obsidian sync off` |
| Resume sync | `obsidian sync on` |
| Sync-deleted files | `obsidian sync:deleted` |

## Related Skills

- **vault-files** — Create or modify notes before publishing
- **properties** — Set publish-related frontmatter on notes
- **search-discovery** — Find notes tagged for publishing
- **file-history** — Per-file sync history (`sync:history`, `sync:read`, `sync:restore`)

Versions

The database has no other skills named publish-sync.

Database snapshot: 13.11.2026 · package version ef289f476d59 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100obsidian-sync-publish-configuration
    Use this skill when configuring official end-to-end encrypted Obsidian Sync across devices or publishing selective digital gardens via Publish.
  • 100obsidian-cost-tuning
    Optimize Obsidian resource usage, sync storage, Publish hosting, and third-party plugin API costs. Use when managing vault size, reducing Sync bandwidth, controlling Publish costs, or optimizing external API consumption from community plugins. Trigger with phrases like "obsidian…
  • 100obsidian-headless
    Sync and publish Obsidian vaults from the command line with Obsidian Headless (`ob`), without the desktop app. Use when the user wants to set up or run Obsidian Sync or Obsidian Publish on a server, in CI, or from a terminal, or change a vault's Sync or Publish settings.
  • 100obsidian
    Activate when the user mentions their Obsidian vault, notes, tags, frontmatter, daily notes, backup, or sync. Route operations across MCP, Obsidian CLI/app actions, and git sync with safe defaults.
  • 100sync-claude-sessions
    Sync Claude Code sessions to Obsidian markdown. Export, resume, add notes, close sessions. USE WHEN user says "sync sessions", "export sessions", "resume session", "add session note", "close session", "log session".
  • 95obsidian-github-sync
    Automated GitHub synchronization for Obsidian vault with conflict detection and notification. Use when the user wants to: - Sync their Obsidian vault to a GitHub repository - Set up automatic daily synchronization - Handle git conflicts in Obsidian vault - Configure git-based…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.