notion-workspace

notion-workspace is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 136 tokens per session (3,182 once invoked), scanned A, original, Apache-2.0.

A Notion workspace tool that builds structured API requests for creating pages, querying databases, and rendering Notion blocks as Markdown. Notion is a workspace for pages, databases, and formatted content; the tool can build requests offline before sending them.

In plain words
What is it for?
Use it to prepare page and database operations, query with filters and pagination, convert pages to Markdown, and optionally send approved requests.
Why use it?
It reduces errors in Notion's structured request format and lets you review the request before making changes or sharing credentials.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is # python3 scripts/notion_ops.py --help >/dev/null && echo CLI_OK.

Good fit Use it to prepare page and database operations, query with filters and pagination, convert pages to Markdown, and optionally send approved requests.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit
agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/notion-workspace

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-workspace

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/notion-workspace/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/notion-workspace)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/notion-workspace"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/notion-workspace/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-workspace

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/notion-workspace"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/notion-workspace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,182 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.00136 $0.03182
Opus 5.5 $0.00054 $0.01273
Sonnet 5.5 $0.00027 $0.00636
Haiku 4.5 $0.00014 $0.00318

Measured 2mo ago against content hash 3aeed7a1e8a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

notion-workspace 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 2mo 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.

Save step 2's output as `payload.json`, then the AI or user executes it with curl/SDK:
site/skills/integrations/notion-workspace/SKILL.md · 210 lines

How it starts

The opening of the file, as written. The whole thing — 210 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Notion Workspace (Read/Write Notion Workspace)

Solves the class of needs "push local content into Notion, or pull Notion content back." This skill's focus is not "sending requests" but constructing the requests correctly — the Notion API's type system is more cumbersome than most REST APIs; get the four-layer structure of parent, properties, rich_text, and block types wrong by one layer and you eat a 400.

Core judgment: Notion's payload is a strongly typed structured object, not free JSON. So this skill first uses the script to build the payload offline for human review, then sends with credentials.

Red lines (enforced by this skill)

  1. Never hardcode credentials: the token is read only from the NOTION_TOKEN environment variable; writing it into SKILL.md examples, scripts, JSON files, or git is forbidden. The script itself does not read the token at all — it only builds payloads and sends no requests.
  2. Dry-run by default: the build-* subcommands only print "the JSON that would be sent" and send no HTTP requests. The send action must happen only after the user confirms.
  3. Least privilege: request only the two capabilities content: read and content: update (or insert), do not turn on unrelated scopes like reading user info; the integration is only authorized to the pages that need it, not the whole workspace.

Input Checklist

Input Required Notes
Operation intent Yes Read (query/export) or write (create page / append blocks / update properties)
Target object ID Yes The parent page page_id, the database database_id, or a page ID; take it from the last 32-hex segment of the URL
Content source Required for write ops The body to write: a local Markdown file or a block JSON array
Properties/filter No Required for the database case: the column names to write, or the filter/sorts for the query
NOTION_TOKEN Required for real execution The Notion integration token, environment variable only; not needed to build read-only payloads

Read the full file on GitHub · 210 lines

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. 2mo ago Changed 3aeed7a1e8a2
  2. 2mo ago Changed · +2 lines edc119182535
  3. 2mo ago First seen · 208 lines · 136 tokens per session scan A 8f7792c6fb0a

Subscribe to this mod's changes

notion-workspace is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 136 tokens to every session and 3,182 once invoked, about $0.0005 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-09-19.

Related

notion-workspace compared with skills from other repositories

notion-workspace next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
notion-workspaceMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A136Claude Code, Codex
svg-chartNUGURI-7/CoCoWorkSkill1611d agoMITA75Claude Code, Codex
sn-discoverIvanBBaev/servicenow-mcp-aiSkill132d agoGPL-3.0A53Claude Code
arxivtaracodlabs/aidenSkill9151mo agoAGPL-3.0A16Claude Code, Codex
managing-file-storageceligo/aiSkill52d agoMITA121Claude Code
dcf-modelNousResearch/hermes-agentSkill267ktodayMITA14Claude Code, Codex
stripe-projectsNousResearch/hermes-agentSkill267ktodayMITA15Claude Code, Codex