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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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
- Check freshness for recent/current Notion questions.
- Search pages first; use read-only SQL for exact counts or schema-level analysis.
- Use
export-mdwhen the user needs Markdown files refreshed. - 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
评论
- …
同一仓库的更多技能
beeper
7.4k帮你的智能体搜索本地 Beeper 聊天记录,找到消息,并判断模糊线索指的是哪个聊天或联系人。
cloudflare-registrar
7.4k帮你的智能体查询 Cloudflare Registrar 的域名价格和可用性,并在确认后注册或列出域名。
codexbar
7.4k帮你的智能体查看你在 Codex、Claude、Kimi 等 AI 服务中还剩多少用量,包括限额、额度和重置时间。
create-cli
7.4k帮你的智能体设计命令行工具的命令、参数、帮助文本、输出和错误提示,让人和脚本都能顺利使用。