Notion Cli skill for Claude

The notion ai skills by makenotion: Use the Notion CLI (`ntn`) to interact with the Notion API, manage workers, and upload files.

When Claude uses it

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.

Notion Cli SKILL.md

The full skill file from makenotion/skills (MIT).

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:

# 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.

Markdown for pages and comments

Prefer ntn pages create / ntn pages update for Markdown page content. Use the markdown field when creating or updating comments via ntn api.

# Comment with markdown
ntn api v1/comments -d '{"parent":{"page_id":"abc123"},"markdown":"Here is a [link](https://example.com) and **bold text**."}'

# Page with markdown body
ntn pages create --parent page:abc123 --content '## Heading\n\nSome *formatted* content.'

The markdown field supports inline formatting (bold, italic, code, links, etc.). Only fall back to rich_text if you need features that Markdown cannot express (e.g. mentions, custom emoji, or colors).

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

How to install the notion ai skills

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit makenotion/skills/skills/notion-cli#main ~/.claude/skills/notion-cli

Codex

npx degit makenotion/skills/skills/notion-cli#main ~/.codex/skills/notion-cli

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What is the notion ai skills?

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.

+How do I install the notion cli skill?

Copy the skill folder into ~/.claude/skills/notion-cli, for example with "npx degit makenotion/skills/skills/notion-cli#main ~/.claude/skills/notion-cli". Claude Code loads it automatically and uses it when a task matches.

+Does Notion Cli work with ChatGPT or Codex?

Yes. Notion Cli uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/notion-cli. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Notion Cli free?

Notion Cli is published on GitHub by makenotion under the MIT license, which allows free use.

Related productivity skills

  1. Handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    mattpocock/skills★ 327k
  2. Notebooklm

    Use for anything in Google NotebookLM: querying notebooks, adding sources, generating Audio or Video Overviews, reports, flashcards or…

    alirezarezvani/claude-skills★ 30k
  3. Teach

    Teach the user a new skill or concept, within this workspace.

    mattpocock/skills★ 327k
  4. File Organizer

    Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better…

    ComposioHQ/awesome-claude-skills★ 80k
  5. Obsidian Cli

    Use this skill whenever the user wants Claude to directly interact with their Obsidian vault — reading a note or daily note, writing or…

    pablo-mano/Obsidian-CLI-skill★ 464
  6. Obsidian Bases

    Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries.

    obsidianmd/obsidian-skills★ 53k
  7. Jupyter Notebook

    Official

    Use when the user asks to create, scaffold, or edit Jupyter notebooks (`.ipynb`) for experiments, explorations, or tutorials;

    openai/skills★ 29k
  8. Obsidian Canvas

    Create and manage Obsidian Canvas files with automatic layout generation.

    jykim/claude-obsidian-skills★ 52
  9. To Questionnaire

    Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

    mattpocock/skills★ 327k

See all productivity skills →

More skills from makenotion

  1. Notion Apps

    Set up and scaffold Notion Apps with the Notion Apps SDK and `ntn`; use when starting a Notion App project.

    makenotion/skills★ 184

All skills by makenotion →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.