Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

pp-notion

FreeNo executable scriptsNot checked

Notion CLI — manage pages and blocks, sync workspace to local SQLite, detect stale pages, and track changes. Trigger phrases: `find stale notion pages`, `sync…

mvanhornby mvanhorn★ 2,170 GitHub stars

About this skill

Notion — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the notion-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install notion --cli-only
    
  2. Verify: notion-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

go install github.com/mvanhorn/printing-press-library/library/productivity/notion/cmd/notion-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

When to Use This CLI

Use notion-pp-cli when you need to manage Notion pages and blocks from the terminal, detect stale pages, or track what changed since a given time. Run sync once to populate the local store, then stale and changed work offline. Not a substitute for the Notion web UI for day-to-day editing.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Agent-native plumbing

  • changed — Show everything in the workspace added, edited, or deleted since your last sync or a given timestamp.

    Use at the start of an agent session to orient on what has changed before taking action.

    notion-pp-cli changed --since 2h --json
    

Local state that compounds

  • stale — List pages and records not edited in N days, filterable by database, parent, or tag.

    Use to identify dead pages before workspace cleanup or to flag deliverables overdue for review.

    notion-pp-cli stale --days 30 --db ProjectDB --agent
    

Command Reference

blocks — Block endpoints

  • notion-pp-cli blocks delete — Delete a block
  • notion-pp-cli blocks query-meeting-notes — Query meeting notes
  • notion-pp-cli blocks get — Get a block by ID
  • notion-pp-cli blocks update — Update a block
  • notion-pp-cli blocks children list — List children of a block or page
  • notion-pp-cli blocks children append — Append blocks to a page or block

comments — Comment endpoints

  • notion-pp-cli comments create-a — Create a comment
  • notion-pp-cli comments delete-a — Delete a comment
  • notion-pp-cli comments list — List comments
  • notion-pp-cli comments retrieve — Retrieve a comment
  • notion-pp-cli comments update-a — Update a comment

custom-emojis — Custom emoji endpoints

  • notion-pp-cli custom-emojis — List custom emojis

data-sources — Data source endpoints

  • notion-pp-cli data-sources create-a-database — Create a data source
  • notion-pp-cli data-sources retrieve-a — Retrieve a data source
  • notion-pp-cli data-sources update-a — Update a data source
  • notion-pp-cli data-sources query post-database <data_source_id> — Query a data source. Note: the leaf command is post-database, not a bare query — data-sources query is an intermediate group that prints help. This differs from databases query <id>, which executes directly.

databases — Database endpoints

  • notion-pp-cli databases query <database_id> — Query records in a database with optional filter/sort
  • notion-pp-cli databases create — Create a database
  • notion-pp-cli databases retrieve — Retrieve a database
  • notion-pp-cli databases update — Update a database

file-uploads — File upload endpoints

  • notion-pp-cli file-uploads create-file — Create a file upload
  • notion-pp-cli file-uploads list — List file uploads
  • notion-pp-cli file-uploads retrieve — Retrieve a file upload

notion-search — Manage notion search

  • notion-pp-cli notion-search — Search by title

oauth — OAuth endpoints (basic authentication)

  • notion-pp-cli oauth create-a-token — Exchange an authorization code for an access and refresh token
  • notion-pp-cli oauth introspect-token — Introspect a token
  • notion-pp-cli oauth revoke-token — Revoke a token

pages — Page endpoints

  • notion-pp-cli pages update — Update a page
  • notion-pp-cli pages create — Create a page
  • notion-pp-cli pages get — Get a page by ID
  • notion-pp-cli pages move — Move a page
  • notion-pp-cli pages markdown export — Export a page as markdown

users — User endpoints

Full SKILL.md on GitHub

Install pp-notion in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

Read
Bash

FAQ

What does the pp-notion skill do?

Notion CLI — manage pages and blocks, sync workspace to local SQLite, detect stale pages, and track changes. Trigger phrases: `find stale notion pages`, `sync notion to local`, `use notion-pp-cli`, `run notion`, `export notion page`.

How do I install the pp-notion skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the pp-notion skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare pp-notion with