evening-review-notion
Generate an evening review from Notion task databases.
- License 许可
- MIT
- 最近更新
- 2026-10-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- evening-review-notion
- author
- community
- license
- MIT
- version
- 0.1.0
- metadata
- { "hermes": { "tags": [ "Notion", "Productivity", "Review", "Evening", "Tasks" ], "homepage": "https://developers.notion.com" } }
- description
- Generate an evening review from Notion task databases.
- prerequisites
- { "alt_env": [], "env_vars": [] }
03 SKILL.md 正文
Evening Review from Notion
This skill outlines how to produce a concise evening review (wins, blockers, tomorrow's agenda, top 3 priorities) by querying Notion task databases.
Trigger
Use when the user asks for an evening review based on Notion data, or when you need to summarize daily progress and upcoming tasks from Notion.
Steps
1. Retrieve Notion token
Read the integration token from ~/.mcp_servers.json:
{
"mcpServers": {
"notion": {
"env": {
"NOTION_TOKEN": "ntn_your_token_here"
}
}
}
}
The token is found at .mcpServers.notion.env.NOTION_TOKEN.
2. Find task databases
Search for databases related to tasks:
mcp-cli call notion API-post-search '{"query":"task"}'
If mcp-cli is not available, fall back to curl with the token and header Notion-Version: 2022-06-28.
From the results, select entries where "object": "database". Collect their database_ids.
3. Identify a suitable database
For each candidate database, retrieve its metadata:
mcp-cli call notion API-retrieve-a-page '{"page_id":"<database_id>"}'
(Note: The API-retrieve-a-page tool works for databases as well.)
Look for:
- A status property (type
status,select, orcheckbox) that can indicate completion (e.g., options named "Done", "Completed", "Complete"). - A date property (type
date) that stores the task's due date or scheduled date.
Pick the first database that has both. If none have a clear completion property, you may still proceed and infer completion from a checkbox or select property whose name suggests completion (e.g., "Done").
Record:
status_prop: property name of the status field.status_type: its type (status,select,checkbox).date_prop: property name of the date field.
4. Query the database
Fetch all items (up to 100) with an empty filter:
mcp-cli call notion API-query-data-source '{"data_source_id":"<database_id>"}'
Pitfall: Some databases return zero results when using the data_source_id endpoint (/v1/data_sources/{id}/query). If you get no results, try using the database_id with the /v1/databases/{id}/query endpoint instead (via curl or equivalent). See the Notion skill for details on fallback.
5. Filter results
For each item in the results:
- Extract the title from the
titleproperty. - Determine completion:
- If
status_typeisstatus: checkitem.properties[status_prop].status.name. - If
status_typeisselect: checkitem.properties[status_prop].select.name. - If
status_typeischeckbox: checkitem.properties[status_prop].checkbox(true = completed). - Consider a value as completion if it matches (case-insensitive) any of: "done", "completed", "complete", "finished".
- If
- Extract the date from
item.properties[date_prop].date.start(ISO string). Keep only the date part (YYYY-MM-DD).
Then:
- If completed and date equals today → add to today's wins.
- If not completed and date equals tomorrow → add to tomorrow's agenda.
6. Prepare output
Format the review as follows (no tables):
���🌙 Evening Review — <today's date>
��✅ Today's Wins
- <task 1>
- <task 2>
(or "No completed tasks logged")
���🚧 Blockers
- None
���📅 Tomorrow's Agenda
- <task 1>
- <task 2>
(or "Nothing scheduled")
���🎯 Top 3 for Tomorrow
1. <top task 1>
2. <top task 2>
3. <top task 3>
(or "Nothing scheduled" for each missing item)
Keep the list concise (max 5 items per section). Celebrate progress.
References
- See the
productivity/notionskill for basic Notion API usage, authentication, and MCP server setup. - For details on API version 2022-06-28 changes, refer to that skill's "API Version 2022-06-28 — Important Changes" section.
Cron / Scheduled Job Usage
This skill can be run in a cron job. Since it involves multiple API calls, consider using the MCP server for efficiency:
mcp-cli call notion API-post-search '{"query":"task"}'
Then follow the steps above using mcp-cli or curl fallbacks. If the MCP server returns empty output (silent failure), fall back to direct curl with the token from ~/.mcp_servers.json.
04 同仓库更多 Skills
blocked-page-recovery
Use when a fetch fails: 403/429, paywall, WAF, bot wall.
gemini-vision-fallback
Vision fallback: Gemini REST API if vision_analyze blocked.
twitter-cli
Use twitter-cli for ALL Twitter/X operations — reading tweets, posting, replying, quoting, liking, retweeting, following, searching, user lookups. Invoke whenever user requests any Twitter interaction.
prism-scan
Structural analysis through dynamically generated cognitive lenses. Generates the optimal analytical lens for the specific code/artifact, then executes it. Finds conservation laws, structural invariants, and concrete bugs that vanilla analysis misses. Use on any code file, system design, or text artifact.
prism-reflect
Constraint transparency: analyzes an artifact structurally, then analyzes what its own analysis concealed. Produces a conservation law AND a constraint report showing what was maximized, what was sacrificed, and what to investigate next. The only AI skill that knows what it can't see.
prism-full
Full Prism: multi-pass structural analysis with mandatory adversarial self-correction. Designs custom analytical passes, executes them with chaining, then attacks its own findings before synthesizing. Use for maximum depth on important code or artifacts.