name: notion-tasks-skill description: Search Notion or query a task database for unfinished items, then pull page content into the conversation for summarization and prioritization. metadata: require-secret: true require-secret-description: Paste your Notion integration token only. Provide the data source ID or database ID in the chat prompt.
Notion Tasks Skill
Purpose
Use this skill when the user wants to search, read, summarize, prioritize, or answer questions using content from Notion.
Instructions
Call the run_js tool with the following exact parameters:
-
script name:index.html -
data: A JSON string with the following fields: -
query: Optional string. A short page title or keyword search for Notion content. -
page_id: Optional string. A Notion page ID or a full Notion page URL. Use this when the user gives a specific page. -
database_id: Optional string. A Notion database ID or database URL. Use this for task lists and other structured tables. -
data_source_id: Optional string. Use this instead ofdatabase_idif the user explicitly gives a data source ID. -
max_results: Optional integer from 1 to 5. Default to 3. -
max_pages: Optional integer from 1 to 100. Default to 50 when querying a task database. -
include_content: Optional boolean. Default totrue. Set tofalseonly if the user wants a quick list of matches. -
include_properties: Optional boolean. Default totrue. -
status_property: Optional string. Default toStatus. -
done_value: Optional string. Default toDone. -
due_property: Optional string. Default toDate. -
priority_property: Optional string. Default toPriority.
Secret Format
Recommended:
- Raw token only:
secret_xxx
The skill still accepts JSON for compatibility:
- JSON for private setup:
{
"token": "secret_xxx",
"database_id": "your-private-database-id"
}
You can also provide data_source_id in the JSON secret if you prefer, but token-only plus a pasted data_source_id in chat is the most reliable setup.
Selection Rules
- The
script nameindex.htmlrefers toscripts/index.htmlin the skill folder. - If the user asks for unfinished tasks from a Notion database, pass
database_idordata_source_id. - If the user sends only a Notion-looking UUID after being asked for tasks, treat it as
data_source_idfirst. - Treat a bare UUID as
page_idonly when the user explicitly says it is a page ID or page URL. - For task lists, set
status_propertyto the exact property name if the user provides it. - For task lists, set
done_valueto the exact completed status name if the user provides it. - For task lists, set
due_propertyandpriority_propertyto the exact column names if the user provides them. - If the user provides a specific Notion page URL or page ID, pass it in
page_id. - Otherwise, pass the most important search phrase in
query. - Keep
queryshort and literal. Do not include conversational filler. - If the user asks for one page, prefer
max_results: 1. - For task summaries, prefer
include_properties: trueand useinclude_content: truewhen page notes might help explain the task.
Response Rules
- Use only the information returned by the tool.
- Mention when no matching page was found.
- If multiple pages are returned, briefly identify the best match before summarizing.
- For task databases, start with overdue and due-soon items.
- For task databases, use
Prioritytogether with due date to rank urgency. - For task databases, always highlight exactly 3 quick tasks the user can finish next, based on title scope, due date, priority, and any available notes or properties.
- Keep the answer concise unless the user asks for a deeper summary.
Priorisation de Tâches
Productivite
Priorise vos tâches avec les frameworks Eisenhower, ICE et RICE.
Generateur de Rapport Hebdomadaire
Productivite
Generez des rapports de statut hebdomadaires structures et concis.
Rapport de Daily Standup
Productivite
Génère des rapports de daily standup structurés et concis.