Notion CLI tool for managing pages, databases, and content. Use when working with Notion data, creating/updating pages, querying databases, or syncing content.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Une commande directe contourne le prompt de vérification. Examinez la source avant de l'exécuter.
Notion CLI tool for managing pages, databases, and content. Use when working with Notion data, creating/updating pages, querying databases, or syncing content.
noti - Notion CLI Tool Skill
noti is a CLI tool for operating Notion from the command line. With this skill, you can create/edit pages, manipulate databases, search, and more.
# Install from npm
npm install -g @hirokidaichi/noti
Or build from source:
git clone https://github.com/hirokidaichi/noti.git
cd noti
npm install && npm run build && npm link
Installing the Skill
# Install to user directory (available for all projects)
noti setup-skills --user
# Install to project directory (this project only)
noti setup-skills --project
# Get as Markdown (default)
noti page get <page_id_or_url>
# Get as JSON
noti page get <page_id_or_url> --format json
# Output to file
noti page get <page_id_or_url> -o output.md
Create Page
# Create page from Markdown file
noti page create <parent_page_id> content.md
# Create with specific title
noti page create <parent_page_id> content.md -t "New Page"
The first # heading in the Markdown file is used as the title (can be overridden with -t option).
# Get block
noti block get <block_id>
# Get with children
noti block get <block_id> -c
# List blocks
noti block list <page_id>
# Delete block (-f required)
noti block delete <block_id> -f
Alias Management
Set aliases for frequently used pages:
# Add alias
noti alias add mypage <page_id_or_url>
# Set alias (same as add)
noti aliasset mypage <page_id_or_url>
# List aliases
noti alias list
# Remove alias
noti alias remove mypage
# Open page using alias
noti open mypage
User Information
# Current user
noti user me
# List workspace users
noti user list
# Get specific user
noti user get <user_id>
Open in Browser
noti open <page_id_or_url_or_alias>
Examples: Typical Workflows
1. Create and Save Meeting Notes
# Write meeting notes in Markdown and save to Notionecho"# Meeting Notes 2024-01-15
## Attendees
- Alice
- Bob
## Agenda
1. Project progress
2. Next actions
## Decisions
- Finalize design by next week
" > meeting.md
noti page create <parent_page_id> meeting.md
2. Search and Update Tasks
# Search incomplete tasks
noti database query <task_db_id> -f "Status!=Done" -s "Priority:desc"# Check specific task
noti database page get <task_page_id>