notion-mcp
Skill1 starsChanged 10 days agoApache-2.0View on GitHub
Use for Notion MCP setup and operations: initialize Notion config, search Notion, create/update pages or tasks, sync tasks to Notion, add comments. Trigger on \"Notion\", \"setup Notion\", \"configure Notion\", \"sync to Notion\", \"create a Notion task\", \"update Notion\", or \"comment in Notion\".
- Reads credentials
In this repository2 other files it gives its agents.
- git-commitSkill
- jiraSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. About 0 are common, 16 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈16
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when the user explicitly wants a Notion read or write, or needs to initialize Notion config for the first time.
- Very specific: line 12
Run when .env.local has no Notion values, or user asks to set up / reconfigure Notion.
- Very specific: line 16
Use tool_search to probe for Notion MCP tools (search for notion).
- Distinctive: line 26
Wait for user confirmation that MCP is connected before continuing.
- Distinctive: line 34
Do you work with a single default Notion project, or pick a project per task?
- Distinctive: line 41
Do you have any custom preferences for every row the agent creates?
- Very specific: line 42
Always set a Source property to AI
- Very specific: line 43
Always fill a Start Date property with today's date
- Very specific: line 44
Always apply a Tags value of AI
- Very specific: line 47
Use NOTION_CUSTOM_PROP_<PROPERTY_NAME>=__today__ for date fields the agent should fill automatically.
- Distinctive: line 51
Do you want to review what will be written before the agent pushes to Notion?
- Very specific: line 55
After all answers: write to .env.local (git-ignored), confirm what was saved.
- Distinctive: line 76
Do not write to Notion unless the user asks.
- Distinctive: line 77
Search for an existing matching page before creating a new one.
- Distinctive: line 78
Use exact property names from the target data source schema.
- Distinctive: line 84
Use Notion MCP when the user asks to:
- Distinctive: line 86
create a Notion task, page, or database item
- Distinctive: line 87
update a Notion page or task status
- Distinctive: line 88
search Notion for an existing task or document
- Distinctive: line 90
add or manage comments in Notion
- Distinctive: line 93
Do not use Notion MCP for local-only updates or draft summaries with no Notion write.
- Very specific: line 99
Load config: Read .env.local. Missing required values → run init interview before continuing.
- Distinctive: line 102
Check for duplicates: Search Notion first. Reuse or update existing page when clearly the same item.
- Very specific: line 105
If NOTION_REVIEW_BEFORE_WRITE=true: show a preview of all fields and values, wait for explicit user confirmation before writing.
- Distinctive: line 113
No duplicate page created when a matching page already existed.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Notion
Use this skill when the user explicitly wants a Notion read or write, or needs to initialize Notion config for the first time.
Initialization (required once per workspace)
Run when .env.local has no Notion values, or user asks to set up / reconfigure Notion.
Step 1 — Check Notion MCP
Use tool_search to probe for Notion MCP tools (search for notion).
- Tools found → MCP ready, proceed to interview.
No tools found → tell user:
Notion MCP is not connected. Follow the official setup guide: https://developers.notion.com/guides/mcp/get-started-with-mcp
Once done, reload your MCP tools and run setup again.
Wait for user confirmation that MCP is connected before continuing.
Step 2 — Interview
Interview the user — one question at a time — until all values are captured. Then write to .env.local.
Interview sequence
- Do you work with a single default Notion project, or pick a project per task?
single→ collect project page URL →NOTION_PROJECT_PAGE_URL, setNOTION_PROJECT_MODE=single.prompt→ setNOTION_PROJECT_MODE=prompt; ask project page at sync time.
- What is the Notion database / data source ID for your tasks? (format:
collection://...or plain database ID)- Save as
NOTION_TASKS_DATA_SOURCE_ID.
- Save as
- Do you have any custom preferences for every row the agent creates? For example:
- Always set a
Sourceproperty toAI - Always fill a
Start Dateproperty with today's date - Always apply a
Tagsvalue ofAI - Or any other field/value pair
- Collect all stated preferences as
NOTION_CUSTOM_PROP_<PROPERTY_NAME>=<value>pairs. - Use
NOTION_CUSTOM_PROP_<PROPERTY_NAME>=__today__for date fields the agent should fill automatically.
- Always set a
- Any other preferences? Keep asking until user says no.
- Do you want to review what will be written before the agent pushes to Notion?
yes→ setNOTION_REVIEW_BEFORE_WRITE=true; agent shows a preview and waits for confirmation on every create/update.no→ setNOTION_REVIEW_BEFORE_WRITE=false; agent writes immediately.
After all answers: write to .env.local (git-ignored), confirm what was saved.
.env.local format:
# single = one default project | prompt = ask per task
NOTION_PROJECT_MODE=single
NOTION_PROJECT_PAGE_URL=https://www.notion.so/<your-project-page-id>
NOTION_TASKS_DATA_SOURCE_ID=collection://<your-data-source-id>
# true = show preview and wait for confirmation before every write
NOTION_REVIEW_BEFORE_WRITE=true
# Custom properties applied to every AI-created row
# NOTION_CUSTOM_PROP_Source=AI
# NOTION_CUSTOM_PROP_Tags=AI
# NOTION_CUSTOM_PROP_Start_Date=__today__Core rules
- Do not write to Notion unless the user asks.
- Search for an existing matching page before creating a new one.
- Use exact property names from the target data source schema.
- Apply every
NOTION_CUSTOM_PROP_*entry on each AI-created row. Skip silently only if the property does not exist in the schema — ask one question first to confirm. - Pass relation and multi-select values as JSON text strings, not raw arrays.
When to use Notion MCP
Use Notion MCP when the user asks to:
- create a Notion task, page, or database item
- update a Notion page or task status
- search Notion for an existing task or document
- sync a task record into Notion
- add or manage comments in Notion
- prepare a Notion-ready summary and then write it
Do not use Notion MCP for local-only updates or draft summaries with no Notion write.
Workflow
- Confirm outcome. Distinguish
search/draft only/create/update/comment/sync. - Load config. Read
.env.local. Missing required values → run init interview before continuing.NOTION_PROJECT_MODE=prompt→ ask which project page for this task.
- Check for duplicates. Search Notion first. Reuse or update existing page when clearly the same item.
- Write to Notion.
- If
NOTION_REVIEW_BEFORE_WRITE=true: show a preview of all fields and values, wait for explicit user confirmation before writing. - Apply all
NOTION_CUSTOM_PROP_*values. Resolve__today__to current date.
- If
- Report. State what changed in Notion.
Completion checks
- Requested Notion action completed or specific blocker identified.
- No duplicate page created when a matching page already existed.
- All
NOTION_CUSTOM_PROP_*entries applied to the created/updated row. - Report states exactly what changed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

