Skip to content
Agentmart
Submit a tool

notion-cli

Use the Notion `ntn` CLI for reading, creating, updating, querying, or calling Notion API endpoints.

Skill by ryanmazzolini

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ryanmazzolini-notion-cli

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use the Notion `ntn` CLI for reading, creating, updating, querying, or calling Notion API endpoints.

Use cases: backend, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/notion-cli

What's inside

Skill name
notion-cli
Description
Use the Notion `ntn` CLI for reading, creating, updating, querying, or calling Notion API endpoints.
License
MIT
Instructions
21 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Notion CLI

Use `ntn` for Notion work. Assume it is installed via mise; if a command fails, run `ntn doctor` and summarize the fix.

## Common commands

- Health/auth: `ntn doctor`, `ntn login`, `ntn logout`
- Read page Markdown: `ntn pages get <page-id>`; use `--json` when Markdown is truncated or block details matter
- Create/update page from Markdown: `ntn pages create --parent page:<id> < file.md`, `ntn pages update <page-id> < file.md`
- Query data source: `ntn datasources query <data-source-id> --limit 50 --json`
- Resolve database to data source IDs: `ntn datasources resolve <database-id> --json`
- Public API escape hatch: `ntn api <path> --docs`, `ntn api <path> --spec`, then call with `-X`, `-d`, stdin JSON, or inline inputs

## Rules

- Do not read or print tokens, auth files, keychain contents, or `.env` files. Use `NOTION_API_TOKEN` only if already present in the environment.
- Prefer stdin or temp files for multi-line Markdown/JSON instead of fragile shell quoting.
- Ask before trashing pages, overwriting page content, or making bulk updates.
- Use `--json` for parsing; use default Markdown output for human page review.

From ryanmazzolini/pi-skills, MIT.

More from ryanmazzolini/pi-skills

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jul 1, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ryanmazzolini

Cite this page

notion-cli skill. Agent Mart. https://agentmart.dev/skills/ryanmazzolini-notion-cli (last updated 2026-10-24)