Search, audit, and organise
Your tools are ready and you know what is in your vault. Let's explore, find issues, and clean things up — all by describing what you want in natural language.
You can either speak your prompts using Wispr Flow, or type/paste them into Gemini CLI. Both work exactly the same way. Wispr Flow is optional — it just makes the experience hands-free. Every prompt in this tutorial works whether you speak it or type it.
Search your vault
List all files
See every file in your vault at a glance:
Say this or copy this promptList all the files in my Obsidian vaultGemini CLI will show all your notes in a list. Look through and see if anything stands out — files with vague names, notes you forgot about, or duplicates.
See your folder structure
Understand how your vault is organised:
Say this or copy this promptShow me the folder structure of my Obsidian vaultAre your notes spread across too many folders? Are most notes sitting in the root with no folder at all? This gives you a picture of your vault's structure.
Search for content
Find notes that mention a specific word or phrase:
Say this or copy this promptSearch my Obsidian vault for any notes that mention the word meetingGemini CLI searches the content of every note and returns the ones that mention "meeting". Try replacing "meeting" with any word you are looking for — a project name, a person's name, or a topic.
Search with context
See the actual matching lines, not just file names:
Say this or copy this promptSearch my Obsidian vault for notes containing TODO and show me the matching lines, not just file namesThis shows you the lines that matched, so you can see exactly what each note says without opening it. Great for finding action items or specific details.
Search works across your entire vault instantly. No more opening notes one by one trying to remember where you wrote something. Just describe what you are looking for and Gemini CLI finds it.
Audit your tags
List all tags
See every tag in your vault and how often each one is used:
Say this or copy this promptShow me all the tags in my Obsidian vault, with a count of how many times each tag is usedLook for inconsistencies. Do you have both
#meetingand#meetings? What about#mtg? Spotting these variations is the first step to cleaning them up.Get tag details
See exactly which files use a specific tag:
Say this or copy this promptShow me which notes use the tag meetingThis shows every note tagged with
#meeting. Replace "meeting" with any tag you want to investigate.
Consistent tags make your vault much easier to navigate. If you spot duplicates or variations, note them down. You can ask Gemini CLI to help fix them, or edit the notes directly in Obsidian. Pick one version of each tag and stick with it.
Find forgotten notes
Find orphan notes
Discover notes that nothing links to:
Say this or copy this promptShow me all the orphan notes in my Obsidian vault — notes that no other note links toOrphan notes are notes that exist in your vault but are not connected to anything else. They are often forgotten gems — or notes that need to be linked to related content.
Find broken links
Spot links that point to notes that do not exist:
Say this or copy this promptFind all the broken links in my vault — links that point to notes that don't existThis happens when you rename or delete a note but other notes still link to the old name. These are easy to fix once you know about them.
Find dead ends
Find notes that do not link to anything else:
Say this or copy this promptShow me dead-end notes — notes that don't link to anything elseDead-end notes might benefit from connections. Could this note link to a related project, person, or topic?
Check backlinks
See what links TO a specific note:
Say this or copy this promptWhat notes link to my note called Meeting Notes - March 15?Backlinks show you the web of connections around a note. If a note has many backlinks, it is an important hub in your vault.
Orphan notes are not necessarily bad — but they represent knowledge that is disconnected from the rest of your vault. Consider asking Gemini CLI to link them to related notes so you can find them again naturally.
Organise your files
Before moving or renaming files, ask Gemini CLI to read the note first. This helps you avoid accidentally moving the wrong note.
Read a note before moving it
Preview a note's contents without opening Obsidian:
Say this or copy this promptRead my note called Untitled and show me what's in itThis shows you exactly what is in the note so you can decide what to do with it — rename it, move it, or leave it where it is.
Rename a note
Give a vague note a meaningful name:
Say this or copy this promptRename my note called Untitled to Quick NotesThe note is renamed and all internal links that pointed to "Untitled" are automatically updated. Nothing breaks.
Move a note to a folder
Put a note where it belongs:
Say this or copy this promptMove my note called Recipe - Banana Bread into a folder called RecipesObsidian creates the folder if it does not exist and updates all links that point to this note. Everything stays connected.
View a note's outline
See the heading structure without reading the whole note:
Say this or copy this promptShow me the heading structure of my note called Meeting Notes - March 15This is useful for long notes — you can quickly see what sections it contains without scrolling through everything.
Check file info
See the details about a specific note:
Say this or copy this promptGive me the file info for my note called Quick Notes — when was it created and how big is it?This shows the file path, size, and when it was created and last modified. Handy for finding notes you have not touched in a while.
When you move or rename a note, Gemini CLI handles link updates automatically. It runs the right Obsidian commands behind the scenes, and Obsidian updates all internal links that point to the file. Nothing breaks — your vault stays connected.