Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

notion-clipper-skillNotion clipper 技能

Agent Skill

用于处理 Notion 页面、数据库、工作区内容和结构化记录。它适合让 Agent 查询知识库、整理页面内容、创建记录或把外部信息同步到 Notion。使用时需要确认集成是否已被授权到目标页面或数据库,并区分读取、追加和覆盖更新;涉及批量写入或修改数据库属性时,应先核对字段名称、属性类型和目标页面。

总安装

186

周安装

8

GitHub Stars

2

下载量

65
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:notion-clipper-skill(Notion clipper 技能)
来源仓库:https://github.com/ewingyangs/notion-skills
仓库路径:skills/notion-clipper-skill
安装命令:
npx skills add https://github.com/ewingyangs/notion-skills --skill notion-clipper-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ewingyangs/notion-skills --skill notion-clipper-skill

简介

notion-clipper-skill 可将网页完整渲染后转为 Markdown 并上传至 Notion,支持富内容抓取。

  • 适用于将外部资讯同步至知识库、整理网络资料或建立结构化笔记体系的场景。
  • 利用 Chrome CDP 实现 JS 渲染,确保动态内容可被准确捕获与转换。
  • 使用前必须完成集成授权,并妥善保管 API Key 防止泄露。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Notion Clipper

Clip any web page to Notion. Uses Chrome CDP for full JavaScript rendering, converts to Markdown, then uploads via Notion's 2026-03-11 markdown API.

Prerequisites

  1. Notion API Key: Create an integration at https://notion.so/my-integrations
  2. Store the key:
mkdir -p ~/.config/notion
echo "ntn_your_key_here" > ~/.config/notion/api_key
  1. Share target database/page with your integration (click "..." → "Connect to" → your integration name)

First Time Setup

Dependencies are auto-installed when the script runs. No manual setup needed.

Agent Execution Instructions

CRITICAL: Always use the command pattern below. It auto-installs dependencies on first run.

  1. Determine this SKILL.md file's directory path as SKILL_DIR
  2. Command pattern (package.json in scripts/; always run lazy install first):
(cd "${SKILL_DIR}/scripts" && (test -d node_modules || npm install) && npx -y tsx main.ts <args>)
  1. Replace ${SKILL_DIR} with the actual path

Usage

IMPORTANT - Use this command pattern for best results:

# Recommended: Clear proxy env vars and use tsx runtime
(cd "${SKILL_DIR}/scripts" && (test -d node_modules || npm install) && unset http_proxy https_proxy all_proxy && npx -y tsx main.ts <url> --database-name "Resources")
# Clip to a Notion database by NAME (recommended - searches for database)
(cd "${SKILL_DIR}/scripts" && (test -d node_modules || npm install) && npx -y tsx main.ts <url> --database-name "Resource")

# Clip to a Notion database by ID
(cd "${SKILL_DIR}/scripts" && (test -d node_modules || npm install) && npx -y tsx main.ts <url> --database <database_id>)

# Clip to an existing page (creates child page)
(cd "${SKILL_DIR}/scripts" && (test -d node_modules || npm install) && npx -y tsx main.ts <url> --page <page_id>)

# List all accessible databases
(cd "${SKILL_DIR}/scripts" && (test -d node_modules || npm install) && npx -y tsx main.ts --list-databases)

# For pages requiring login (wait mode)
(cd "${SKILL_DIR}/scripts" && (test -d node_modules || npm install) && npx -y tsx main.ts <url> --database-name "Resource" --wait)

Options

OptionDescription
<url>URL to clip
--database-name, -n <name>Target database by name (searches for match)
--database, -d <id>Target Notion database by ID
--page, -p <id>Target Notion page ID (creates child page)
--list-databases, -lList all accessible databases and exit
--wait, -wWait for user signal before capturing
--timeout, -t <ms>Page load timeout (default: 30000)
--no-bookmarkDon't include source link at top

Capture Modes

ModeBehaviorUse When
Auto (default)Capture on network idlePublic pages, static content
Wait (--wait)User signals when readyLogin-required, lazy loading, paywalls

Wait mode workflow:

  1. Run with --wait → Chrome opens, script outputs "Press Enter when ready"
  2. Log in or navigate as needed in the browser
  3. Press Enter in terminal to trigger capture

Output Structure

When saving to a database, creates a new page with:

  • Name: Page title
  • Content: Source link + converted markdown content

When saving to a page, creates a child page with:

  • Source link
  • Converted markdown content

Database Setup

For best results, create a Notion database with these properties:

  • Name (Title) - Required, will contain page title

How It Works

  1. Fetch: Launch Chrome via CDP, navigate to URL
  2. Render: Wait for JavaScript to execute, scroll to trigger lazy loading
  3. Extract: Run cleanup script to remove ads/nav, extract main content
  4. Convert: HTML → Markdown
  5. Save: Upload markdown directly via Notion's 2026-03-11 markdown API

Dependencies

  • Chrome/Chromium browser (installed locally)
  • Node.js (script runs with tsx)
  • Notion API key configured

(Other dependencies auto-install on first run.)

Environment Variables

VariableDescription
NOTION_CLIPPER_CHROME_PATHCustom Chrome executable path
NOTION_CLIPPER_CHROME_PROFILE_DIRCustom Chrome profile directory

Troubleshooting

ErrorSolution
ECONNREFUSEDRun unset http_proxy https_proxy all_proxy first
empty bodyUse tsx runtime (NOT bun)
Chrome not foundSet NOTION_CLIPPER_CHROME_PATH
Content missingTry --wait mode for dynamic/lazy-loaded pages
Notion API errorEnsure integration has access to target database/page

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.17%
按下载量换算25

Claude

28.09%
按下载量换算18

Cursor

18.39%
按下载量换算12

Gemini CLI

10.24%
按下载量换算7

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills