notion-cli

makenotion/skills · updated Apr 8, 2026

$npx skills add https://github.com/makenotion/skills --skill notion-cli
0 commentsdiscussion
summary

The CLI is self-documenting. Always prefer running these commands over guessing

  • syntax or relying on memorized knowledge:
skill.md

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 <command> --help — help for any command or subcommand.

Install

npm i -g ntn@latest

Authentication

  • NOTION_API_TOKEN — required for ntn api and ntn files. Set this env var to a Notion integration token.
  • ntn login / ntn logout — session auth for ntn workers and ntn tokens. This does not authenticate ntn api or ntn files today.

ntn api

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

# GET with query param
ntn api v1/users page_size==100

# POST with inline body fields
ntn api v1/pages parent[page_id]=abc123

# POST with JSON body
ntn api v1/pages -d '{"parent":{"page_id":"abc123"}}'

The method is inferred (GET by default, POST when a body is present). Override with -X METHOD.

ntn files

Convenience wrapper around the File Uploads API.

ntn files create < image.png
ntn files create --external-url https://example.com/photo.png
ntn files list
ntn files get <upload-id>

ntn workers

Manage Notion workers (deploy, list, execute, etc.). Run ntn workers --help for subcommands.

ntn workers new my-worker        # scaffold a new project
ntn workers deploy               # deploy from current directory
ntn workers ls                   # list workers
ntn workers exec <capability>    # execute a capability

ntn tokens

Manage tokens used by ntn workers. Requires ntn login. These are separate from NOTION_API_TOKEN integration tokens.

ntn tokens create
ntn tokens ls
ntn tokens revoke <token-id>

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.528 reviews
  • Alexander Jackson· Dec 16, 2024

    notion-cli fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Dhruvi Jain· Dec 4, 2024

    notion-cli reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Pratham Ware· Dec 4, 2024

    Solid pick for teams standardizing on skills: notion-cli is focused, and the summary matches what you get after install.

  • Oshnikdeep· Nov 23, 2024

    I recommend notion-cli for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Isabella Srinivasan· Nov 7, 2024

    notion-cli is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Xiao Jackson· Oct 26, 2024

    Keeps context tight: notion-cli is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Ganesh Mohane· Oct 14, 2024

    Useful defaults in notion-cli — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Naina Yang· Sep 17, 2024

    Registry listing for notion-cli matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Aisha Liu· Sep 5, 2024

    notion-cli fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Zaid Verma· Aug 24, 2024

    We added notion-cli from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

showing 1-10 of 28

1 / 3