跳到正文
Skillpedia
数据库7.4k · #13238

notcrawl

它能做什么

这个技能让智能体搜索和查询本地的 Notion 页面归档,这些归档来自桌面应用或 Notion API 的同步。适合想快速查找或分析 Notion 内容的人。

适用场景

  • ✓你想通过关键词查找某个 Notion 页面的时候。
  • ✓你需要从 Notion 页面归档中获取精确的数量或详情的时候。
  • ✓你需要把 Notion 页面导出为 Markdown 文件的时候。

技能链接

https://github.com/steipete/agent-scripts/blob/main/skills/notcrawl/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/steipete/agent-scripts/blob/main/skills/notcrawl/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我找到我们写入职计划的那个 Notion 页面,并把我的页面导出为 Markdown。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会先检查本地归档的新旧程度,必要时进行同步,然后搜索页面或运行只读查询,并报告所用的日期和来源。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

notcrawl

Use this for local Notion archive questions. Desktop reads local cache; API sync needs NOTION_TOKEN and page access.

Sources

  • DB: ~/.notcrawl/notcrawl.db
  • Pages: ~/.notcrawl/pages
  • CLI: notcrawl

Refresh

notcrawl doctor
notcrawl status
notcrawl sync --source desktop

Use API only when needed and credentials/page access are available:

notcrawl sync --source api

Query Workflow

  1. Check freshness for recent/current Notion questions.
  2. Search pages first; use read-only SQL for exact counts or schema-level analysis.
  3. Use export-md when the user needs Markdown files refreshed.
  4. Report date spans, page/database IDs, counts, and source limits.

Use root or subcommand help for syntax: notcrawl --help, notcrawl search --help, notcrawl sql --help.

Common commands:

notcrawl search --limit 20 "query"
notcrawl databases
notcrawl sql "select count(*) from pages;"
notcrawl export-md
常见问题

每次搜索都需要访问 Notion 吗?

不需要。桌面端的读取来自本地缓存,而 API 同步则需要令牌和页面访问权限。

查询会修改我的 Notion 数据吗?

不会。技能使用只读的 SQL 进行查询,它描述的是搜索和导出,而不是编辑。

它如何检查数据是否最新?

在回答有关近期内容的问题之前,它会先运行状态检查。

详情

作者的原始描述

Notion archive: desktop/API sync, Markdown export, page search, read-only SQL.

repo: steipete/agent-scripts

热度

GitHub 星标
7.4k
排名
#13238
许可证
MIT
更新时间
2026/10/30

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能