notion-session

notion-session is a skill for Claude Code, Codex from glide-the/im-dream. It costs 72 tokens per session (695 once invoked), scanned A, original, MIT.

A read-only helper for searching connected Notion pages, reading page content, and viewing database records. Notion is a workspace for documents, notes, and structured team information.

In plain words
What is it for?
Use it to search mounted Notion content, inspect database record lists, or read a specific page when answering a question.
Why use it?
It lets an agent find relevant connected information without running shell commands or reading credentials, and avoids loading every page when only one is needed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to search mounted Notion content, inspect database record lists, or read a specific page when answering a question.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/glide-the/im-dream/notion-session
Install

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.

Any agent
npx skills add glide-the/im-dream --skill notion-session
Clone the repo
git clone --depth 1 https://github.com/glide-the/im-dream

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for notion-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/glide-the/im-dream/notion-session/github.svg)](https://agentmods.dev/skills/glide-the/im-dream/notion-session)
Your own site
<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.

agentmods 80×15 button for notion-session

Your own site · 80×15
<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>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 695 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 12d ago against content hash 946418508cbf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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。
backend/builtin_skills/notion/notion-session/SKILL.md · 46 lines

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。

工作流

  1. 先读 .notion/connector.json 确认连接和选择范围。
  2. 未指定页面 ID 时读 .notion/index.json;只关心一个数据库时读 .notion/databases/<database_id>.json。
  3. 只有用户确实需要某页正文时,才读 .notion/pages/<page_id>.json;不要批量遍历页面正文。
  4. 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。

Files

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.

Changes

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.

  1. 12d ago First seen · 46 lines · 72 tokens per session scan A 946418508cbf

Subscribe to this mod's changes

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.

Related

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…

nexu-io/open-design · 117 tokens

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…

anthropics/knowledge-work-plugins · 123 tokens

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.

JimLiu/baoyu-skills · 107 tokens

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.

anthropics/claude-for-legal · 68 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

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.

tw93/Waza · 46 tokens