Skip to content

Instantly share code, notes, and snippets.

@jacksonfox
Created February 12, 2026 02:38
Show Gist options
  • Select an option

  • Save jacksonfox/bc870b0efd636b14691a85b7e80c016a to your computer and use it in GitHub Desktop.

Select an option

Save jacksonfox/bc870b0efd636b14691a85b7e80c016a to your computer and use it in GitHub Desktop.
name description allowed-tools
obsidian
Execute Obsidian CLI commands on this vault. Use for searching notes, managing properties, listing files, working with tags, and other vault operations.
Bash(obsidian *)

Obsidian Vault Commands

Execute Obsidian CLI commands on this vault.

Common Commands

Search & Discovery:

  • obsidian search query="<text>" - Search vault for text
  • obsidian files - List all files in vault
  • obsidian tags - List all tags
  • obsidian orphans - Find notes with no incoming links
  • obsidian deadends - Find notes with no outgoing links

Properties & Metadata:

  • obsidian properties - List all properties in vault
  • obsidian property:set name=<key> value=<value> path="<file>" - Set a property on a file
  • obsidian property:read name=<key> path="<file>" - Read a property value

File Operations:

  • obsidian read path="<file>" - Read file contents
  • obsidian create name="<name>" content="<text>" - Create a new file
  • obsidian append path="<file>" content="<text>" - Append to a file
  • obsidian open path="<file>" - Open a file in Obsidian

Daily Notes:

  • obsidian daily - Open today's daily note
  • obsidian daily:read - Read today's daily note
  • obsidian daily:append content="<text>" - Append to today's daily note

Analysis:

  • obsidian backlinks path="<file>" - List backlinks to a file
  • obsidian links path="<file>" - List outgoing links from a file
  • obsidian vault info=files - Get vault statistics

Usage Notes

  • All paths are relative to the vault root
  • Quote file paths that contain spaces
  • Use obsidian help to see all available commands
  • Use obsidian help <command> for detailed command help

Examples

Search for notes about design:

/obsidian search query="design"

Add an author to a note:

/obsidian property:set name=author value="[[Jane Doe]]" path="Notes/My Note.md"

Find all notes with no backlinks:

/obsidian orphans
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment