notion

notion is a skill for Claude Code, Codex from furkangonel/cowrangler. It costs 16 tokens per session (2,977 once invoked), scanned A, original, MIT.

A connection to Notion, a workspace for pages and structured databases, through its REST API, a standard way for programs to read and change online content.

In plain words
What is it for?
Create pages and sub-pages, add database records, search with filters and sorting, update page fields and content, and read blocks or database schemas.
Why use it?
It removes repetitive manual work when creating pages, editing content, or finding records in Notion databases.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Create pages and sub-pages, add database records, search with filters and sorting, update page fields and content, and read blocks or database schemas.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/furkangonel/cowrangler/notion
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 furkangonel/cowrangler --skill notion
Clone the repo
git clone --depth 1 https://github.com/furkangonel/cowrangler

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/furkangonel/cowrangler/notion"><img src="https://agentmods.dev/badge/skills/furkangonel/cowrangler/notion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,977 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.00016 $0.02977
Opus 5 $0.00008 $0.01489
Sonnet 5 $0.00003 $0.00595
Haiku 4.5 $0.00002 $0.00298

Measured 9d ago against content hash 12f28defce93, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

notion 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 9d 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.

curl -s -X GET "https://api.notion.com/v1/$1" \
bundled_skills/productivity/notion/SKILL.md · 396 lines

How it starts

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

Notion Workspace Management SOP

Manage Notion content programmatically: create and update pages, query databases, write blocks, and automate workspace workflows via the Notion REST API.

When to Use

  • User wants to create a new Notion page or sub-page
  • User wants to add records to a Notion database
  • User wants to query a database with filters or sorts
  • User wants to update existing page content or properties
  • User wants to read a page's blocks or a database's schema

Part 1 — Auth Setup

1. Create an Integration

  1. Go to https://www.notion.so/profile/integrations
  2. Click New integration → give it a name → select the workspace
  3. Copy the Internal Integration Secret — this is your NOTION_API_KEY

2. Connect Pages to the Integration

Every page or database the integration should access must be explicitly shared:

  1. Open the page/database in Notion
  2. Click ... (top right) → Connections → find your integration → Confirm

3. Set the Environment Variable

export NOTION_API_KEY="secret_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Or store it in ~/.cowrangler/credentials.env:

NOTION_API_KEY=secret_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Auth Helper (shell)

NOTION_API_KEY="${NOTION_API_KEY:-$(grep '^NOTION_API_KEY=' ~/.cowrangler/credentials.env 2>/dev/null | cut -d= -f2 | tr -d '\n\r')}"
NOTION_VERSION="2022-06-28"

notion_get() {
  curl -s -X GET "https://api.notion.com/v1/$1" \
    -H "Authorization: Bearer $NOTION_API_KEY" \
    -H "Notion-Version: $NOTION_VERSION" \
    -H "Content-Type: application/json"
}

notion_post() {
  curl -s -X POST "https://api.notion.com/v1/$1" \
    -H "Authorization: Bearer $NOTION_API_KEY" \
    -H "Notion-Version: $NOTION_VERSION" \
    -H "Content-Type: application/json" \
    -d "$2"
}

notion_patch() {
  curl -s -X PATCH "https://api.notion.com/v1/$1" \
    -H "Authorization: Bearer $NOTION_API_KEY" \
    -H "Notion-Version: $NOTION_VERSION" \
    -H "Content-Type: application/json" \
    -d "$2"
}

Read the full file on GitHub · 396 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. 9d ago First seen · 396 lines · 16 tokens per session scan A 12f28defce93

Subscribe to this mod's changes

notion is a skill published in the GitHub repository furkangonel/cowrangler (2 stars, last pushed 2d ago), licensed MIT. It adds 16 tokens to every session and 2,977 once invoked, about $0.0001 per session on Opus 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-08-31.