Notion CLI (ntn)
БесплатноБез исполняемых скриптовНе проверенCLI for Notion — authenticate, manage Workers, interact with the Notion API, and upload files. Use when an agent needs to create or query Notion pages, manage…
от composio-community★ 224 звезды на GitHubОб этом скилле
ntn — The Notion CLI
Official Notion CLI for authentication, Workers management, and API access.
- Package: https://www.npmjs.com/package/ntn
- Author: Notion (@makenotion)
Installation
npm i -g ntn
Authentication
ntn login
ntn logout
Key Commands
Notion API
Access the full public Notion API from the terminal. Requires a Notion integration token via NOTION_API_TOKEN.
# List available API endpoints
ntn api ls
# View endpoint spec or docs
ntn api v1/pages --spec -X POST
ntn api v1/pages --docs -X POST
# Create a page
ntn api v1/pages parent[page_id]=abc123
# Query with typed JSON
ntn api v1/pages archived:=true properties[count]:=10
# Query params and headers
ntn api v1/users page_size==100 Accept:application/json
Inline Request Syntax
# Direct JSON body
ntn api v1/pages -d '{"parent":{"page_id":"abc123"}}'
# String assignment
ntn api v1/pages parent[page_id]=abc123
# Typed JSON assignment
ntn api v1/pages archived:=true properties[count]:=10
# Query params
ntn api v1/users page_size==100
# Headers
ntn api v1/users Accept:application/json
Method selection:
GETby defaultPOSTautomatically when body fields are present-X/--methodoverrides
File Uploads
# Upload a file from stdin
ntn files create < file.png
# Upload from URL
ntn files create --external-url https://example.com/photo.png
# List and inspect uploads
ntn files list
ntn files get <upload-id>
Workers
ntn workers --help
ntn workers list
ntn workers deploy
Environment Variables
NOTION_API_TOKEN: Notion integration token (required forntn apiandntn filescommands)
Notes
ntn files createis intentionally quiet on success — shows a progress bar only when stderr is a TTY- Shell completion can suggest API paths and supported methods
- Currently in alpha — focused on Workers development workflows
Установить Notion CLI (ntn) в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Notion CLI (ntn)?
CLI for Notion — authenticate, manage Workers, interact with the Notion API, and upload files. Use when an agent needs to create or query Notion pages, manage databases, upload files to Notion, or deploy Notion Workers.
Как установить скилл Notion CLI (ntn)?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Notion CLI (ntn) запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic