AGENT SKILL

Notion页面与数据库读取

notion

使用 MCP 工具读取 Notion 页面和数据库。当查找 Notion 内容、阅读页面或查询数据库时使用。

适用职业知识工作者
License 许可
MIT
所属仓库
drn/dots
最近更新
2026-11-12
Stars
★ 23
Forks
4

01 前言 Front Matter

name
notion
description
Read Notion pages and databases using MCP tools. Use when looking up Notion content, reading pages, or querying databases.

02 资源文件 12

03 SKILL.md 正文

Notion (Read-Only)

Read Notion pages and databases via MCP tools. This skill covers reading operations only.

Quick Reference: MCP Tools

Tool Use For
mcp__notion__notion-fetch Read page content as Notion-flavored markdown
ReadMcpResourceTool with notion://docs/enhanced-markdown-spec Get the full markdown spec (useful for understanding page structure)

Fallback: Keystone MCP Tools

If mcp__notion__notion-fetch is not available (e.g., in environments using Keystone), use these tools instead:

Tool Use For
mcp__plugin_thanx_keystone__notion_get_page Read page metadata (title, properties, dates)
mcp__plugin_thanx_keystone__notion_get_page_content Read page blocks (raw Notion API JSON)
mcp__plugin_thanx_keystone__notion_search Search for pages by title
mcp__plugin_thanx_keystone__notion_query_database Query a database with filters
mcp__plugin_thanx_keystone__notion_get_database Get database schema and metadata

The blocks API returns raw JSON. To extract readable text, parse each block's rich_text[].plain_text fields. Use ToolSearch to discover and load these tools before calling them.

Instructions

You are helping read Notion data. Use the MCP tools above for all operations.

Reading a Page

mcp__notion__notion-fetch with the page URL or ID

The tool returns Notion-flavored markdown. Key things to know about the format:

  • Code blocks have language tags (e.g., ```ruby)
  • Toggle headings use {toggle="true"} attribute
  • Toggle children are tab-indented
  • Tables use HTML <table> syntax
  • Dot-notation in text may appear auto-linked (e.g., [d.date](http://d.date))

Common Tasks

Read a specific page

Use mcp__notion__notion-fetch with the page URL.

Browse database contents

Use mcp__notion__notion-fetch on the database URL to see its schema and entries.

Diagnosing Page Issues

If a page has mangled content in the markdown output:

  • Code blocks whose content starts with heading markers (#, ##)
  • Code blocks containing <table or --- dividers
  • Wrong language tags on code blocks

These indicate sections that were absorbed into code blocks during a bad edit.

Capabilities

  • Page reading: Full page content as structured markdown
  • Database browsing: View database schemas and entries

Large Page Handling

Notion pages can return very large responses (100K+ characters) that exceed token limits. When this happens:

  • The content may be saved to a temp file automatically
  • Use python3 -c or jq to extract block text rather than reading raw JSON directly
  • For Keystone blocks JSON, extract text with: jq -r '.. | .rich_text? // empty | .[].plain_text' < temp_file.json
  • Consider requesting specific sections rather than the full page when possible

Limitations

  • Read-only — Cannot create, update, or delete pages. For editing a page and replying to inline comment threads, use the notion-address-comments skill instead.
  • Page content is returned as Notion-flavored markdown, not raw JSON (except Keystone fallback which returns raw blocks)

04 同仓库更多 Skills

drn
drn/dots

batch-pr-review

Review a batch of pull requests together, describe every change in plain language, and build a private Claude artifact that eases human review, with a severity-tagged and verified findings list. Use when asked to review several PRs, a stack of PRs, PRs listed in a Slack thread or message, or to summarize a batch of PRs for a reviewer.

★ 23
drn
drn/dots

Codex 目标设置包生成

plannotator-setup-goal

为长时间运行的 /goal 工作创建经过审查的 Codex 目标设置包。当用户想把想法、待办清单、项目使命或模糊目标,转化为项目 goals slug 文件夹下的持久化目标文件时使用;包含 Plannotator 审查关卡,覆盖简报、带验收标准的叙述性计划、验证方案、阻碍项,以及最终的 /goal 提示词。

项目经理任务规划与分解
★ 23
drn
drn/dots

plannotator-annotate

Open Plannotator's annotation UI for a markdown file, converted HTML file, URL, or folder and then respond to the returned annotations.

★ 23
drn
drn/dots

Claude 技能编写

write-skill

创建或改进 Claude Code 技能/斜杠命令,遵循结构、动态上下文和安全性方面的最佳实践。用于创建新技能、改进现有技能,或学习技能编写。

AI 工程师插件与技能管理
★ 23
drn
drn/dots

会话收尾检查

wrapup

会话结束时的检查清单,用于检测遗漏事项——未提交的变更、未合并的分支、需记录的经验教训、需完成的交接——并路由到相应的技能。用于会话收尾、结束工作、一天结束,或“还有其他要记录的吗”。

软件开发工程师编码会话复盘
★ 23
drn
drn/dots

文本转语音朗读

tts

使用文本转语音(text-to-speech)大声朗读文本。当用户说“读给我听”“念给我听”“大声朗读这个”“说出这个”“朗读摘要”,或要求听到某内容被朗读时使用。

普通用户音频与语音处理
★ 23