notion
SKILL.md
notioncli — Notion API Skill
A powerful CLI for the Notion API. Query databases, manage pages, add comments, and automate your workspace from the terminal. Built for AI agents and humans alike.
Setup
npm install -g notioncli
notion init --key $NOTION_API_KEY
The init command saves your API key and auto-discovers all databases shared with your integration. Each database gets an alias (a short slug derived from the database title) so you never need to type raw UUIDs.
Tip: In Notion, you must share each database with your integration first: open the database → ••• menu → Connections → Add your integration.
Auto-Aliases
When you run notion init, every shared database is automatically assigned a slug alias: