publish-sync
Obsidian Publish and Sync operations. Use when publishing notes, managing change sets, pausing/resuming sync, or recovering sync-deleted files.
What this skill does
# 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 v1.12.4+ 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`)
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.