organize-database

organize-database is a skill for Claude Code, Codex from n24q02m/claude-plugins. It costs 21 tokens per session (891 once invoked), scanned A, a copy of organize-database, Apache-2.0.

A guide for turning unstructured Notion pages into a searchable database with a clear structure. Notion is a workspace app where pages can contain notes, tables, and other content.

In plain words
What is it for?
Use it to design a database, choose field types, migrate pages, and organize categories, tags, references, computed values, and long-form content.
Why use it?
It removes the guesswork of choosing database fields and moving existing page content into the right places without losing useful links or relationships.

Skill for Claude CodeCodex

Part of the better-notion-mcp plugin — 2 skills shipped together

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.

agentmods
npx agentmods add skills/n24q02m/claude-plugins/organize-database
Any agent
npx skills add n24q02m/claude-plugins --skill organize-database
Clone the repo
git clone --depth 1 https://github.com/n24q02m/claude-plugins

Made for: Claude Code, Codex.

Or install better-notion-mcp, the plugin that ships this one along with the rest of its 2 skills.

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 organize-database

README.md
[![agentmods](https://agentmods.dev/badge/skills/n24q02m/claude-plugins/organize-database.svg)](https://agentmods.dev/skills/n24q02m/claude-plugins/organize-database)
Your own site
<a href="https://agentmods.dev/skills/n24q02m/claude-plugins/organize-database"><img src="https://agentmods.dev/badge/skills/n24q02m/claude-plugins/organize-database.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 891 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00021 $0.00891
Opus 5 $0.00010 $0.00445
Sonnet 5 $0.00004 $0.00178
Haiku 4.5 $0.00002 $0.00089

Measured 5d ago against content hash 1658d71e60aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

organize-database scanned grade A with 0 findings 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 5d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to organize-database — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/better-notion-mcp/skills/organize-database/SKILL.md · 91 lines

How it starts

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

Organize Database

Transform unstructured Notion pages into a well-designed, queryable database.

Property Type Decision Guide

Choose the right property type -- LLMs frequently pick the wrong one:

Data pattern Correct type Wrong choice (common mistake)
Fixed categories (status, priority) select rich_text (loses filtering)
Multiple tags per item multi_select select (only allows one)
References to other DBs relation rich_text (breaks linking)
Computed from relations rollup formula (can't aggregate across DBs)
True/false flags checkbox select with Yes/No (over-engineered)
Long-form content Page body (blocks) rich_text property (2000 char limit)

Property Format Reference

Every property value MUST use the correct nested format. The Notion API rejects flat values.

// WRONG -- flat values (API will error or silently fail)
{
  "Tags": "engineering",
  "Status": "In Progress",
  "Description": "Some text"
}

// CORRECT -- properly typed nested objects
{
  "Tags": { "multi_select": [{ "name": "engineering" }] },
  "Status": { "select": { "name": "In Progress" } },
  "Description": { "rich_text": [{ "text": { "content": "Some text" } }] },
  "Name": { "title": [{ "text": { "content": "Page title" } }] },
  "Done": { "checkbox": true },
  "Due Date": { "date": { "start": "2026-03-23" } },
  "URL": { "url": "https://example.com" },
  "Count": { "number": 42 },
  "Contact": { "email": "[email protected]" }
}

Key gotcha: rich_text is an ARRAY of text objects, never a plain string.

Migration Pattern

  1. Audit existing content -- find the pages to organize:

    • pages(action="search", query="<topic>") to locate scattered pages
    • Read each page's blocks to understand content structure
    • Identify common fields across pages (these become DB properties)
  2. Design schema -- create the database with identified properties:

    databases(action="create", parent_id="<parent_page_id>", title="...", properties={
      "Name": { "title": {} },
      "Category": { "select": { "options": [{ "name": "..." }] } },
      "Tags": { "multi_select": { "options": [{ "name": "..." }] } },
      ...
    })
    
    • Start with 5-7 properties max. Users can add more later.
    • Always include a select for status/category -- it enables Notion's board view.

Read the full file on GitHub · 91 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. 5d ago First seen · 91 lines · 21 tokens per session scan A 1658d71e60aa

Subscribe to this mod's changes

organize-database is a skill published in the GitHub repository n24q02m/claude-plugins (4 stars, last pushed today), licensed Apache-2.0. It adds 21 tokens to every session and 891 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to organize-database, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

phpunit-migration-test-generation

Use this skill when the user asks to generate, write, or create migration tests for a Shopware 6 migration class — phrases like "generate migration tests", "write a migration test", "create migration test", "test this migration", "test Migration1234Foo". Analyzes the source migration's SQL operations to pick an…

shopwareLabs/ai-coding-tools · 141 tokens

wordpress-plugin-fundamentals

Modern WordPress plugin development with PHP 8.3+, OOP architecture, hooks system, database interactions, and Settings API.

bobmatnyc/claude-mpm-skills · 32 tokens

persona-triggers

페르소나 v5 트리거 상세(AT 20패턴 + 15관점 매핑·매칭 예시). 관점·객관적·철저·깊이·검증·추천·디버깅·방향·진행·근거·출처·사례·팩트·증거 등 트리거 단어 감지 시 상세 참조.

sodam-ai/SoDam-Persona · 91 tokens

persona-format

페르소나 v5 L2/L3 응답 형식 — 15관점 활성·문제해결 절차·7섹션 템플릿·자가검증·fail-safe·금지원칙. 코드 변경·디버깅·구현 등 L2/L3 작업 시 로드.

sodam-ai/SoDam-Persona · 71 tokens

persona-accountant

15년+ 회계·세무 전문가 페르소나(#14) 깊은 도메인. 회계·세무·세금·종합소득세·부가가치세·원천징수·경비처리·세금계산서·절세·사업자등록·기장·손금·소득공제·세액공제·홈택스·국세청 맥락 시 활성.

sodam-ai/SoDam-Persona · 99 tokens

persona-marketer

15년+ 마케팅·세일즈 전문가 페르소나(#15) 깊은 도메인. 마케팅·세일즈·카피·콘텐츠·SEO·광고·랜딩페이지·전환·퍼널·브랜딩·포지셔닝·리드·캠페인·리텐션·그로스·어카운트·컨설팅 맥락 시 활성.

sodam-ai/SoDam-Persona · 94 tokens