Skip to content
makenotion avatar

Notion Cli

Command-line access to the Notion API, workers, and file uploads through the ntn tool with self-documenting lookups.

CCM score
74 of 100
skills.sh installs
9.3K
GitHub stars
185
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers ntn api requests with inferred GET or POST methods, plus ntn pages, ntn files, and ntn workers subcommands
  • Includes ntn api ls, --help, --docs, and --spec lookups so endpoint syntax is checked rather than guessed
  • Prefers the existing NOTION_API_TOKEN over ntn login, and sends Markdown content through the markdown field for comments and pages
  • Designed for agents that query databases, create pages, upload files, or deploy workers in Notion

Install

$ npx -y skills add makenotion/skills --skill notion-cli -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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_TOKEN when it is set.
  • Check NOTION_API_TOKEN first. If it is already set, prefer using it instead of telling the user to run ntn login.
  • ntn login / ntn logout — log the CLI in or out (only use if not using NOTION_API_TOKEN). ntn login requires the user to visit a URL in a web browser.

ntn api

Run ntn api --help for full syntax. Quick summary:

Details

Repository
github.com/makenotion/skills
Categories
Productivity & Notes, CLI & Terminal
First seen
Apr 16, 2026

Similar to Notion Cli

More Productivity & Notes