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-sessiongit 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-session)<a href="https://agentmods.dev/skills/glide-the/im-dream/notion-session"><img src="https://agentmods.dev/badge/skills/glide-the/im-dream/notion-session/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-session"><img src="https://agentmods.dev/badge/skills/glide-the/im-dream/notion-session.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.00072 | $0.00695 |
| Opus 5.5 | $0.00029 | $0.00278 |
| Sonnet 5.5 | $0.00014 | $0.00139 |
| Haiku 4.5 | $0.00007 | $0.00069 |
Grade A, and why
notion-session scanned grade A with 1 finding 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 12d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- 不运行 `ntn`、Bash、curl 或自定义脚本访问 Notion。 What it actually says
Notion 工作空间助手
边界
- 只读搜索、页面读取和数据库查询。
- 不运行
ntn、Bash、curl 或自定义脚本访问 Notion。 - 不读取
.notion-home、NOTION_HOME、auth.json、环境变量或任何 token。 .notion/只保存已挂载资源的 ID 和紧凑元数据,不保存页面正文。- 读取
.notion/pages/<page_id>.json时,Runtime hook 会校验 ID 属于当前 thread 索引,再按需返回当前 Markdown。
工作流
- 先读
.notion/connector.json确认连接和选择范围。 - 未指定页面 ID 时读
.notion/index.json;只关心一个数据库时读.notion/databases/<database_id>.json。 - 只有用户确实需要某页正文时,才读
.notion/pages/<page_id>.json;不要批量遍历页面正文。 - Read 返回
ok:false时,按code和nextAction给出可操作反馈;Notion 局部失败不阻断其他回答。
工具选择
| 用户目标 | Read 路径 | 数据来源 |
|---|---|---|
| 搜索已挂载页面 | .notion/index.json |
定时更新的轻量索引 |
| 浏览数据库记录 ID | .notion/databases/<database_id>.json |
定时更新的轻量索引 |
| 读取一个页面正文 | .notion/pages/<page_id>.json |
Runtime hook 按需读取当前 Markdown |
参考文档
references/notion-search.md:在已挂载索引中按标题、ID 或 URL 定位。references/notion-page-read.md:按需 Markdown 正文、索引元信息和 snapshot identity。references/notion-db-query.md:浏览已挂载 database 的页面 ID 清单。
错误处理
NOTION_AUTH_REQUIRED:告诉用户前往“设置 → 资源链接 → Notion”连接或重新连接,然后重试。NOTION_PERMISSION_DENIED:告诉用户在 Notion 中向该连接授予目标页面/数据库权限,或重新连接。NOTION_CAPABILITY_UNAVAILABLE/NOTION_REQUEST_FAILED:说明服务暂不可用并建议稍后重试;继续回答不依赖 Notion 的部分。NOTION_RESOURCE_NOT_SELECTED:说明该 ID 不在当前已挂载索引中,引导用户在资源链接中选择并同步。
Notion Read hook 局部失败不等于整个 Agent 对话失败。不得猜测页面内容、伪造成功或要求用户粘贴 token。
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.
- 12d ago First seen · 46 lines · 72 tokens per session scan A 946418508cbf
notion-session is a skill published in the GitHub repository glide-the/im-dream (0 stars, last pushed yesterday), licensed MIT. It adds 72 tokens to every session and 695 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.
Other skills, from other repositories
orbit-notion
Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…
instrument-data-to-allotrope
Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…
baoyu-youtube-transcript
A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.
legal-hold
Issue, refresh, release, or report on legal holds — drafts the hold notice as .docx, updates legalhold fields in log.yaml, and calendars the next refresh. Use when the user says "issue a hold", "refresh hold", "release hold", or asks for a portfolio-wide hold status report.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
read
Fetches URLs and PDFs, then summarizes or returns clean Markdown. Use when asked to read, fetch, quote, cite, convert, or save a URL or PDF. Not for local text files already in the repo.