notionpdf

Queries Notion databases and pages via Notion API v1, renders content blocks to PDF with WeasyPrint while extracting text, tables, and inline images and preserving heading hierarchy, and generates per-part embeddings for RAG ingestion using OpenAI text-embedding-3-small.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "notionpdf" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-1df1c25638cd9ac4474ad8d8e22559e1094a3c7a86199b5c83a5b65498eda18c. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/notion-to-pdf-knowledge-exporter before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Queries Notion databases and pages via Notion API v1, renders content blocks to PDF with WeasyPrint while extracting text, tables, and inline images and preserving heading hierarchy, and generates per-part embeddings for RAG ingestion using OpenAI text-embedding-3-small.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Notion到PDF知识导出器"
slug: "notion-to-pdf-knowledge-exporter"
version: "1.0.0"
displayName: "Notion到PDF知识导出器"
summary: "通过 Notion API v1 查询 Notion 数据库和页面,然后通过 WeasyPrint 将内容块渲染为 PDF。提取文本、表格和内联图像,并保留标题层级结构。使用 OpenAI text-embedding-3-small 为每个部分生成嵌入向量,用于 RAG(检索增强生成)数据摄入。"
license: "MIT"
description: "通过 Notion API v1 查询 Notion 数据库和页面,然后通过 WeasyPrint 将内容块渲染为 PDF。提取文本、表格和内联图像,并保留标题层次结构。使用 OpenAI text-embedding-3-small 为 RAG 摄入生成各部分嵌入。"
github_stars: 5582
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Templates & Workflows"
framework: "Codex"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 5582
  npm_package: "@notionhq/client"
  npm_weekly_downloads: 1182949

Notion到PDF知识导出器

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:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    未明确说明适用场景和使用时机,用户难以判断何时使用此 Skill。

    Recommendation: 补充 When to Use 章节,列举典型使用场景(如知识库导出、RAG 数据准备等)。

  • 缺少端到端示例 Reported severity: Minor

    未提供完整的使用示例,用户难以理解具体操作流程。

    Recommendation: 添加端到端示例,展示从 Notion 查询到 PDF 生成和嵌入的完整流程。

Highlights

  • Notion 内容导出为 PDF 并生成 RAG 嵌入,具有明确的实用价值
  • 支持提取文本、表格和内联图像,保留标题层次结构
Trigger Precision75/100

Areas to improve

  • 触发词不全 Reported severity: Minor

    description 描述了核心功能,但缺少具体触发词示例,边界稍显宽泛。

    Recommendation: 补充具体触发词,如“导出 Notion 为 PDF”、“生成 RAG 嵌入”、“Notion 知识库导出”等。

Highlights

  • description 明确描述了核心功能和技术栈
Structure and Standards72/100

Areas to improve

  • 文档结构可优化 Reported severity: Minor

    有 Installation 章节,但缺少清晰的 Phase/步骤划分和出口条件。

    Recommendation: 补充 Phase 划分(如查询、渲染、嵌入生成)和出口条件说明。

Highlights

  • frontmatter 完整,包含必要元数据
  • 有 Installation 和基础用法说明
Execution Reliability76/100

Highlights

  • 工具来源明确(@notionhq/client、WeasyPrint、OpenAI)
  • 列出了基础安装命令和用法
Evidence Verifiability (mean of the first four)75/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 28
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com
  • stevekrouse-badge.web.val.run
  • www.val.town

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.