obsidian-dataview

Query, filter, and aggregate Obsidian vault note metadata using Dataview Query Language and DataviewJS.

149|8|Updated Jun 17, 2022
One-click install
npx skills add https://github.com/edonyzpc/personal-assistant --skill obsidian-dataview-edonyzpc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-dataview
Source: https://github.com/edonyzpc/personal-assistant/tree/main/skills/obsidian-dataview
Command: npx skills add https://github.com/edonyzpc/personal-assistant --skill obsidian-dataview-edonyzpc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Manually searching through large Obsidian vaults to locate specific notes, aggregate frontmatter data, or track task status is slow and error-prone, especially as your personal knowledge base grows to hundreds or thousands of entries.

Core Features & Use Cases

  • Dataview Query Language (DQL) Support: Write simple, declarative queries to filter, sort, group, and aggregate notes by frontmatter fields, tags, file metadata, or task status to generate live tables, task lists, and calendar heatmaps.
  • DataviewJS API Access: Use JavaScript for complex custom queries, conditional rendering, and dynamic HTML output when basic DQL cannot meet your needs.
  • Pre-built Vault Analysis Patterns: Ready-to-use query templates for common workflows like daily journal summaries, project status dashboards, tag frequency counts, and backlink analysis to speed up note management. For example, if you manage 50+ project notes with frontmatter status and due date fields, you can use this Skill to generate a live, auto-updating dashboard of all active projects sorted by due date in seconds, without manually copying data to a spreadsheet.

Quick Start

Use the obsidian-dataview skill to generate a table of all your active project notes showing their names, due dates, and counts of incomplete tasks, sorted by due date from earliest to latest.

Frequently Asked Questions about obsidian-dataview

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query and filter Obsidian vault notes by frontmatter metadata?

You can query and filter Obsidian vault notes by frontmatter metadata using Dataview Query Language (DQL). DQL allows you to declaratively filter, sort, and aggregate notes to generate live, auto-updating tables and task lists directly in your vault.

Can I create a live project dashboard tracking task status in Obsidian?

Yes, you can create a live project dashboard tracking task status in Obsidian. By applying Dataview queries to frontmatter fields like status and due dates, you generate auto-updating tables that monitor active projects and count incomplete tasks sorted chronologically.

What is the best way to analyze tag frequency across thousands of notes?

The best way to analyze tag frequency across thousands of notes is using pre-built vault analysis query patterns. These templates aggregate file metadata and tags to calculate frequency counts dynamically, eliminating slow and error-prone manual searches.

Does DataviewJS support complex conditional rendering for custom visualizations?

Yes, DataviewJS supports complex conditional rendering for custom visualizations. When basic DQL cannot meet your needs, you can use the DataviewJS JavaScript API to execute custom queries and generate dynamic HTML output for your vault.

When should I use JavaScript instead of DQL for note querying?

You should use JavaScript instead of DQL for note querying when you need complex custom queries or conditional rendering. Use DataviewJS for dynamic HTML output and custom visualizations that exceed simple declarative filtering, sorting, and aggregation.