Obsidian search

From fanfan-de/anybox · View interactive version

Obsidian search is an AI agent skill from the GitHub repository fanfan-de/anybox. Use when searching or analyzing an Obsidian vault, including text search, search context, tags, links, backlinks, unresolved links, orphan notes, dead ends, outlines, recent files, folders, and file lists.

How to use this skill

Skill file

Obsidian Search CLI

Use this skill for vault discovery, retrieval, and lightweight graph analysis through the obsidian CLI.

Text Search

obsidian search query="meeting notes"
obsidian search query="TODO" limit=20 format=json
obsidian search:context query="TODO" limit=20
obsidian search:open query="project roadmap"

Use search:context when the user needs matching lines. Use format=json when follow-up parsing matters.

Limit folder scope when possible:

obsidian search query="contract" path="Projects/Client A" limit=50 format=json

Files And Folders

obsidian files total
obsidian files folder="Projects" ext=md
obsidian folders
obsidian folder path="Projects" info=files
obsidian recents

Use file and folder listings before destructive moves or broad write operations.

Tags And Properties

obsidian tags counts format=json
obsidian tag name="#project" verbose
obsidian properties counts format=json
obsidian aliases active

Use active, file, or path to narrow commands to a single note.

Links And Graph Hygiene

obsidian backlinks path="Projects/Roadmap.md" counts format=json
obsidian links path="Projects/Roadmap.md" total
obsidian unresolved counts verbose format=json
obsidian orphans total
obsidian deadends total

Use these commands to find broken wikilinks, orphan notes, and notes with no outgoing links.

Outline

obsidian outline path="Projects/Roadmap.md" format=json
obsidian outline path="Projects/Roadmap.md" format=md

Use outline before summarizing or editing long notes so changes can target the right section.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.