notion
Installation
SKILL.md
Notion Operations
Use this skill to read and, with explicit confirmation, write Notion content through the Notion API: pages, database queries, search, and page property updates. This is a tool skill for the Notion platform. Building Notion integrations, writing complex block compositions, or building an app on the Notion API is application development; this skill owns the everyday agent workflow: finding the right page, answering from a database, and making a confirmed edit.
Operating contract
- Read-only discovery before any mutation. Retrieve pages, query databases, and search freely. The bundled
notion-cliscript makes reads without writing anything. - Confirm the target, scope, and rollback path before acting. Creating a page or updating properties changes a shared workspace that teammates read. Both require an explicit human directive plus
--dry-runpreview and--yesconfirmation throughnotion-cli. Property updates overwrite existing values — state the current value and the replacement before confirming. - Respect bounded reads. Notion paginates with
page_sizeandhas_more; never page past what the task needs.notion-cli --limitcaps every search and query. - Keep evidence bounded. Quote short page titles, property values, and IDs; never paste full pages, tokens, or raw API payloads into chat.
- Know the API version. The
Notion-Versionheader pins the API contract; reads that work today can change with a version bump.notion-clisends2022-06-28by default and honorsNOTION_VERSION.
The notion-cli script
scripts/notion-cli is an agent-first, stdlib-only CLI over the Notion API. It covers the full issue scope: pages, databases (query), search, and updates.