notion-cli

notion cli

makenotion 141 ↓ 5.8k MIT updated 2mo ago
Claude Code
View source ↗

What it does

  • 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
  • ntn pages get <page-id> — retrieve a page as Markdown. Use this to read page
  • ntn <command> --help — help for any command or subcommand.
  • The CLI automatically uses NOTIONAPITOKEN when it is set.

Requirements & configuration

  • NOTIONAPITOKEN). ntn login requires the user to visit a URL in a web
  • Only fall back to richtext if you need features that Markdown cannot express (e.g. mentions, custom emoji, or colors).

Configuration: NOTION_API_TOKEN

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

notion cli

Source

Repository: https://github.com/makenotion/skills

notion-cli FAQ

What does the notion-cli skill do?

>- Use the Notion CLI (`ntn`) to interact with the Notion API, manage workers, and upload files. Use when the user asks to "call the Notion API", "deploy a worker", "upload a file to Notion", "create a page", "query a database", or any task involving the `ntn` command. ntn api ls — list every public API endpoint. ntn api <path> --help — show methods, doc links, and usage for an endpoint.

What does notion-cli require?

NOTIONAPITOKEN). ntn login requires the user to visit a URL in a web Only fall back to richtext if you need features that Markdown cannot express (e.g. mentions, custom emoji, or colors). Configuration keys: NOTION_API_TOKEN.

How do I install notion-cli?

Run: npx -y skills add https://github.com/makenotion/skills --skill notion-cli --agent claude-code — the source lives at github.com/makenotion/skills.

Maintain notion-cli?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

notion-cli on getagentictools
[![notion-cli on getagentictools](https://getagentictools.com/badge/skills/makenotion-skills-notion-cli.svg)](https://getagentictools.com/skills/makenotion-skills-notion-cli?ref=badge)
npx agentictools info skills/makenotion-skills-notion-cli

The second line is the CLI lookup for this page — handy in READMEs and docs.