What problem does it solve?
This Skill provides a comprehensive solution to search, filter, and analyze notes in your Obsidian vault programmatically, eliminating the need for manual searches and enhancing productivity.
Core Features & Use Cases
- Programmatic Note Search: Perform advanced searches by tag, folder, frontmatter, content, and metadata.
- Frontmatter Audit: Identify notes missing frontmatter, list tags, count notes, and build custom queries.
- Critical Syntax Restrictions: Documented guidelines for working with
obsidian eval to avoid common pitfalls.
- Use Case: Imagine you need to find all notes related to 'KubernetesSecurity' across your vault, including inline tags and frontmatter entries.
Quick Start
Use the obsidian eval command to run JavaScript against your vault. For example, to find notes missing the 'Created' field in frontmatter:
obsidian eval code='app.vault.getFiles().filter(f => f.extension === "md").filter(f => app.metadataCache.getFileCache(f).frontmatter && app.metadataCache.getFileCache(f).frontmatter.Created === undefined).map(f => f.path)'