command-palette
Run, list, and inspect Obsidian commands and hotkeys from the CLI. Use when triggering a command, enumerating commands, or checking hotkey bindings.
What this skill does
# Obsidian Command Palette ## When to Use This Skill | Use this skill when... | Use the alternative instead when... | |---|---| | Triggering a command the user would normally pick from the command palette (`Ctrl/Cmd+P`) | Running JavaScript via the developer API — use `dev-tools` | | Discovering what commands a plugin registers | Enabling/disabling a plugin entirely — use `plugins-themes` | | Looking up which hotkey is bound to a command | Setting up a workspace — use `workspaces` | The command palette is Obsidian's universal action surface — every built-in operation and every command registered by a plugin appears here. The CLI exposes the same surface, which is the leverage point for automation: any plugin command becomes scriptable without writing JavaScript. ## Prerequisites - Obsidian desktop v1.12.4+ with CLI enabled - Obsidian must be running ## List Commands ```bash # All available command IDs obsidian commands # Filter by ID prefix (e.g. only Templater commands) obsidian commands filter=templater # Filter to a built-in family obsidian commands filter=editor obsidian commands filter=workspace ``` Command IDs follow the `pluginid:action` convention — e.g. `editor:toggle-bold`, `workspace:split-vertical`, `dataview:dataview-rebuild-current-view`. ## Execute a Command ```bash # Run a built-in command obsidian command id=editor:toggle-bold # Run a plugin-registered command obsidian command id=templater-obsidian:insert-templater obsidian command id=dataview:dataview-rebuild-current-view # Open the command palette itself obsidian command id=command-palette:open ``` `command` always operates against the active editor / active file — there is no `file=` parameter. To run a command against a specific note, open the note first (`obsidian open file=Foo`), then run `command`. ## Hotkeys ```bash # All bound hotkeys obsidian hotkeys # Mark which entries are user-customised vs default obsidian hotkeys verbose # Count of bound hotkeys obsidian hotkeys total # Lookup the hotkey for one command obsidian hotkey id=editor:toggle-bold obsidian hotkey id=editor:toggle-bold verbose ``` ## Common Patterns ### "Run a Templater template against the current note" ```bash obsidian open file="Notes/Today" obsidian command id=templater-obsidian:replace-in-file-templater ``` ### "Find every Dataview command" ```bash obsidian commands filter=dataview ``` ### "Discover what hotkeys conflict with a new binding" ```bash obsidian hotkeys format=json | jq '[.[] | select(.hotkey == "Ctrl+Shift+P")]' ``` (Requires the user's installed `jq`; the CLI itself does not pipe.) ## Agentic Optimizations | Context | Command | |---------|---------| | List all commands | `obsidian commands` | | Filter commands by prefix | `obsidian commands filter=PREFIX` | | Run a command | `obsidian command id=PLUGIN:ACTION` | | List hotkeys (structured) | `obsidian hotkeys format=json` | | Lookup one hotkey | `obsidian hotkey id=PLUGIN:ACTION` | | Show user-customised hotkeys | `obsidian hotkeys verbose` | ## Related Skills - **plugins-themes** — Enable the plugin before its commands become available - **workspaces** — Set up an editor state, then run a command against it - **dev-tools** — When a command doesn't exist for what you need
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.