Skip to main content
skill CX Codex

custom-blocks · makenotion — Claude Code skill for Notion App custom blocks

A skill that routes your agent through the Notion App SDK docs before it touches custom block code. Useful when a project has interactive browser blocks.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add makenotion/notion-cookbook --skill custom-blocks -a claude-code
Open on GitHub

What custom-blocks does

The skill carries no logic of its own. It tells the agent to open node_modules/@notionhq/apps/skills/custom-blocks/SKILL.md before creating, editing or debugging custom block code, resolving that path from the App project root, and to follow what the file says.

Missing file? The agent installs project dependencies first. Still missing? @notionhq/apps needs a release that ships the skill. Until the SDK skill is readable, the agent stops — that is the hard edge here, and it means a stale dependency blocks all custom block work.

It is marked user-invocable: false, so you cannot call it from the chat. It fires on its own when the task involves custom blocks.

What it helps with

  • scaffold a custom block for a Notion App
  • debug an interactive block that stopped rendering
  • port block code to a newer SDK release
  • trace why a block fails in the browser
  • install project dependencies before editing block code

Example prompts for the agent

  • Add a Notion App custom block that renders a counter
  • Fix the custom block — it no longer opens in the browser
  • Update @notionhq/apps and confirm the custom blocks SDK skill is present

How to install custom-blocks

1Skills CLI (Vercel)

npx skills add makenotion/notion-cookbook --skill custom-blocks -a claude-code

2Manually: put the files in place

~/.claude/skills/custom-blocks/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/custom-blocks/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about custom-blocks

How do I install custom-blocks in Claude Code?

Run npx skills add makenotion/notion-cookbook --skill custom-blocks -a claude-code. The skill file lands at ~/.claude/skills/custom-blocks/SKILL.md.

What does custom-blocks do?

Before any custom block work, the agent reads node_modules/@notionhq/apps/skills/custom-blocks/SKILL.md and follows the instructions inside.

Why can't I invoke the skill manually?

It is flagged user-invocable: false. The agent picks it up on its own when a task involves Notion App custom blocks.

Source text

SKILL.md · MIT
---
name: custom-blocks
description: Build interactive browser custom blocks declared by a Notion App.
user-invocable: false
---

# App custom blocks

Before creating, modifying, or troubleshooting custom block code, read
`node_modules/@notionhq/apps/skills/custom-blocks/SKILL.md`.
Resolve this path relative to the App project root.
Follow the instructions in that file.

If the file is missing, install the project dependencies.
If it remains missing, update `@notionhq/apps` to a release that includes the skill.
Do not continue with custom block changes until you can read the SDK skill.

© makenotion · MIT · makenotion/notion-cookbook

Similar skills

All skills for Agent setup: memory, context, orchestration →

custom-blocks by other authors comes first.

From the same set7

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor