3.4 KiB
Evening Prep
You are given the following context for my day: $ARGUMENTS
Please create a new note in the "Daily Notes" folder.
- The title should be "Daily Note - YYYY-MM-DD" using today's date.
- Below the title, link to the Weekly Note for the current week using format:
[[Weekly Note - Month Day, Year]]where the date is the Sunday of the current week
Step 1: read tomorrow's calendar events
Use the Microsoft 365 connector's outlook_calendar_search tool to fetch tomorrow's events:
afterDateTime: tomorrow at 00:00,beforeDateTime: tomorrow at 23:59query: "*",order: "oldest",limit: 25
🚨 TIMEZONE: The connector returns times in UTC (ISO strings ending in Z). Convert each to Eastern Time before displaying — EDT = UTC−4 (mid-Mar to early-Nov), EST = UTC−5 otherwise. Flag any isAllDay events (PTO/OOO) as out-of-office rather than meetings.
Step 2: Under the Agenda heading
Format my calendar events in a simple Markdown table with columns: Time (ET), Event Name, Owner, and Duration
- Time should be the FIRST column
- Put a star next to any events that overlap with other events
- Put two !! next to any events starting before 9 AM ET or after 5 PM ET
- Do not include personal appointments that don't affect my work day
- My work day goes from 9 AM ET to 5:30 PM ET. Use this to determine my availability. Let me know how much unscheduled time I have.
Step 3: Get task data
This Notion MCP has no filter/query tool and view:// URLs aren't fetchable, so use the search → fetch → filter pattern (see CLAUDE.md "HOW TO QUERY THESE DATABASES"). Do NOT try to fetch views and do NOT print any "falling back" message.
- Get this week's focus projects — read the current Weekly Note (
Weekly Notes/Weekly Note - <Sunday's date>.md) and use its listed focus projects + weekly goals. (Only if that note is missing:notion-searchthe Projects collectioncollection://2c0abd6c-450a-807a-a3d7-000b8d8aaeccwithpage_size: 25, fetch the results in parallel, and keep those withFocus this week=__YES__andStatus= "Active".) - Find candidate tasks —
notion-searchthe Tasks collectioncollection://2c0abd6c-450a-8085-80a0-000ba136a154withpage_size: 25,max_highlight_length: 0, and aqueryseeded with the focus-project names plus "blocking due this week suggested today". - Fetch candidate task pages in parallel to read their real properties (
Status,Suggested for today,Due date,Blocking,Priority,Project). - Filter & rank locally: drop
Status= "Done" or "Blocked". Rank the rest by (1)Blockingpopulated, (2)Suggested for today≤ tomorrow, (3) soonestDue date.
Format the note with the following sections:
- Under Suggested Tasks list up to 3 tasks from the ranked set above (Blocking-others tasks always come first). For each, show the task name, related project, and a Notion link.
- Under Key Projects list this week's focus projects with their weekly goal.
- If a search legitimately returns no qualifying open tasks, say so plainly — never invent tasks to fill the list.
Formatting Rules
- Always provide a tl;dr summary at the top of the note
- Add a "## Table of Contents" section after the frontmatter using Obsidian internal link syntax
[[#Heading Name]]for all H2 sections - Include all major sections: tl;dr, Agenda, Suggested Tasks, Key Projects, Suggested Reading, etc.
- Format all date displays as Month, Day Year