Agent skill

Daily Plan

by davekilleen in davekilleen/Dex

Build today's plan from calendar, tasks, priorities and commitments, with smart scheduling suggestions.

MITAuto-check: notesProductivity & Automation

Install Daily Plan

skills CLI
$ npx skills add davekilleen/Dex --skill daily-plan -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davekilleen/Dex daily-plan --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davekilleen/Dex.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/daily-plan .claude/skills/daily-plan && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
daily-plan
GitHub stars
494
Token cost
~9k tokens
SKILL.md length
4,441 words
Files
2
Skills in repo
61
Repo updated
First seen
Licence
MIT

At a glance

Build today's plan from calendar, tasks, priorities and commitments, with smart scheduling suggestions.

  • Works in 12 steps: Process Unprocessed Meetings (only when… → 5: Dex Inbox Check (Phone Captures) → Background Checks (Silent) → …
  • The user says plan my day
  • SKILL.md covers Execution mode, Purpose, Usage and Tone Calibration, plus 9 more sections
  • Calls python3; needs GRANOLA_API_KEY

What it does

Daily Plan is an agent skill from davekilleen/Dex. Build today's plan from calendar, tasks, priorities and commitments, with smart scheduling suggestions. Use when the user says 'plan my day', 'what's on today', 'help me focus', or starts the morning. Also use proactively at the first session of the day. Not for reviewing a finished day; use daily-review.

Its SKILL.md is about 9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `AGENT_INSTRUCTIONS.md`).

It sits in Productivity & Automation, covering Time tracking and reporting. The repository describes itself as: Your AI Chief of Staff — a personal operating system starter kit that adapts to your role. No coding required. The licence is MIT.

When your agent uses it

  • The user says plan my day
  • Starts the morning

Example prompts

  • “plan my day”
  • “s on today”
  • “help me focus”
  • “/daily-plan”

Requirements

  • A credential in GRANOLA_API_KEY

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. Process Unprocessed Meetings (only when something is waiting)
  2. 5: Dex Inbox Check (Phone Captures)
  3. Background Checks (Silent)
  4. 5: Innovation Spotlight (Concierge)
  5. Morning Journal Check (If Enabled)
  6. Monday Weekly Planning Gate
  7. Yesterday's Review Check (Soft Gate)
  8. Context Gathering (ENHANCED)
  9. Synthesis
  10. Generate Daily Plan
  11. 5: Push Focus Tasks to Reminders (Dex → iPhone)
  12. Track Usage (Silent)

What it can do on your machine

Read from SKILL.md and the folder at commit d0ffc6b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GRANOLA_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Daily Plan loads about 9k tokens when it runs. Until then it costs about 80 tokens; SKILL.md has 4,441 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~80
When it runs · the whole SKILL.md, loaded when a task matches
~9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:147
    OLA_API_KEY` (environment or vault-root `.env`). If no key is configured, skip all Granola steps silently — an unconnect

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davekilleen/Dex at commit d0ffc6b, republished under its MIT licence (© davekilleen). 4,441 words, ~9,029 tokens.

Download SKILL.mdSave it as .claude/skills/daily-plan/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
daily-plan
description
Build today's plan from calendar, tasks, priorities and commitments, with smart scheduling suggestions. Use when the user says 'plan my day', 'what's on today', 'help me focus', or starts the morning. Also use proactively at the first session of the day. Not for reviewing a finished day; use `daily-review`.
<!-- Generated from `.claude/skills/daily-plan/SKILL.md` by `scripts/generate-agents-skills.py`. Do not edit. -->

Execution mode

Run inline in the current conversation by default, so this work can see what the user has already discussed, decided, or settled this session. Do not fork merely because this skill was selected. Only run in the background when the user explicitly asks for a background run or the host has already obtained a specific background-work approval for this run.

Delegated gathering (large-vault scaling)

This skill stays inline as described above: it keeps session awareness, it asks the user the questions, and it owns every interactive step. What it does NOT do inline is the bulk read-gathering, which on a mature vault (hundreds of notes, thousands of indexed messages, a live calendar and multiple integrations) can be large enough to exhaust the main conversation before the useful work starts.

So the gathering phase is delegated to one general-purpose subagent via the Agent tool, using the self-contained prompt in this skill's AGENT_INSTRUCTIONS.md:

  1. Read .agents/skills/daily-plan/AGENT_INSTRUCTIONS.md.
  2. Substitute its placeholders ({{TARGET_DATE}}, {{TARGET_DATE_PLUS_1}}, {{DAY_NAME}}, {{MONTH}}, {{DD}}).
  3. Call the Agent tool with subagent_type: "general-purpose", model: "sonnet", that prompt, and a short description. The brief is mechanical gathering, so it runs on the fast tier declared by this skill's model_routing.steps.data-gathering; the judgement calls stay in this conversation on the default model.
  4. Verify it wrote the draft plan to the resolved daily-plan folder (see Daily plan folder), then run the remaining interactive steps from its findings and present the plan.
  5. Close out every <!-- NEEDS TASK --> line in the draft. The subagent never creates tasks, so a focus candidate with no existing task is written without a checkbox and marked. For each one: confirm it with the user per Step 6, create the task with create_task, then rewrite that line as a - [ ] checkbox carrying the returned ^task-YYYYMMDD-XXX anchor and remove the marker. If the user declines, remove the marker and leave the line checkbox-free. Never leave the marker in the saved plan, and never turn one of these lines into a checkbox without an anchor — an anchorless checkbox is invisible to completion sync forever (Step 6).

The subagent inherits MCP connections, runs in its own context, and that context is freed when it completes, so only its findings reach this conversation.

Use AGENT_INSTRUCTIONS.md verbatim. Read the file and pass its content as the subagent prompt, substituting only the placeholders. Do NOT hand-write a replacement brief from what you already know about the day: that is how steps get silently dropped, and the omission looks complete because nothing errors. If context from this conversation is worth adding, APPEND it to the file's content; never substitute for it.

Two caveats that are load-bearing:

  • Do not count on hooks for the subagent's writes. The hooks declared in this skill's own frontmatter belong to this skill's run, not the subagent's, and whether the repository-wide hooks in the host's lifecycle settings reach a subagent's tool calls is not something a skill should assume either way. Nothing in this skill's gathering depends on a hook; the subagent's writes must stand on their own.
  • Always fall back. If the subagent fails, times out, or returns nothing usable, say so plainly and run the gathering inline from the same AGENT_INSTRUCTIONS.md. A missing subagent must never mean a missing result.

Stays inline: the journal and Monday week-planning gates, the yesterday's review check, Dex Inbox triage, the meeting-task review and goal-link confirmations, inbound external task review, pushing focus tasks to Reminders, and usage tracking. These need the user, so they must not be delegated.

Previous-working-day notes (Step 5.10c) are gathering, not the yesterday's review check. That step lives in AGENT_INSTRUCTIONS.md so a customization of it reaches the subagent. The written plan must show the post-condition: notes found for a named date/file, or none.

Purpose

Generate your daily plan with full context awareness. Automatically gathers information from your calendar, tasks, meetings, relationships, and weekly progress to create a focused plan with genuine situational awareness.

Usage

  • /daily-plan — Create today's daily plan
  • /daily-plan tomorrow — Plan for tomorrow (evening planning)
  • /daily-plan --setup — Re-run integration setup

Tone Calibration

Before executing this command, read System/user-profile.yaml → communication section and adapt tone accordingly (see CLAUDE.md → "Communication Adaptation").


Step 0: Process Unprocessed Meetings (only when something is waiting)

Before gathering context, ask the session-start sweep how many meeting records are still waiting, without re-scanning the vault yourself. The count mode prints one integer, bypasses the sweep's once-per-30-minutes notice throttle, and writes nothing, so it is safe to call every morning:

Ask the host for its count of waiting meeting records if it keeps one; if it does not, treat the count as unknown and run the meeting pass.

Branch on the answer:

  • 0: skip this step entirely and say nothing. Yesterday evening's review already ran the catch-up pass, so on most mornings this is the answer, and re-running a full seven-day /process-meetings here found nothing new while costing minutes.
  • Above 0: run /process-meetings. This creates meeting notes, updates person/company pages, and extracts tasks, so the plan has complete data. Note the count and use the extracted context in the plan. Do NOT ask for a skill rating after this sub-step — save that for the end of the full plan.
  • The command fails or prints nothing: treat that as unknown, not as zero: run /process-meetings as before.

Step 0.5: Dex Inbox Check (Phone Captures)

Check for tasks captured from phone that haven't been triaged:

Use: reminders_list_items(list_name="Dex Inbox")

If the tool is unavailable or errors (Apple Reminders phone-capture is optional and may not be set up on this machine): skip this step silently — do not surface an error for a feature the user never enabled.

If items found, triage them before building the plan so task counts are accurate. See Step 5.10a for the full triage flow.

If empty: Skip silently.


Step 1: Background Checks (Silent)

Run these silently without user-facing output:

  1. Release evidence: SessionStart already performs the at-most-daily bounded fetch-only check. Read its result; do not start a second network attempt. Surface only its complete release-appears-available-unverified notice, verbatim. Keep no-newer-release-observed-unverified, offline, UNKNOWN, and skipped silent here.
  2. Self-learning checks: Run changelog and learning review scripts if due
  3. Search index refresh: Run qmd update && qmd embed to refresh vault search index with any overnight changes (meetings processed, files edited, etc.). If qmd is not installed, skip silently.
  4. People index refresh: Call build_people_index from Work MCP. This keeps the People Directory current so person lookups throughout the day are fast. Takes <2 seconds.
  5. Innovation synthesis (silent): Call synthesize_changelog() and synthesize_learnings() from Improvements MCP. These run in background and populate the backlog — results are surfaced in Step 1.5 below.
  6. Granola check (silent): Granola sync uses the official API via GRANOLA_API_KEY (environment or vault-root .env). If no key is configured, skip all Granola steps silently — an unconnected optional integration is not an error.
  7. System health (silent): Read System/.smoke-last-run.json when present and retain any broken-journey context for Step 5.10b.

Step 1.5: Innovation Spotlight (Concierge)

After background checks complete, check for noteworthy backlog activity:

  1. Call list_ideas(status="active", min_score=70) from Improvements MCP
  2. Check System/.synthesis-state.json for recent synthesis activity (last 7 days)
  3. If there are AI-authored or recently enriched ideas, pick the most impactful one

Surface as a brief spotlight in the plan output (1-2 lines max):

Innovation Spotlight: Claude Code shipped native memory (v2.1.32) — this could simplify idea-006 (Session Memory MCP). Run /dex-improve idea-006 to explore.

Rules:

  • Show at most 1 spotlight per daily plan (don't overwhelm)
  • Rotate through ideas — don't show the same one twice in a row
  • Only show if there's genuine "Why Now?" urgency (new evidence in last 7 days)
  • If no recent synthesis activity, skip this section entirely
  • Never block the plan for this — it's a helpful aside, not a gate

Step 2: Morning Journal Check (If Enabled)

If journaling.morning: true in user-profile.yaml, check for today's morning journal and prompt if missing.


Step 3: Monday Weekly Planning Gate

If today is Monday and week isn't planned, offer to run /week-plan first.


Step 4: Yesterday's Review Check (Soft Gate)

Check for yesterday's review and extract context (open loops, tomorrow's focus, blocked items).


Step 5: Context Gathering (ENHANCED)

Gather context from all available sources. This is where the magic happens.

5.1 Midweek Progress Check (NEW)
Use: get_week_progress()

This is critical for genuine situational awareness. Extract:

  • Day of week and days remaining
  • Weekly priority status (complete / in_progress / not_started)
  • Warnings for priorities with no activity

Surface this prominently:

"It's Wednesday. Here's where you are on this week's priorities:

  1. ✅ Ship pricing page — Complete (finished Monday)
  2. 🔄 Review proposal — In progress (2 of 5 tasks done)
  3. ⚠️ Customer interviews — Not started (no activity yet)

You have 2 days left this week. Priority 3 needs attention."

5.2 Calendar Capacity Analysis (NEW)

Calendar events come from the delegated gatherer. That gatherer reads calendar.provider in System/user-profile.yaml and uses Google Workspace MCP when the provider is google, or calendar-mcp when it is not.

Use: analyze_calendar_capacity(days_ahead=1, events=[...from the configured calendar source...])

Understand the shape of today:

  • Day type: stacked / moderate / open
  • Meeting count and hours
  • Free blocks available
  • Recommendation: What kind of work fits today

Surface this:

"📅 Today's shape: Moderate (4 meetings, 3 hours total)

Free blocks:

  • 8:00-9:30 AM (90 min) — Morning focus time
  • 2:00-4:00 PM (120 min) — Afternoon block

Recommendation: Good for medium tasks and meeting prep. Deep work fits the 2-4pm block."

5.3 Meeting Intelligence (NEW)

For each meeting today:

Use: get_meeting_context(meeting_title="...", attendees=[...])

Get genuine context, not just attendee names:

  • Related project: What project is this connected to?
  • Project status: What's outstanding? What's blocked?
  • Outstanding tasks with attendees: What do you owe them? What do they owe you?
  • Prep suggestions: What should you review before this meeting?

Surface this with surprise and delight:

"📍 Meeting: Acme Quarterly Review (2pm with Sarah Chen, Mike Ross)

Related project: Acme Implementation (Phase 2)

  • Status: On track, but pricing section still in draft
  • Outstanding: You owe Sarah the pricing proposal

Prep suggestion: Review proposal draft, prepare pricing options. Block 30 min before this meeting?"

5.4 Commitment Tracking (NEW)

Before commitments, read System/.dex/entity-suggestions.json (if present). If it has suggested entries, add one compact context line: "Dex suggests person pages for: X (N meetings), Y — say the word and I'll create them." This step is read-only.

Also read System/.dex/entity-cooling.json when it is present and fresh. If its consequential cold list is non-empty, surface it as one compact "❄️ Going cold" line in ## ⚠️ Heads Up; degrade silently when the feed is absent or empty, and never widen this into a vault-wide people dump.

Also read System/.dex/entity-relationships.json when it is present and fresh. If its suggestions list is non-empty, surface one compact "🔗 Relationships to confirm" line in ## ⚠️ Heads Up; degrade silently when the feed is absent, stale, or empty. Keep it as a nudge, show the page and edge being proposed, and offer the real Work MCP actions: confirm_relationship(page, edge_key) or dismiss_relationship(page, edge_key). Never choose either action without the user's per-edge say-so.

Use: get_commitments_due(date_range="today")

Surface things you said you'd do:

"⚡ Commitments due today:

  • You told Mike you'd get back to him by Wednesday (from Monday 1:1)
  • Follow up on competitive analysis (from Acme meeting)"
5.5 Task Scheduling Suggestions (NEW)
Use: suggest_task_scheduling(include_all_tasks=False, calendar_events=[...])

Match tasks to available time based on effort classification:

"📋 Scheduling suggestions:

TaskEffortSuggested Time
Write Q1 strategy docDeep work (2-3h)Tomorrow (you have a 3h morning block)
Review Sarah's proposalMedium (1h)Today 2-3pm (before Acme meeting)
Reply to MikeQuick (15min)Between meetings

⚠️ Heads up: You have 2 deep work tasks but today's too fragmented. Consider protecting tomorrow morning."

5.6 Semantic Context Enrichment (if QMD available)

This step runs automatically when QMD is installed via /enable-semantic-search. It adds a semantic search layer on top of the standard context gathering to surface connections that keyword search misses.

Check if QMD MCP tools are available by calling the status tool (QMD MCP). If available:

  1. For each meeting today, run:

    query(query="[meeting topic] [attendee names]", limit=3)

    Surface: past discussions, related decisions, relevant commitments that share meaning but not keywords with this meeting. Example: a meeting about "customer onboarding" finds notes about "activation rates" and "time to value".

  2. For each weekly priority that's lagging, run:

    query(query="[priority description]", limit=3)

    Surface: vault content that advances or relates to this priority but wouldn't appear in a keyword search. Especially useful for finding forgotten context about stalled work.

  3. Cross-topic connection scan:

    query(query="[today's key themes combined]", limit=5)

    Surface: unexpected connections between today's meetings, tasks, and priorities. This is where semantic search shines — finding that a 2pm customer call relates to a PRD you wrote last month using completely different terminology.

  4. Merge with existing context — only add genuinely new insights. Don't duplicate what Steps 5.1-5.5 already found. Mark semantic results with their source so the plan output can distinguish them.

What this enables in the plan output:

  • Meeting context sections include "Also relevant:" with thematically related past discussions
  • Priority recommendations cite relevant vault content discovered by meaning
  • "Heads Up" section catches connections between seemingly unrelated items
  • Focus recommendations are informed by deeper vault knowledge

If QMD is not available: Skip silently. Steps 5.1-5.5 and 5.7 provide full context via standard methods.


5.7 Reminders Completion Sync (Dex Today → Dex)

Check if any tasks were completed on phone since the last plan:

Use: reminders_list_completed(list_name="Dex Today")

If the tool is unavailable or errors (Apple Reminders sync is optional and may not be set up on this machine): skip this step silently — do not surface an error for a feature the user never enabled. Note: Reminders access never works when Claude Code runs inside the VS Code extension (macOS never shows the permission dialog to that process) — see the known limitation in 06-Resources/Dex_System/Calendar_Setup.md. Do not advise reinstalling or reconfiguring; skip silently.

For each completed item:

  • Match to a Dex task by title
  • Update task status via Work MCP: update_task_status(task_title="...", status="d")
  • Surface what was synced:

"📱 Synced from phone:

  • ✅ "Follow up with Hero Coders" — marked done in Dex"

If nothing to sync: Skip silently.

5.8 Email Intelligence (if connected)

Check System/integrations/config.yaml for google-workspace.enabled: true. Also treat a registered apple-mail-mcp server as a connected source. Before querying Apple Mail, run python3 core/utils/doctor.py --deep --only mail.apple-search; Apple Mail search is usable only when the mail.apple-search check reports OK / feature_status: ok. --only runs that one probe instead of the whole live checkup (smoke journeys, search index, connected tools), which is what a full --deep run does and what made this step slow every morning. Google Workspace needs no local probe: its own tool response carries the health status.

If connected and healthy:

  1. Use an attention-inbox count for the headline, never a provider-wide unread total. For Google Workspace, count unread in the attention inbox. Start with is:unread category:primary. If that returns 0, confirm with is:unread in:inbox and whether any mail has the Primary label (category:primary, not only unread). When inbox tabs are off, category:primary is empty even though the inbox has unread mail — use the inbox count. When Primary exists but has no unread, report 0. Never use a provider-wide is:unread total. Use monitored labels separately to find priority messages. For Apple Mail, count unread messages in Inbox mailboxes. If the source cannot scope this reliably, omit the headline unread count.
  2. Flag emails needing reply (> 48h since received, from key contacts in 05-Areas/People/)
  3. Surface email threads with today's meeting attendees

Include in plan:

"Email: [X] unread in Primary/Inbox, [Y] need replies. [Z] threads with today's meeting attendees."

For Apple Mail, never interpret an empty search as "no matching mail" unless that health check is OK. If a connected source is broken or could not be checked, do not silently skip: include one calm "Email context omitted" line with Doctor's user_message or fix path. If the source is not connected (OFF), omit it without noise.

5.9 Teams Intelligence (if Teams connected)

Check System/integrations/config.yaml for teams.enabled: true.

If enabled and MCP healthy:

  1. Get unread messages from priority channels
  2. Surface DMs needing response
  3. Check for mentions

Include in plan:

"Teams: [X] unread chats, [Y] mentions. [Z] threads with today's meeting attendees."

If BOTH Slack and Teams enabled:

  • Show both digests, clearly labeled: "Slack: ..." and "Teams: ..."
  • Deduplicate if the same person appears in both (merge context, label the source)
  • Present side by side in the plan output under a combined "Chat Intelligence" heading

If unhealthy: skip silently (graceful degradation -- no error to user).

Show full SKILL.md (1,798 more words)Show less
5.10a Mobile Capture Check (Dex Inbox)
Use: reminders_list_items(list_name="Dex Inbox")

If the tool is unavailable or errors (Apple Reminders phone-capture is optional and may not be set up on this machine): skip this step silently — do not surface an error for a feature the user never enabled.

If items found, surface:

📱 Captured on phone (3 items in Dex Inbox):

  1. "Follow up with Peter about roadmap" — captured yesterday 4:32pm
  2. "Look into Rovo for in-app guides" — captured today 2:15pm
  3. "Send Anastasia the productized offering doc" — captured today 11:45am

Triage these now? I'll help assign pillars and priorities.

Triage flow:

  • Run Work MCP process_inbox_with_dedup to classify the captured items — it flags duplicates and ambiguous items and suggests a pillar; it does NOT create tasks
  • Present each item, confirm pillar with user (smart pillar inference)
  • Create each confirmed task via Work MCP create_task (pass due, people, or account when the captured item mentions them)
  • Mark Reminder as complete via reminders_complete_item

If Dex Inbox is empty: Skip silently (no "0 items captured" noise).

5.10b Standard Context Gathering

Also gather:

  • Calendar: Today's meetings with times and attendees
  • Tasks: P0, P1, started-but-not-completed, overdue (task Due: dates only)
  • People dates: i_owe_date can be overdue. waiting_on_date is a wait/nudge, never overdue. A leftover next_action_date has no direction — do not mark it overdue.
  • Week Priorities: This week's Top 3
  • Work Summary: Quarterly goals context (if enabled)
  • People: Context for meeting attendees
  • Self-Learning Alerts: Changelog updates, pending learnings
  • System health: Only when the overnight smoke report has summary.broken > 0, note that a self-check found a problem and point to /dex-doctor for diagnosis
5.10c Previous-working-day notes

Read working_week.days in System/user-profile.yaml. Compute the previous working day strictly before the target date (skip non-working days). If the profile is missing or working_week.days is unusable, treat Monday-Friday as the working week.

Look for notes dated that previous working day in 00-Inbox/Meetings/ (including 00-Inbox/Meetings/{date}/) and, when present, the valid configured notes_folder from meeting_sources. Name the date and every file found. If none, record that as none for that named date. Do not skip this step silently.

Person-page updates. For people mentioned in those notes, call lookup_person. If a page exists, add the note under Recent Interactions inside the existing <!-- dex:auto:recent-interactions --> block using:

- [{Meeting Title}]({actual vault-relative note path}) — {date}

If that path is already listed, change nothing. Do not create person pages here; list people with no page for the conversation to handle. The written plan must include the post-condition: previous-working-day notes found for a named date/file, or none for that date.

5.11 Meeting-Task Review (NEW)

Give the user one place to review what their meetings turned into. Work from the list_tasks output already gathered (open tasks include metadata_source — the meeting note each task came from — and goal_tentative).

  1. Recent meeting tasks. Collect open tasks whose metadata_source is set and whose task ID date (^task-YYYYMMDD-…) is within the last 3 days. If any, present them compactly under the plan's context:

    From your meetings (3 tasks)

    • Send Acme the revised pricing — from Acme Quarterly Review (due Jul 15)
    • …
  2. Tentative goal links. Collect open tasks where goal_tentative is true. If any, review them in one pass:

    2 tasks have a likely goal link marked (?) — want to confirm them?

    1. "Draft churn playbook" → Q3-2026-goal-2: Reduce churn to 4% — keep this link?

    For each answer, call Work MCP confirm_goal_link(task_id, "confirm") to keep the link or confirm_goal_link(task_id, "clear") to remove it. Never edit the task file by hand for this.

  3. Unprocessed meetings. If 00-Inbox/Meetings/ has notes with unchecked ### For Me items and no tasks-extracted marker, add one line: "N meetings have unextracted action items — run /process-meetings to turn them into tasks."

Skip this entire step silently when nothing qualifies — no "0 tasks from meetings" noise.

5.12 Inbound External Tasks Review (NEW)

Give the user one place to review tasks that arrived from a connected task app (Todoist / Things / Trello) since the last sync. Check System/integrations/inbound-tasks.json. If it exists and is non-empty:

  1. Read each item: {service, external_id, title, raw}. The raw object contains the service payload and may include notes/description, priority, and an inferred pillar.
  2. For each, offer a one-line summary and ask whether to bring it into Dex:
    📥 From [service]: "[title]"
    Import as a Dex task? (yes / skip / [pillar] [priority])
  3. On confirmation (or pillar/priority provided), call create_task with:
    • title: from the item
    • on_duplicate: "fail" (skip if already exists)
    • pillar: user-specified, otherwise raw.pillar (the sync step fills this in from an automatic pillar guess when inference succeeds). If it is absent, ask the user to choose a valid pillar before calling create_task
    • priority: user-specified, otherwise a valid P0-P3 value from raw when present
    • context: notes/description/context from raw when present
    • external_service: the item's service
    • external_id: the item's external_id
    • Do not pass the integration name as source; source is reserved for a vault-relative source page, while the external mapping records provenance
    • Passing both external fields makes task creation and mapping one operation, so a sync cannot push the newly accepted task back to the originating service
  4. On "skip": leave the item in the queue so it can be reviewed later

Silent when empty: if inbound-tasks.json doesn't exist or is empty/[], skip this step entirely. Never say "no inbound tasks" — just proceed.


Step 6: Synthesis

Combine all gathered context into actionable recommendations:

Focus Recommendation

Generate 3 recommended focus items based on:

  • P0 tasks (highest weight)
  • Weekly priority alignment (especially lagging priorities!)
  • Meeting prep needs
  • Commitments due

The system should actively recommend, not just list:

"Based on your week progress and today's shape, I recommend focusing on:

  1. Prep for Acme meeting — Priority 2 is lagging and this meeting is critical
  2. Reply to Mike — Commitment due today
  3. Task X from Priority 1 — Keeps momentum on your shipped priority"

Task IDs are mandatory on focus items (completion sync depends on them):

Completion sync (Work MCP update_task_status, which updates every file the task appears in) only finds a line if that single line contains BOTH a - [ ] / - [x] checkbox AND the task's ^task-YYYYMMDD-XXX anchor. A focus item written without the ID — or with the ID on a different line — is invisible to sync: ticking the task done in Tasks.md never updates the plan, and marking the plan item done never updates Tasks.md.

So, for each recommended focus item:

  1. If it maps to an existing Tasks.md task (search by title/keywords), you MUST write it in the plan as a - [ ] checkbox line with that task's ^task-YYYYMMDD-XXX anchor at the end of the same line. Never omit the ID, never put it on its own line.
  2. If it's real work with no Tasks.md entry yet, create the task first via Work MCP create_task, then embed the returned task ID the same way.
  3. Only if it isn't a task at all (e.g. "protect the 2-4pm free block") may the line omit an ID — and then it gets no checkbox either, so it can't masquerade as a syncable task.

Format notes that matter: use - [ ] (dash checkbox), not 1. [ ] — numbered checkboxes do not contain the literal - [ ] string the sync matcher looks for, so they never sync even with an ID present.

Meeting Prep (Enhanced)

For each meeting, show:

  • Who's attending + People/ context
  • Related project status
  • Outstanding tasks with attendees
  • Suggested prep time and what to prepare
Heads Up (Enhanced)

Flag potential issues:

  • Weekly priorities with no activity (midweek warning)
  • Commitments due today
  • Back-to-back meetings
  • P0 items with no time blocked
  • Deep work tasks with no suitable slot this week
  • Invitees who have not accepted — never the organiser. Calendar APIs often leave the organiser as Pending, Unknown, or needsAction. Treat is_organizer: true, Google organizer: true / organizer.email matching that person, and the user themselves when they organised the meeting (is_current_user / self plus organiser) as having accepted. Do not write "has not accepted" for them.

Step 7: Generate Daily Plan

ALWAYS generate and save a new plan file. Never skip generation because a plan from a previous day exists in the conversation or vault. Even if context from a prior plan is visible, today is a new day and requires its own plan. If a plan for today's date already exists, overwrite it (the user is requesting a refresh).

Filling in {{^task-id}} in Today's Focus: replace it with the item's real ^task-YYYYMMDD-XXX anchor per the Task IDs rule in Step 6 (mandatory whenever the item maps to a Tasks.md task — create the task first if needed). If the item is not a task at all, drop both the placeholder and the - [ ] checkbox for that line.

Daily plan folder. Default for a new vault is 00-Inbox/Daily_Plans/. If System/folder-paths.yaml has daily_plans:, write there. If dated YYYY-MM-DD.md daily plans already live in one other folder, keep using that folder — do not move those files and do not start a second copy in the inbox. New vaults with no existing plans use 00-Inbox/Daily_Plans/.

Create {daily-plan-folder}/YYYY-MM-DD.md (default 00-Inbox/Daily_Plans/YYYY-MM-DD.md):

markdown
---
date: YYYY-MM-DD
type: daily-plan
integrations_used: [calendar, tasks, people, work-intelligence]
---

# Daily Plan — {{Day}}, {{Month}} {{DD}}

## TL;DR
- {{1-2 sentence summary including week progress}}
- {{X}} meetings today, day is {{stacked/moderate/open}}
- {{Key focus area based on week priorities}}

---

## 📊 Week Progress (Midweek Check)

**Day {{X}} of 5** — {{days_remaining}} days left this week

| Priority | Status | Notes |
|----------|--------|-------|
| {{Priority 1}} | ✅ Complete | Finished {{day}} |
| {{Priority 2}} | 🔄 In progress | {{X}} of {{Y}} tasks done |
| {{Priority 3}} | ⚠️ Not started | Needs attention |

**This week's focus:** {{Recommendation based on lagging priorities}}

---

## 📅 Today's Shape

**Day type:** {{stacked/moderate/open}} ({{X}} meetings, {{Y}} hours)

**Free blocks:**
- {{Time range}}: {{Size}} — {{Recommended use}}

**Best for:** {{Quick tasks only / Medium tasks / Deep work opportunity}}

---

## ⚡ Commitments Due Today

- [ ] {{Commitment}} — from {{source}}
- [ ] {{Commitment}} — from {{source}}

---

## 🎯 Today's Focus

**If I only do three things today:**

- [ ] {{Focus item 1}} — {{Pillar}} *(supports Week Priority #X)* {{^task-id}}
- [ ] {{Focus item 2}} — {{Pillar}} *(supports Week Priority #Y)* {{^task-id}}
- [ ] {{Focus item 3}} — {{Pillar}} {{^task-id}}

---

## 📍 Meetings (with Context)

### {{Time}} — {{Meeting Title}}

**Attendees:** {{Names}}
**Related project:** {{Project name}} ({{status}})
**Outstanding with them:**
- {{Task/commitment}}

**Prep needed:** {{What to review/prepare}}
**Suggested prep time:** {{Block X min before}}

---

### {{Time}} — {{Meeting Title}}

[Repeat for each meeting]

---

## 📋 Task Scheduling

| Task | Effort | Suggested Slot | Reason |
|------|--------|----------------|--------|
| {{Task}} | Deep work | {{Day/time}} | {{Reason}} |
| {{Task}} | Medium | {{Day/time}} | {{Reason}} |
| {{Task}} | Quick | Between meetings | Batch these |

{{If deep work capacity warning}}
> ⚠️ You have {{X}} deep work tasks but only {{Y}} suitable slots this week. Consider protecting time or deferring.

---

## ⚠️ Heads Up

- {{Previous-working-day notes: found YYYY-MM-DD `path` / none for YYYY-MM-DD}}
- {{❄️ Going cold: consequential people/accounts from the cooling feed, when present}}
- {{🔗 Relationships to confirm: suggested typed relationships from the feed, when present}}
- {{Warning about lagging weekly priority}}
- {{Commitment due today}}
- {{Back-to-back meetings}}
- {{Other flags}}

---

*Generated: {{timestamp}}*
*Week progress: {{X}}/{{Y}} priorities on track*

Step 7.5: Push Focus Tasks to Reminders (Dex → iPhone)

After generating the plan, push today's P0 and P1 focus tasks to Apple Reminders for native iOS notifications:

  1. Clear yesterday's items:

    Use: reminders_clear_completed(list_name="Dex Today")
  2. Push today's focus items: For each P0/P1 task in today's focus:

    Use: reminders_create_item(
        list_name="Dex Today",
        title="Task title",
        notes="From Dex daily plan",
        due_date="YYYY-MM-DD"
    )
  3. Confirm silently:

    "📱 Pushed 3 focus tasks to iPhone Reminders (Dex Today)"

If the tool is unavailable or errors: Skip silently — do not surface an error for a feature the user never enabled. (This includes Claude Code running inside the VS Code extension, where macOS never grants Reminders access — see 06-Resources/Dex_System/Calendar_Setup.md.)


Step 8: Track Usage (Silent)

Call the mark_feature_used tool on the dex-analytics MCP server with daily-plan. This ticks the feature's box in System/usage_log.md, which is what /dex-level-up reads to recommend features that have not been tried. It writes locally and sends nothing, so it runs whether or not analytics is enabled.

Analytics (Silent):

Call track_event with event_name daily_plan_completed and properties:

  • meetings_count: number of meetings today
  • tasks_surfaced: number of tasks shown
  • priorities_count: number of priorities

This only fires if the user has opted into analytics. No action needed if it returns "analytics_disabled".


Graceful Degradation

For MCP responses, follow CLAUDE.md's feature_status rendering convention before applying these fallbacks.

The plan works at multiple levels:

Full Context (All MCPs available)
  • Complete week progress, meeting intelligence, scheduling suggestions
  • Maximum "surprise and delight"
Partial Context (Work MCP only)
  • Week progress and task scheduling
  • No meeting context (prompt user to add manually)
Minimal Context (No MCPs)
  • Interactive flow asking about priorities
  • Basic daily note

MCP Dependencies (Updated)

IntegrationMCP ServerTools Used
Calendarcalendar-mcp, or google-workspace-mcp when calendar.provider is googleApple: calendar_get_today, calendar_get_events_with_attendees. Google: list_calendars, get_events
Reminderscalendar-mcpreminders_list_items, reminders_complete_item, reminders_create_item, reminders_ensure_lists, reminders_list_completed, reminders_find_and_complete, reminders_clear_completed
Granolagranola-mcpgranola_get_recent_meetings
Workwork-mcplist_tasks, get_week_progress, get_meeting_context, get_commitments_due, analyze_calendar_capacity, suggest_task_scheduling
Improvementsdex-improvements-mcpsynthesize_changelog, synthesize_learnings, list_ideas
Google Workspacegoogle-workspace-mcpGmail query, email search (if enabled)
Apple Mailapple-mail-mcpLocal full-text mail search (only after mail.apple-search is healthy)
Teamsteams-mcpteams_list_chats, teams_search_messages, teams_health_check (if enabled)

© davekilleen, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/daily-plan of davekilleen/Dex.

  • SKILL.md
  • AGENT_INSTRUCTIONS.md

Open the folder on GitHubat commit d0ffc6b

Compare with similar skills

Daily Plan next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Daily Plan compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Daily Plan this skilldavekilleen/Dex494—~9kAutomated safety check: NotesMIT
Heybasecamp/hey-cli410—~20kAutomated safety check: PassMIT
Lark Todoautumnseasonism/lark-todo138—~5.5kAutomated safety check: PassMIT
At Zentaokairyou/agent-tools178—~4kAutomated safety check: PassMIT
Capture Triagenicepkg/ai-workflow285—~3kAutomated safety check: PassMIT
Tracking Backend WorkerCorrectRoadH/OpenTickly307—~1.2kAutomated safety check: PassAGPL-3.0

Similar skills

  • Hey

    basecamp/hey-cli

    Interact with HEY via the HEY CLI. An agent skill from basecamp/hey-cli.

    410 GitHub stars~20k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Lark Todo

    autumnseasonism/lark-todo

    飞书全平台待办扫描:IM 消息、会议纪要、日程、文档评论、待办审批、我发起的审批、邮件、已有任务八源并行采集,按优先级排序后支持直接处理或建任务。多企业账号自动发现并并行扫描,跨企业合并。用户说'有啥待办'、'@我的消息'、'扫一圈'、'收工检查'、'今天还差啥'、'morning standup'、'daily review' 时触发,连随口'忙不忙'、'有人找我吗'也应触发。同时覆盖多企业…

    138 GitHub stars~5.5k tokensUpdated 5 mo ago
    Productivity & AutomationAuto-check passed
  • At Zentao

    kairyou/agent-tools

    Handle ZenTao (禅道) Bugs and Tasks end to end, including updating or writing back an item after code changes, managing Task status and hours, and reading linked Stories.

    178 GitHub stars~4k tokensUpdated 2 days ago
    Productivity & AutomationAuto-check passed
  • Capture Triage

    nicepkg/ai-workflow

    Processes Drafts Pro captures from the Inbox folder. An agent skill from nicepkg/ai-workflow.

    285 GitHub stars~3k tokensUpdated 8 mo ago
    Productivity & AutomationAuto-check passed
  • Tracking Backend Worker

    CorrectRoadH/OpenTickly

    Update backend timer/time-entry contracts, regressions, and source docs for the timer refactor mission.

    307 GitHub stars~1.2k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Sred Work Summary

    getsentry/skills

    Official

    Go back through the previous year of work and create a Notion doc that groups relevant links into projects that can then be documented as SRED projects.

    1k GitHub starsUsed in 3 repos~1.4k tokens
    Productivity & AutomationAuto-check passed

More from davekilleen/Dex

All 61 skills in this repo
  • Dspy Ruby

    davekilleen/Dex

    This skill should be used when working with DSPy.rb, a Ruby framework for building type-safe, composable LLM applications.

    494 GitHub starsUsed in 1 repo~3.9k tokens
    Auto-check passed
  • Diff Adopt Profile

    davekilleen/Dex

    Adopt a full published Heydex profile by handle ('set me up like @davekilleen').

    494 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Diff Generate

    davekilleen/Dex

    Package one workflow — how you use Dex for a specific job — into a shareable DexDiff methodology doc.

    494 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Creating Agent Skills

    davekilleen/Dex

    Expert guidance for creating, writing, and refining Claude Code Skills.

    494 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Feedback

    davekilleen/Dex

    Report a Dex bug to the Dex team with zero homework — Dex investigates locally, builds a privacy-safe report, shows it to you (or auto-sends if you've chosen that), and tracks the ticket until it's…

    494 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Dhh Rails Style

    davekilleen/Dex

    This skill should be used when writing Ruby and Rails code in DHH's distinctive 37signals style.

    494 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed

Questions about Daily Plan

What does Daily Plan do?

Build today's plan from calendar, tasks, priorities and commitments, with smart scheduling suggestions. Daily Plan is an agent skill from davekilleen/Dex. Build today's plan from calendar, tasks, priorities and commitments, with smart scheduling suggestions.

When should I use Daily Plan?

Daily Plan fits situations like: the user says plan my day; starts the morning.

How do I install Daily Plan in Claude Code?

Run `npx skills add davekilleen/Dex --skill daily-plan -a claude-code`. Or copy the skill folder (.agents/skills/daily-plan in davekilleen/Dex) into .claude/skills/daily-plan in your project. Claude Code loads it when a task matches its description.

How do I install Daily Plan in Codex?

Run `npx skills add davekilleen/Dex --skill daily-plan -a codex`. Or copy the skill folder (.agents/skills/daily-plan in davekilleen/Dex) into .agents/skills/daily-plan in your project. Codex loads it when a task matches its description.

Can I use Daily Plan in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davekilleen/Dex --skill daily-plan -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/daily-plan, .gemini/skills/daily-plan, .github/skills/daily-plan and .opencode/skills/daily-plan in your project.

What does Daily Plan need to run?

Going by SKILL.md and its folder, Daily Plan needs the command-line tools its instructions call (python3) and credentials named GRANOLA_API_KEY. Our summary lists: A credential in GRANOLA_API_KEY.

Does Daily Plan access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Daily Plan safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Daily Plan use?

Daily Plan is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Daily Plan use?

About 9k tokens (SKILL.md is roughly 36k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Daily Plan?

Skills that share tags, products or a category with Daily Plan: Hey (basecamp/hey-cli, 410 stars), Lark Todo (autumnseasonism/lark-todo, 138 stars), At Zentao (kairyou/agent-tools, 178 stars) and Capture Triage (nicepkg/ai-workflow, 285 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Daily Plan?

davekilleen (a GitHub user) maintains it in davekilleen/Dex, which has 494 GitHub stars. The repository holds 61 skills in this directory. The repository was last updated on October 9, 2026.

Source: davekilleen/Dex on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.