Database Query — Data skill for Claude Code
description: Query a Notion database by name or ID and return structured, readable results.
How to install Database Query
Installs to ~/.claude/skills/makenotion-claude-code-notion-plugin-database-query/SKILL.md
mkdir -p ~/.claude/skills/makenotion-claude-code-notion-plugin-database-query && curl -fsSL https://raw.githubusercontent.com/makenotion/claude-code-notion-plugin/HEAD/commands/database-query.md -o ~/.claude/skills/makenotion-claude-code-notion-plugin-database-query/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Database Query does
description: Query a Notion database by name or ID and return structured, readable results. argument-hint: 'database name or ID; filters (optional)'
You are querying a Notion database on the user's behalf.
Use the Notion Workspace Skill and `notionApi` MCP server to:
- Interpret
$ARGUMENTSas:- 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
Alternatives in Data
- Notion Sync — /notion-sync - Push Ranked Jobs and Applications to a Notion Database 36.6k ★
- OpenViking — Self-evolving Context Database for AI Agents 33.3k ★
- n8n Workflow Patterns — Workflow patterns for webhook, HTTP, database, and AI tasks 3.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Bar Query
Direct read-only query against a BAR Observatory capture database (tools, timeline, errors, or raw SQL)
Findings DB
Query portfolio findings with labeled population metrics or rebuild the ledger-derived database.
Hutchdb
A database for AI agents. No schema, SQL, or structure required. Claude Code, Codex, Cursor, Hermes, Claw, Gro
Agent Database Architect
Dispatch hub:database-architect — Expert database architect for schema design, query optimization, migrations,
Claude Code Postgres
Query a real PostgreSQL database in plain English from the terminal with Claude Code, safely: read-only role f
Snowflake Safe Query Skill
Write and run read-only Snowflake queries against the Gaiia reporting database under a four-layer safety guard
Related Agents
Query Agent
Creates encapsulated, reusable query objects for complex database queries with composable scopes. Use when bui
Data Specialist
Senior data specialist covering exploratory analysis, statistical modeling, machine learning, experimentation,
DB Perf Scanner
Scans codebase for database and storage performance issues including Firestore query patterns, GCS operations,