
Notion Cli
A self-documenting CLI for the Notion API that's smart about discovery. Instead of memorizing syntax, you run `ntn api ls` to see every endpoint or `ntn api <path> --help` for usage details. The standout feature is native Markdown support for pages and comments, so you can skip wrestling with Notion's rich_text blocks most of the time. It also handles file uploads and worker deployments. Authentication works via environment variable or interactive login. Useful when you're building integrations or automating Notion workflows and want something more direct than SDK abstractions. The help flags do most of the heavy lifting here.
- skills.sh installs
- 9K
- GitHub stars
- 183
- last updated
- Aug 21, 2026
Install
$ npx -y skills add makenotion/skills --skill notion-cli --agent claude-codeInstalls into .claude/skills of the current project.
Files
Notion CLI
Look things up before answering
The CLI is self-documenting. Always prefer running these commands over guessing syntax or relying on memorized knowledge:
ntn api ls— list every public API endpoint.ntn api <path> --help— show methods, doc links, and usage for an endpoint.ntn api <path> --docs— print the full official docs for an endpoint.ntn api <path> --spec— print a reduced OpenAPI fragment (useful for understanding request/response schemas).ntn pages get <page-id>— retrieve a page as Markdown. Use this to read page content.ntn <command> --help— help for any command or subcommand.
Install
curl -fsSL https://ntn.dev | bash
Authentication
- The CLI automatically uses
NOTION_API_TOKENwhen it is set. - Check
NOTION_API_TOKENfirst. If it is already set, prefer using it instead of telling the user to runntn login. ntn login/ntn logout— log the CLI in or out (only use if not usingNOTION_API_TOKEN).ntn loginrequires the user to visit a URL in a web browser.
ntn api
Run ntn api --help for full syntax. Quick summary:
Sponsors
Details
- Repository
- github.com/makenotion/skills
- Categories
- Backend & APIs, DevOps & CI/CD, Release Management, CLI & Terminal, Office & Documents, Databases
- First seen
- Apr 16, 2026