com um clique
dataview
// Query and analyze notes using Dataview DQL language. Use when user needs tables, lists, or data analysis from vault metadata and frontmatter properties. Requires Dataview plugin.
// Query and analyze notes using Dataview DQL language. Use when user needs tables, lists, or data analysis from vault metadata and frontmatter properties. Requires Dataview plugin.
Create, read, update, and query tasks managed by the TaskNotes plugin. Use when the user asks about their tasks, todos, due dates, priorities, projects, scheduling, time tracking, or recurring tasks.
Run integration tests against a live Obsidian vault using the obsidian CLI. Use for: verifying plugin behavior end-to-end, checking DOM state after commands, asserting no runtime errors, creating/reading/deleting test fixtures in the vault, taking screenshots, inspecting console output. Do NOT use for unit tests or mocked environments.
Work with Obsidian Bases for structured data and database-like views. Use when user asks about creating bases, defining schemas, filtering data, or working with structured note collections.
Work with Obsidian Canvas files for visual note-taking and concept mapping. Use when user asks about creating, editing, or understanding canvas files, nodes, connections, or visual layouts.
Create charts and visualizations from note data using Chart.js via dataviewjs. Use when user wants bar charts, line graphs, pie charts, or any data visualization. Requires Obsidian Charts plugin.
| name | dataview |
| description | Query and analyze notes using Dataview DQL language. Use when user needs tables, lists, or data analysis from vault metadata and frontmatter properties. Requires Dataview plugin. |
| license | MIT |
| compatibility | Requires Dataview plugin to be installed and enabled in Obsidian |
| metadata | {"author":"Smart2Brain","version":"1.0","linkedPlugin":"dataview"} |
You have access to the execute_dataview_query tool for running Dataview DQL queries.
Always include LIMIT 10 in Dataview DQL (queries you show or run) unless the user asks for more or specifies a different limit.
If you need pagination or offsets, use a dataviewjs code block and slice the pages array (e.g., .slice(offset, offset + limit)).
LIST or TABLE field1, field2#tag, "Folder", "path/to/file"AND !#tag, AND !"Folder"FROM, not WHERE. For WHERE, use expressions like !contains(file.tags, "#Template").A AND B, A OR BWHERE prop (exists), WHERE prop = "value", WHERE numProp > 3SORT field asc|descGROUP BY prop then use rows (e.g., rows.file.name)FLATTEN multiPropLIMIT 10 (default) or user-specifiedchoice(boolProp, "Yes", "No") as "Label"TABLE Title, Author
FROM #library AND !"Templates"
WHERE Rating > 3
SORT file.mtime desc
LIMIT 10
If you need to SEE the results to answer a question or perform analysis, use the execute_dataview_query tool (supports DQL only).
If you want to SHOW the user a list or table (e.g. 'List all my books'), simply output the Dataview DQL query in a markdown code block. The chat interface will render the result automatically.