← ClaudeAtlas

mmk-notion-databaselisted

Manage Notion databases — show property schema, query with filters/sorts, trigger AI summary generation, insert/update/upsert/delete records. Triggers on "database schema", "AI summary", "database properties", "detect AI", "ai-summary", "ai-summary-auto", "auto AI summary", "database structure", "query database", "filter", "sort", "database query", "insert records", "update records", "upsert", "delete pages", "bulk insert", "bulk update", "bulk delete", "check duplicates", "find duplicates", "dedupe records".
magic-meal-kits/mmk-skills · ★ 1 · Data & Documents · score 58
Install: claude install-skill magic-meal-kits/mmk-skills
# MMK Notion — Database Commands > **Prerequisite:** Read [`../mmk-shared/SKILL.md`](../mmk-shared/SKILL.md) for auth, global flags, and error handling. > Parent: [`mmk-notion`](../mmk-notion/SKILL.md) Always use `-o json` when parsing results or composing with other commands. --- ## schema — Show database property schema ```bash mmk notion database schema --database-id <db-uuid> -o json mmk notion database schema --database-id <db-uuid> --detect-ai --page-id <page-uuid> -o json ``` **Required:** `--database-id` **Optional:** `--detect-ai` (bool), `--page-id` (required with `--detect-ai` — accepts UUID or full Notion URL), `--enhanced` (bool — outputs LLM-friendly schema with select options and valid filter operators) When `--detect-ai` is set, output includes `property-id` and `workflow-id` values needed for the `ai-summary` command. --- ## query — Query a Notion database with filters, sorts, and pagination ```bash mmk notion database query --database-id <db-uuid> -o json mmk notion database query --database-id <db> --filter "Status=Active" --sort "CreatedDate:desc" --limit 10 -o json mmk notion database query --database-id <db> --filter "Status=Active" --filter "Done=false" --properties "Name,Status,Price" -o json mmk notion database query --database-id <db> --cursor "eyJsYXN0..." -o json ``` **Required:** `--database-id` **Optional:** | Flag | Default | Description | |------|---------|-------------| | `--filter` | | Filter: `Key=Value` or `Key:operator=Value` (