notion

Manage Notion pages, databases, and Workers via the ntn CLI or HTTP API.

115|9|Updated Aug 5, 2026
One-click install
npx skills add https://github.com/AtlasOmnia/donna-starter --skill notion-atlasomnia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: notion
Source: https://github.com/AtlasOmnia/donna-starter/tree/main/skills/productivity/notion
Command: npx skills add https://github.com/AtlasOmnia/donna-starter --skill notion-atlasomnia

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Working with Notion programmatically requires navigating API versioning, authentication setup, database schema quirks, and platform-specific tooling. This Skill provides tested commands and documented pitfalls for reading, writing, querying, and exporting Notion content without trial-and-error. ## Core Features & Use Cases - Dual access paths: Use the official ntn CLI on macOS/Linux for one-line file uploads and Workers, or fall back to curl-based HTTP calls that work everywhere including Windows. - Full CRUD coverage: Search, read pages as Markdown, create pages from Markdown, patch content, query data sources with filters and sorts, and manage database schemas. - Notion Workers: Scaffold, deploy, and manage hosted TypeScript Workers with syncs, tools, and webhooks via ntn workers. - Workspace export: Back up an entire workspace to Markdown files with pagination handling and collision-safe naming. - Use Case: Ask the agent to create a meeting-notes page under a parent page, query a tasks database for items with Status "Active", or export your whole workspace to a local vault. ## Quick Start Set NOTION_API_KEY in your Hermes .env file, share a page with your integration, then ask the agent to read that page as Markdown or create a new page from your notes.

Frequently Asked Questions about notion

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

FAQPage Schema
How do I create a Notion page from Markdown via the API?

Send a POST request to /v1/pages with a parent page_id, a title property, and a markdown body field containing your content. With the ntn CLI, use ntn api v1/pages with inline key=value parameters for the same result.

How do I query a Notion database with filters?

POST to /v1/data_sources/{data_source_id}/query with a JSON body containing filter and sorts objects, such as filtering where a Status select property equals Active. In API version 2025-09-03, databases are called data sources.

ntn CLI vs curl for the Notion API — which should I use?

Use the ntn CLI on macOS or Linux for shorter syntax, one-line file uploads, and Notion Workers support. Use curl with the HTTP API on Windows or in restricted environments where the ntn binary is unavailable.

Why does the Notion API return 404 object_not_found?

A 404 usually means the integration is not connected to the workspace or the target page is not shared with it. Verify the integration appears under Connected apps in the Share settings, or enable Full workspace access at notion.so/my-integrations.

Does the ntn CLI work on Windows?

No, ntn is macOS and Linux only as of May 2026, with Windows support planned. Windows users can use the curl-based HTTP API directly or install ntn inside WSL2.

Why don't database properties save when creating a database?

Properties passed in the POST /v1/databases body may return 200 but only the default Name property persists. Add properties after creation by sending a PATCH to /v1/data_sources/{id} with the property definitions.