askill
search-discovery

search-discoverySafety --Repository

Obsidian vault search and discovery via the official CLI. Covers full-text search, tag management, link traversal, backlinks, orphan detection, and unresolved link discovery. Use when user mentions searching notes, finding tags, exploring links, backlinks, orphaned notes, or broken wikilinks.

16 stars
1.2k downloads
Updated 4 days ago

Package Files

Loading files...
SKILL.md

Obsidian Search & Discovery

Full-text search, tag operations, and link graph traversal using the official Obsidian CLI.

Prerequisites

  • Obsidian desktop v1.12.4+ with CLI enabled
  • Obsidian must be running

When to Use

Use this skill automatically when:

  • User wants to search vault content or metadata
  • User asks about tags, tag counts, or tag management
  • User wants to explore note links or backlinks
  • User needs to find orphaned or unlinked notes
  • User asks about broken/unresolved wikilinks

Search

Full-Text Search

# Basic search
obsidian search query="project roadmap"

# JSON output for parsing
obsidian search query="architecture" format=json

# Limit results
obsidian search query="meeting" limit=10

# Open results in Obsidian
obsidian search:open query="review needed"

Property-Based Search

# Search by property value
obsidian search query="[status:active]"

# Search by tag
obsidian search query="[tag:publish]"

# Combined
obsidian search query="[status:draft] [tag:blog]"

Tags

List Tags

# All tags in vault
obsidian tags

# Tags sorted by frequency
obsidian tags sort=count

# Tags sorted by name
obsidian tags sort=name

Find Notes by Tag

# Notes with a specific tag
obsidian tag tagname=pkm

# Notes with nested tag
obsidian tag tagname=project/active

Rename Tags

# Bulk rename across vault (updates all notes)
obsidian tags:rename old=meeting new=meetings

Links

Outgoing Links

# Links from a note
obsidian links file="Architecture Overview"

Backlinks (Incoming Links)

# Notes that link to this note
obsidian backlinks file="API Design"

Unresolved Links

# Broken wikilinks (targets don't exist)
obsidian unresolved

Orphaned Notes

# Notes with no incoming or outgoing links
obsidian orphans

Common Flags

FlagDescription
format=jsonJSON output for machine parsing
format=csvCSV output
limit=NLimit result count
sort=count|name|dateSort order
--copyCopy result to clipboard

Agentic Optimizations

ContextCommand
Search (structured)obsidian search query="term" format=json
Tag frequency analysisobsidian tags sort=count
Find tagged notesobsidian tag tagname=X
Broken link auditobsidian unresolved
Orphan detectionobsidian orphans
Link graph for noteobsidian links file="X" then obsidian backlinks file="X"

Related Skills

  • vault-files — Read, create, and manage notes
  • properties — Search and filter by frontmatter properties

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

AI review pending.

Metadata

Licenseunknown
Version-
Updated4 days ago
Publisherlaurigates

Tags

api