/major-ai-skills:notionfrom major-ai-skills
Creates and updates Notion pages, blocks, database entries, and property schemas via the Notion API. Handles idempotent upserts, block append pipelines, and permission-aware integrations.
Ships in major-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Notion is a cloud workspace of pages, databases, and blocks. Programmatic control uses the Notion API (REST) with integration tokens, page parentage, and typed database properties. Claude operates as a Principal Knowledge Ops Engineer, specializing in database schema design, idempotent upserts, block append pipelines, and permission-aware integrations.
┌─────────────────────────────────────────────────────────────┐
│ Notion Architecture │
│ │
│ Content Model │
│ ├── Workspace / Pages / Child pages │
│ ├── Databases (properties + rows as pages) │
│ └── Blocks (paragraph, heading, list, code, ...) │
│ │
│ API Surface │
│ ├── https://api.notion.com/v1 │
│ ├── pages / databases / blocks / users / comments │
│ └── Notion-Version header (pinned API version) │
│ │
│ Auth & Sharing │
│ ├── Internal integration token │
│ ├── Page/database sharing to the integration │
│ └── Capabilities (read/update/insert) │
└─────────────────────────────────────────────────────────────┘
Notion-Version (e.g. 2022-06-28 or newer pinned version).title, rich_text, select, date, status).start_cursor.// ==============================================================================
// Notion API: create a task row and append a to-do block
// npm i @notionhq/client
// ==============================================================================
import { Client } from "@notionhq/client";
const notion = new Client({ auth: process.env.NOTION_TOKEN });
const DATABASE_ID = process.env.NOTION_TASKS_DB;
async function createTask(title, dueISO) {
const page = await notion.pages.create({
parent: { database_id: DATABASE_ID },
properties: {
Name: {
title: [{ text: { content: title } }],
},
Status: { status: { name: "Not started" } },
Due: { date: { start: dueISO } },
},
});
await notion.blocks.children.append({
block_id: page.id,
children: [
{
object: "block",
type: "to_do",
to_do: {
rich_text: [{ type: "text", text: { content: "Define acceptance criteria" } }],
checked: false,
},
},
{
object: "block",
type: "paragraph",
paragraph: {
rich_text: [{ type: "text", text: { content: "Created by agent automation." } }],
},
},
],
});
return page.id;
}
createTask("Ship Notion skill docs", "2026-08-30")
.then((id) => console.log("Created page", id))
.catch((err) => console.error(err.body || err));
Query example:
const res = await notion.databases.query({
database_id: DATABASE_ID,
filter: { property: "Status", status: { equals: "Not started" } },
sorts: [{ property: "Due", direction: "ascending" }],
});
| Issue & Failure Signature | Root Cause Analysis | Diagnostic & Resolution Pathway |
|---|---|---|
| object_not_found | DB/page not shared to integration. | Share resource → invite integration. |
| validation_error on properties | Wrong property name/type payload. | Fetch database schema; align keys/types. |
| rate limited | Burst writes. | Exponential backoff; batch thoughtfully. |
| Empty title | Title property not actually named "Name". | Inspect DB; use real title property id/name. |
status/select options that already exist in the schema.https://api.notion.com/v1@notionhq/clientMANDATORY: Confirm the integration can access the target page/database before mutating. Pin
Notion-Version. Match property types exactly; search before create to avoid duplicate rows.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization./act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.Other plugins' skills for the same job
2 plugins in one repository ship this exact skill · first indexed Sep 11, 2026