dataview-queries

Provides reusable Dataview query patterns for Obsidian vault task, journal, and project notes.

Updated Aug 28, 2026
One-click install
npx skills add https://github.com/miyake-san/sogo-agent-platform --skill dataview-queries-miyake-san
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dataview-queries
Source: https://github.com/miyake-san/sogo-agent-platform/tree/main/skills/experimental/obsidian-dataview-queries
Command: npx skills add https://github.com/miyake-san/sogo-agent-platform --skill dataview-queries-miyake-san

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing Dataview queries from scratch in Obsidian requires remembering exact syntax for filtering, sorting, and date handling, which slows down building dashboards and task views in a personal knowledge vault. ## Core Features & Use Cases - Task Queries: Ready-made patterns for listing active tasks by priority, finding overdue tasks, grouping tasks by project, and reviewing tasks completed this week. - Journal and Meeting Queries: Patterns for surfacing recent daily notes and monthly meeting notes from structured folders. - Project and AI Summary Queries: Queries for tracking active projects and listing AI-generated summaries with model and prompt metadata. - Use Case: While building a weekly review dashboard in your LifeOs vault, copy the overdue-tasks query into a note to instantly see all active tasks past their due date sorted chronologically. ## Quick Start Ask the assistant to write a Dataview query that lists all active tasks sorted by priority and due date for your Obsidian vault.

Frequently Asked Questions about dataview-queries

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

FAQPage Schema
How do I list overdue tasks with Dataview in Obsidian?

Use a TABLE query filtering tasks where status is active and due is less than date(today), then sort by due ascending. The pattern is: FROM #task WHERE status = "active" AND due < date(today) SORT due ASC.

How to filter Dataview results by tag in Obsidian?

Filter by tag using WHERE contains(tags, "tagname") for inline fields, or use FROM #tag directly in the source clause to scope the query to notes carrying that tag.

Does Dataview support date arithmetic for weekly reviews?

Yes, Dataview supports date arithmetic using date(today) combined with dur(N days). For example, date >= date(today) - dur(7 days) selects notes or tasks from the past week.

Why is my Dataview query returning no results?

Empty results usually come from a mismatched FROM source, incorrect tag syntax, or field names that do not exist in your notes. Verify the folder path, tag spelling, and that the WHERE fields are actually present in the note frontmatter or inline fields.

What are the limitations of Dataview TABLE queries?

TABLE queries only display metadata fields and cannot modify note content. Large vaults may render slowly, and complex aggregations require FLATTEN and GROUP BY, which have their own syntax constraints.