Queries Notion databases and pages via the Notion API v1, then renders content blocks into PDF via WeasyPrint. Extracts text, tables, and inline images and preserves heading hierarchy. Generates per-section embeddings with OpenAI text-embedding-3-small for RAG ingestion.
Scanned 6/8/2026
Install via CLI
openskills install agentskillexchange/skills---
name: "Notion to PDF Knowledge Exporter"
slug: "notion-to-pdf-knowledge-exporter"
description: "Queries Notion databases and pages via the Notion API v1, then renders content blocks into PDF via WeasyPrint. Extracts text, tables, and inline images and preserves heading hierarchy. Generates per-section embeddings with OpenAI text-embedding-3-small for RAG ingestion."
github_stars: 5582
verification: "security_reviewed"
source: "https://github.com/makenotion/notion-sdk-js"
category: "Templates & Workflows"
framework: "Codex"
tool_ecosystem:
github_repo: "makenotion/notion-sdk-js"
github_stars: 5582
npm_package: "@notionhq/client"
npm_weekly_downloads: 1182949
---
# Notion to PDF Knowledge Exporter
Queries Notion databases and pages via the Notion API v1, then renders content blocks into PDF via WeasyPrint. Extracts text, tables, and inline images and preserves heading hierarchy. Generates per-section embeddings with OpenAI text-embedding-3-small for RAG ingestion.
## Installation
Use the upstream install or setup path that matches your environment:
- npm install @notionhq/client
- Make a request to any Notion API endpoint.
Requirements and caveats from upstream:
- const { Client } = require("@notionhq/client")
- const { Client, APIErrorCode } = require("@notionhq/client")
- const { Client, LogLevel } = require("@notionhq/client")
Basic usage or getting-started notes:
- bash
- [](https://www.val.town/v/charmaine/NotionJsSDK)
- [!NOTE]
- Source: https://github.com/makenotion/notion-sdk-js
- Extracted from upstream docs: https://raw.githubusercontent.com/makenotion/notion-sdk-js/HEAD/README.md
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/notion-to-pdf-knowledge-exporter/)
No comments yet. Be the first to comment!
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.