database-query
Query a Notion database by name or ID and return structured, readable results with optional filters and sorting.
How do I install this agent skill?
npx skills add https://github.com/makenotion/cursor-notion-plugin --skill database-queryIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill queries Notion databases to retrieve and display information. It is generally safe but carries a minor risk typical of data-retrieval tools, where content within the database could potentially influence the agent's behavior if it contains instructional text.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
- Runlayerpass
1 file scanned · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Query Notion Database
Use the Notion MCP server to query a database on the user's behalf.
Workflow
- Interpret the request to extract:
- Target database (by name or ID)
- Optional filter(s) or sort(s) the user describes.
- If multiple databases match the name, ask the user to choose the correct one.
- Perform a query that:
- Applies the requested filters (e.g. status = Active, owner = Alice, due date this week).
- Limits to a reasonable number of rows (e.g. 20-50) unless the user explicitly asks for more.
- Present the results in a compact table-like format with:
- Key properties (e.g. Name, Status, Owner, Due).
- A short summary if the database has rich text content.
- If no rows match, say so clearly and suggest alternative filters.
Important
Avoid dumping raw JSON. Focus on readability and decision-making value for the user.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/makenotion/cursor-notion-plugin/database-query">View database-query on skillZs</a>