Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add glide-the/im-dream --skill notion-cligit clone --depth 1 https://github.com/glide-the/im-dreamWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/glide-the/im-dream/notion-cli)<a href="https://agentmods.dev/skills/glide-the/im-dream/notion-cli"><img src="https://agentmods.dev/badge/skills/glide-the/im-dream/notion-cli/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/glide-the/im-dream/notion-cli"><img src="https://agentmods.dev/badge/skills/glide-the/im-dream/notion-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00105 | $0.00901 |
| Opus 5.5 | $0.00042 | $0.00360 |
| Sonnet 5.5 | $0.00021 | $0.00180 |
| Haiku 4.5 | $0.00011 | $0.00090 |
Grade A, and why
notion-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Notion CLI 工作空间数据助手
概述
通过 ntn api CLI 访问用户已连接的 Notion 资源连接器数据。CLI 自动处理 Authorization 和 Notion-Version 请求头,无需手动配置。
前置条件
- 工作空间已创建 Notion 资源连接器(
.notion/目录存在) NOTION_HOME环境变量已配置ntnCLI 已安装且已认证
工作流
1. 了解连接器状态
进入对话时,先检查 .notion/connector.json 获取已连接的 Database 和 Page 信息:
cat .notion/connector.json
2. 浏览已同步数据
# 查看所有已同步页面索引
cat .notion/index.json
# 查看某个 Database 的页面清单
cat .notion/databases/<database_id>.json
3. 按需调用 Notion API
根据用户需求选择对应操作:
| 需求 | 操作 | 参考文档 |
|---|---|---|
| 搜索内容 | ntn api v1/search |
references/notion-search.md |
| 读取页面 | ntn api v1/pages/<id>/markdown |
references/notion-page-read.md |
| 查询数据库 | ntn api v1/data_sources/<data_source_id>/query |
references/notion-db-query.md |
核心命令速查
搜索
ntn api v1/search --data '{"query":"<关键词>","page_size":10}'
读取页面(Markdown 格式,推荐)
ntn api v1/pages/<page_id>/markdown
查询数据库
ntn api v1/data_sources/<data_source_id>/query --data '{}'
连接器索引中的 database_id 保存所选 Data source ID;查询和属性 Schema 读取均使用该 ID。--data 使用单引号包裹的单行 JSON 对象。
参考文档
当需要高级用法(筛选、排序、分页等)时,阅读对应参考文档:
references/notion-search.md— 搜索 API 完整用法(关键词搜索、按类型筛选、排序、分页)references/notion-page-read.md— 页面读取完整用法(元信息、Markdown、Block 结构)references/notion-db-query.md— 数据库查询完整用法(筛选条件、复合筛选、排序、属性类型参考)
注意事项
ntn api自动添加 Auth 和 Version 头,无需手动设置- 搜索 API 仅支持标题匹配,不支持正文全文搜索
- 单次查询最大
page_size为 100,超过需分页 - 页面 ID 可从
.notion/index.json、.notion/databases/<db_id>.json或搜索结果中获取 - filter 中的
property值必须与 Database Schema 中的属性名完全匹配(区分大小写)
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 17d ago Changed · +6 lines 3bd083a2434c
- 1mo ago First seen · 86 lines · 105 tokens per session scan A d40c68636671
notion-cli is a skill published in the GitHub repository glide-the/im-dream (0 stars, last pushed 3d ago), licensed MIT. It adds 105 tokens to every session and 901 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.
notion-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| notion-cliglide-the/im-dream | Skill | 0 | 3d ago | MIT | A | 105 | Claude Code, Codex |
| orbit-notionnexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 117 | Claude Code, Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 37k | 4d ago | Apache-2.0 | A | 123 | Claude Code |
| report-to-pdfasgeirtj/system_prompts_leaks | Skill | 74k | yesterday | CC0-1.0 | A | 17 | Claude Code, Codex |
| legal-holdanthropics/claude-for-legal | Skill | 10k | 6d ago | Apache-2.0 | A | 68 | Claude Code |
| artifact-template-minimal-letterheadasgeirtj/system_prompts_leaks | Skill | 74k | yesterday | CC0-1.0 | A | 54 | Claude Code, Codex |
| feishuHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 33 | Claude Code, Codex |