Skill: ivangdavila/daily-planner (version 1.0.0)

--- name: Daily Planner slug: daily-planner version: 1.0.0 description: Plan, protect, and execute your day with morning briefings, priority management, calendar blocking, and commitment tracking. metadata: {"clawdbot":{"emoji":"📆","requires":{"bins":[]},"os":["linux","darwin","win32"]}} --- ## Quick Reference | File | Purpose | |------|---------| | `profiles.md` | Configure by user type (exec, freelancer, parent, student, founder) | | `routines.md` | Morning briefing, evening review, weekly planning | | `priorities.md` | Top 3 system, urgent vs important matrix | | `calendar.md` | Time blocking, deep work protection, conflict detection | | `tracking.md` | Commitment tracking, follow-up reminders | ## Storage Data stored in `~/planner/`: - **config** — Profile, energy windows, constraints - **today** — Current day plan (regenerated daily) - **commitments** — Open commitments and follow-ups - **weekly** — Week overview with deadlines - **archive/** — Past plans for patterns ## What the Agent Does | User Says | Agent Action | |-----------|--------------| | "Plan my day" | Generate time-blocked schedule based on priorities and energy | | "What's urgent?" | Filter top 3 from calendar/tasks, show deadline proximity | | "Protect my morning" | Block deep work, defer non-critical, enable DND mode | | "I promised X to Y" | Log commitment with deadline, set follow-up reminder | | "Am I overcommitted?" | Analyze week, flag conflicts, suggest cuts | | "Weekly review" | Summarize done/pending, adjust next week, archive completed | ## Core Loop **Morning (configurable time):** 1. Pull calendar events, pending tasks, open commitments 2. Apply profile rules (energy windows, constraints) 3. Generate Top 3 priorities (what MUST happen today) 4. Produce briefing: 5 bullets max, critical first **During day:** - Track new commitments from conversations - Alert on deadline proximity (48h, 24h, 2h) - Batch interruptions, filter by configured urgency **Evening:** - What got done, what moved forward - Commitments made today logged - Tomorrow's preview See `routines.md` for full workflow details. ## Priority Rules - **Top 3 only** — if user lists >3, force ranking - **Important > Urgent** — deadline pressure ≠ high impact - **Energy match** — hard tasks to peak hours, admin to low-energy - **Buffer mandatory** — never 100% scheduled, leave 20% slack See `priorities.md` for prioritization framework. ## Profile-Based Behavior The agent adapts to user type. On first use, ask or infer profile: - **Executive**: Calendar-driven, meeting prep, delegation suggestions - **Freelancer**: Project-based, deadline tracking, client context - **Parent**: Family-work balance, coordination, contingency plans - **Student**: Academic calendar, exam periods, study sessions - **Founder**: Multi-area tracking, interruption filtering, deep work protection See `profiles.md` for profile-specific behaviors. ## Commitment Tracking Every promise made = logged automatically: - Extract from conversations: "I'll send you X by Y" - Add to commitments file with deadline - Remind before deadline (configurable: 24h, 48h) - Flag overdue until resolved See `tracking.md` for commitment workflow.

path: calendar.md
content: # Calendar Management

## Time Blocking Rules

**Block types:**

| Type | Min duration | Interruptions | Example |
|------|-------------|---------------|---------|
| Deep Work | 90 min | Zero | Strategy, creative, coding |
| Focus | 60 min | Emergency only | Writing, analysis |
| Meetings | 30-60 min | As scheduled | Calls, 1:1s |
| Admin | 30 min | Allowed | Email, messages |
| Buffer | 15 min | Open | Between blocks |

**Never do:**
- Deep work in <60min blocks (not enough ramp-up time)
- Back-to-back meetings without buffer
- Schedule >80% of available time

---

## Deep Work Protection

**Before blocking:**
1. Identify when user's energy peaks (config.md)
2. Check existing calendar for that window
3. If open: block automatically
4. If meeting: suggest moving the meeting

**During deep work:**
- All notifications paused (if agent has control)
- Auto-reply enabled: "In focused work. Responding in X hours."
- Only true emergencies interrupt (production down, family emergency)

**What qualifies as emergency:**
- System/production outage
- Family emergency contact calling
- Meeting with investor/CEO starting in 10min
- Everything else: wait for block to end

**Deep work target by profile:**
| Profile | Target per week | Block size |
|---------|-----------------|------------|
| Executive | 6-8 hours | 90 min blocks |
| Freelancer | 15-20 hours | 2-3 hour blocks |
| Founder | 10-15 hours | 2 hour blocks |
| Student | 20-25 hours (study) | 45 min pomodoros |

---

## Meeting Hygiene

**Before accepting any meeting:**
1. Does this need a meeting or can it be async (email/audio)?
2. Do I need to be there or can someone else represent?
3. Is the agenda clear?
4. Is 30 min enough (default to short)?

**Meeting prep (automatic):**
5 minutes before, agent provides:
- Who's attending + their context (last contact, pending items)
- Agenda or purpose
- What decision/outcome expected

**Meeting patterns to flag:**
- Same recurring meeting with no clear output
- >5 meetings in a day (meeting fatigue)
- Meetings scheduled during deep work blocks
- 60-min meetings that should be 30

**Post-meeting:**
- Log any commitments made
- Send summary if agreed to
- Schedule follow-up if needed

---

## Conflict Detection

**Immediate alerts for:**
- Double-booked time slots
- Meeting during blocked deep work
- Travel time not accounted for
- Multiple deadlines same day

**48-hour lookahead:**
Every evening, check next 48 hours for conflicts.
Alert format: "Tomorrow looks tight: 5 meetings, deadline for X, no buffer between 2-4pm."

**Resolution suggestions:**
- "Move your 11am call to Wednesday where you have a gap"
- "This deadline conflicts with your trip. Suggest completing today instead."
- "You're double-booked at 3pm. Which one is movable?"

---

## Calendar Consolidation

**For users with fragmented calendars:**

Many 30-min meetings scattered = context-switching hell.

**Detection:**
- >4 gaps <45min between meetings
- More than 6 context switches per day

**Suggestion:**
"Your Tuesday has 7 small gaps. Consider batching meetings to mornings and keeping afternoons clear. Want me to suggest a restructure?"

**Ideal day structure:**
```
AM: Deep work block (if not exec profile)
    or Strategic meetings (if exec)
11-12: Admin/email block
12-1: Lunch (protected)
PM: Meetings batched together
    or Deep work (if exec)
Late PM: Wrap-up, tomorrow prep
```

---

## Buffer Management

**Mandatory buffers:**
- 15 min between meetings (travel time, bio break, context shift)
- 30 min before important meetings (prep)
- 30 min after high-stakes calls (decompress, notes)

**No-meeting zones:**
- First hour of day (morning routine)
- Last hour of day (wrap-up)
- Friday PM (buffer for week overflow)

**Agent enforcement:**
If user tries to book meeting in no-meeting zone:
"That's during your protected morning time. Still want to schedule, or move to 10am?"


path: priorities.md
content: # Priority Management

## The Top 3 Rule

Every day has exactly 3 priorities. Not 5. Not 10. Three.

**Why it works:**
- Forces ruthless prioritization
- Fits on one screen, easy to remember
- Creates focus, reduces overwhelm
- Allows celebration when done

**If user lists >3:**
"You listed 7 items. Which 3 MUST happen today? The rest go to tomorrow."

**Criteria for Top 3:**
1. Has deadline today or creates bottleneck for others
2. Moves the needle on biggest current goal
3. Has been pushed 2+ days already (debt must pay)

---

## Urgent vs Important Matrix

```
                IMPORTANT
                    │
        ┌───────────┼───────────┐
        │ Urgent &  │ Important │
        │ Important │ Not Urgent│
        │   DO NOW  │ SCHEDULE  │
URGENT ─┼───────────┼───────────┼─ NOT URGENT
        │ Urgent    │ Neither   │
        │ Not Impt  │           │
        │ DELEGATE  │ ELIMINATE │
        └───────────┼───────────┘
                    │
              NOT IMPORTANT
```

**Quadrant behaviors:**

| Quadrant | What goes here | Agent action |
|----------|----------------|--------------|
| Do Now | Crisis, hard deadlines | Top of list, block time immediately |
| Schedule | Strategic work, planning, relationships | Assign to deep work blocks |
| Delegate | Many meetings, routine requests | Suggest: "Can someone else handle?" |
| Eliminate | Time wasters, fake urgency | Challenge: "What happens if you skip this?" |

**Red flag patterns:**
- Spending >50% in "Urgent Not Important" = someone else's priorities
- Never touching "Important Not Urgent" = reactive mode, no progress on goals
- Too much in "Eliminate" = boundary problem

---

## Energy-Based Scheduling

Tasks have energy requirements. Match to user's rhythm.

**High-energy tasks:**
- Complex problem solving
- Creative work
- Strategic decisions
- Difficult conversations

**Low-energy tasks:**
- Email processing
- Admin/paperwork
- Routine meetings
- Data entry

**Default energy windows:**

| Time | Typical energy | Assign |
|------|----------------|--------|
| 8-11 AM | High (most people) | Deep work, complex tasks |
| 11-12 PM | Medium | Meetings, collaboration |
| 12-2 PM | Low (post-lunch) | Admin, easy tasks, exercise |
| 2-4 PM | Medium (second wind) | Meetings, creative work |
| 4-6 PM | Declining | Wrap-up, planning tomorrow |

**Customization:**
On first use, ask: "When do you feel most focused?" Store in `config.md`.

---

## Deadline Proximity Rules

**Deadline alerts escalate:**
- 7 days out: Add to weekly plan
- 48 hours: Bump priority, ensure time blocked
- 24 hours: Final check — is it on track?
- Same day: Nothing else until done

**Buffer rule:**
Never plan to finish on deadline day. Target: deadline minus 1 day.
- Reason: Unexpected issues, reviews needed, life happens

**Conflict detection:**
Multiple deadlines within 48h? Alert immediately:
"You have 3 deadlines this Thursday. Which is most critical? Start with that today."

---

## Saying No

Most people overcommit because they can't say no. Agent helps.

**Commitment check before accepting:**
1. What time does this require?
2. Is that time actually available this week?
3. Does this align with Top 3 or current goals?
4. What won't get done if you do this?

**Graceful no templates:**
- "I'd love to, but I'm at capacity until [date]. Can we revisit then?"
- "This sounds interesting. Let me check my commitments and get back to you tomorrow."
- "I can't take this on right now. Would [alternative person/date] work?"

**Red flag prompts:**
- "You said yes to 5 new things this week. That's more than you completed."
- "Your calendar is 90% full. One more meeting means something else drops."

---

## Weekly Rhythm

**Monday:** Plan the week, set Top 3 weekly priorities
**Tue-Thu:** Execute, protect deep work blocks
**Friday:** Buffer day — catch up, overflow, weekly review prep
**Weekend:** Off (unless emergency) — recharge for next week

**Quarterly check:**
Every 12 weeks: "Are you making progress on your 3 big goals for this quarter?"
If no: time to reassess, not just plan better.


path: profiles.md
content: # Profile-Based Planning

Each profile has different planning needs. Detect or ask on first use.

## Executive Profile

**Characteristics:**
- Calendar-heavy, meeting-driven days
- Decisions are the deliverable
- Time is scarce, context is critical

**Agent behavior:**
- Prepare meeting context 30min before: attendees, last contact, pending items
- Suggest consolidating fragmented meetings
- Flag if >6 meetings/day — recommend cuts
- Default to NO for new commitments, suggest "let me check tomorrow"
- Optimize for IMPACT of time, not quantity of tasks

**Energy windows:**
- Mornings: strategic decisions, high-stakes calls
- Afternoons: routine meetings, reviews
- Evening: brief async, planning tomorrow

**Red flags:**
- >3 days without deep work block
- Responding to email in real-time (batch instead)
- Every meeting marked "urgent" (escalation fatigue)

---

## Freelancer Profile

**Characteristics:**
- Multiple concurrent projects with different clients
- Flexible schedule but hard deadlines
- Creative work needs flow states

**Agent behavior:**
- Track by PROJECT, not just task
- Add 50% buffer to all time estimates automatically
- Alert before accepting new work if at capacity
- Group admin (emails, invoices) in single daily block
- Never interrupt during deep work blocks

**Energy windows:**
- Peak hours: creative/complex work (protect aggressively)
- Low-energy: admin, emails, client calls
- Variable by day — track and adapt

**Project tracking:**
- Status per project: 🟢 on track / 🟡 risk / 🔴 danger
- Scope creep detector: changes vs original agreement
- Invoice reminder: >15 days unpaid = alert

**Red flags:**
- Planning 8h productive/day (realistic: 5-6h)
- Context-switching every 30min
- Saying yes to everything

---

## Parent Profile

**Characteristics:**
- Split between work and family responsibilities
- Fixed commitments (school, activities) are immovable
- Coordination with partner required

**Agent behavior:**
- Unify calendars: work + school + medical + family
- Family events = BLOCKED in work calendar automatically
- Evening prep reminder: what to prepare for tomorrow
- Contingency plans visible: who's backup if emergency

**Coordination features:**
- Daily summary shared with partner: who does what
- Turn system: this week I do Mon/Wed pickup
- Change alerts: if partner adds something, notify

**Emergency mode (kid sick, urgent meeting):**
- Cancel/postpone non-critical work meetings
- Pre-drafted message to boss
- Find coverage (grandparent/sitter contacts ready)

**Personal time protection:**
- 1h daily non-negotiable after kids sleep
- Weekend morning slot for exercise/hobby
- Alert if >3 days without personal time

---

## Student Profile

**Characteristics:**
- Academic calendar with exams, deadlines, projects
- Part-time work schedule
- Social life matters

**Agent behavior:**
- Track ALL deliverables: assignments, projects, exams
- Staggered reminders: 1 week, 3 days, 1 day before
- Auto-create study blocks when exam added
- Balance ratio: 50% study, 30% work, 20% life (adjust in exam periods)

**Study techniques:**
- Pomodoro blocks: 45min work + 10min break
- Every 3 pomodoros: 30min long break
- Alternate subjects — no 4h straight on same topic
- Track difficult subjects → assign more blocks

**Exam period mode:**
- Activate 2 weeks before exams
- Reduce social, increase study blocks
- Spaced repetition schedule for review
- Post-exam: 1 mandatory rest day

**Red flags:**
- Studying only night before (distribute days earlier)
- Underestimating project time (auto multiply x1.5)
- No breaks scheduled (burnout risk)

---

## Founder Profile

**Characteristics:**
- Multiple areas: product, sales, hiring, fundraising
- Constant context-switching
- Everything feels urgent

**Agent behavior:**
- Morning block: sacred deep work (3h minimum)
- Daily question: "Does this move revenue/product/funding? If not, can it wait?"
- Deviation alert: if 2h in reactive tasks, interrupt
- Default to NO for new commitments

**Multi-area tracking:**
- Weekly dashboard: 3 metrics per area
- Alert by exception: only if >20% deviation from expected
- Context prep before meetings: last contact, pending items

**Interruption management:**
- Response batching: 11h, 16h, 19h (not real-time)
- Urgency filter: production down? investor waiting? → interrupt. Rest? → queue
- Auto-reply during deep work: "Responding in 2h"

**Weekly founder check:**
- "Are you progressing on your 3 quarterly goals?"
- Time audit: how much was reactive vs proactive?
- Next week: what's the ONE thing that matters most?

**Red flags:**
- Saying yes to everything
- Living in inbox
- Meetings without clear purpose
- Not delegating (suggest who can handle X)


path: routines.md
content: # Planning Routines

## Morning Briefing

Run at configured time (default: 7:30 for exec, 8:00 for others).

**Input sources:**
- Calendar events for today
- Open commitments from `commitments.md`
- Pending tasks from previous day
- Emails flagged as "needs decision" (if email access)

**Output format (max 5 bullets):**

```markdown
## Today — [Day], [Date]

🎯 **Top 3:**
1. [Most important outcome]
2. [Second priority]
3. [Third priority]

📅 **Fixed commitments:**
- 10:00 — Call with X (prep: review Q4 numbers)
- 14:00 — Team standup

⚠️ **Deadlines approaching:**
- Project Y proposal — due tomorrow 18:00

💡 **Quick wins available:**
- Reply to Z's email (draft ready)
```

**Rules:**
- Top 3 MUST fit on screen, no scrolling
- Fixed commitments show prep needed
- Deadlines only if <48h away
- Quick wins only if truly <10min

---

## Time-Blocking Process

When user asks "plan my day" or triggered automatically:

**Step 1: Identify constraints**
- Fixed meetings/appointments
- Hard deadlines today
- Energy windows from profile

**Step 2: Assign Top 3 to peak energy**
- Hardest task → best energy block
- Never split deep work <90min
- Always buffer 15min between blocks

**Step 3: Fill remaining time**
- Admin/email in low-energy slots
- Meetings in afternoon (if exec profile)
- Leave 20% unscheduled for unexpected

**Step 4: Validate**
- Total scheduled <80% of available time
- No back-to-back without buffer
- Deep work blocks protected

**Output format:**

```markdown
### Time-Blocked Schedule

**07:00 - 08:00** Morning routine (protected)

**08:00 - 10:00** Deep Work: [Priority 1]
- Focus: [Specific deliverable]
- No interruptions

**10:00 - 10:15** Buffer/transition

**10:15 - 11:00** [Meeting/Call]
- Context: [Who, what, prep needed]

**11:00 - 12:00** [Priority 2 or Admin block]

**12:00 - 13:00** Lunch (protected)

...
```

---

## Evening Review

Run at configured time (default: 21:00).

**Questions to answer:**
1. Did Top 3 get done? (celebrate or understand why not)
2. What commitments did I make today? (log them)
3. What's tomorrow's preview? (reduce morning anxiety)
4. Anything need prep tonight? (uniforms, documents, meals)

**Output format:**

```markdown
## End of Day — [Date]

### Done ✅
- [Completed item 1]
- [Completed item 2]

### Moved to tomorrow ➡️
- [Item that didn't happen + reason]

### New commitments logged
- Tell X about Y by Friday
- Send proposal to Z by Monday

### Tomorrow preview
- 3 meetings, 1 deadline
- Top priority: [Most important for tomorrow]

### Tonight prep
- Pack gym bag for morning workout
```

---

## Weekly Planning

Run Sunday evening or Monday morning (configurable).

**Review section:**
- What got done last week (celebrate wins)
- What kept getting pushed (pattern detection)
- Time audit: reactive vs proactive ratio

**Planning section:**
- Top 3 priorities for the week (not 10)
- Hard deadlines mapped to days
- Deep work blocks scheduled in advance
- Buffer day (usually Friday) for overflow

**Output format:**

```markdown
## Week of [Date Range]

### Last week
- ✅ Completed: [X items]
- ↩️ Pushed: [Y items] — pattern: [mostly admin/meetings/projects?]
- ⏱️ Time split: 60% proactive, 40% reactive

### This week's priorities
1. [Big outcome 1]
2. [Big outcome 2]
3. [Big outcome 3]

### Day-by-day overview
| Day | Focus | Deadlines | Meetings |
|-----|-------|-----------|----------|
| Mon | Deep work AM | - | 2 |
| Tue | Client calls | Proposal due | 4 |
| ... | ... | ... | ... |

### Protected time
- Tue/Thu mornings: deep work
- Friday PM: buffer for overflow
```

---

## On-Demand Routines

**"Am I overcommitted?"**
1. Count meetings this week
2. Count pending deliverables with deadlines
3. Calculate available hours vs required hours
4. Flag if >100% utilization
5. Suggest: what to cut, delegate, or push

**"Clear my afternoon"**
1. List what's scheduled
2. Identify what can move (not hard deadlines)
3. Suggest: "Move X to tomorrow, cancel/async Y"
4. After approval: reschedule and draft notifications

**"What did I promise this week?"**
1. Pull all commitments from `commitments.md`
2. Filter by deadline = this week
3. Show: who, what, when due
4. Flag: any at risk?


path: tracking.md
content: # Commitment Tracking

## What Gets Tracked

Every promise or commitment made in conversation:

**Trigger phrases:**
- "I'll send you..."
- "Let me get back to you..."
- "I'll check on that..."
- "I promised to..."
- "Can you remind me to..."
- "I need to tell X about Y"

**Extracted data:**
| Field | Example |
|-------|---------|
| What | Send proposal |
| To whom | Client X |
| By when | Friday 5pm |
| Context | Follow-up to meeting |

---

## Storage Format

In `~/planner/commitments`:

```markdown
## Open Commitments

### Due This Week

- [ ] **Send proposal to Client X** — Due: Fri 17:00
  - Context: Follow-up to Tuesday meeting
  - Status: Draft started

- [ ] **Reply to investor email** — Due: Thu EOD
  - Context: Questions about metrics
  - Status: Need to pull data first

### Due Next Week

- [ ] **Review contractor's work** — Due: Mon 15th
  - Context: Website redesign phase 1
  - Status: Waiting for their delivery

### No Deadline (but promised)

- [ ] **Coffee with Maria** — Promised: 2 weeks ago
  - Context: Networking, she reached out
  - Action: Propose specific dates

---

## Completed (last 7 days)

- [x] ~~Send onboarding docs to new hire~~ — Done: Wed
- [x] ~~Call back the accountant~~ — Done: Tue
```

---

## Reminder System

**Automatic reminders:**

| Time before deadline | Action |
|---------------------|--------|
| 1 week | Include in weekly planning |
| 48 hours | Add to daily briefing |
| 24 hours | Explicit reminder: "Tomorrow: X due" |
| 2 hours | Final alert: "X due in 2h, is it ready?" |
| Overdue | Flag daily until resolved |

**Overdue handling:**
Don't nag constantly. Daily morning briefing includes:
"Overdue: 2 items. [Show them]. Update status or mark done?"

---

## Follow-up Tracking

For things waiting on others:

**Trigger phrases:**
- "I'm waiting for X to..."
- "Ball's in their court"
- "They said they'd get back to me"
- "Sent, waiting for response"

**Follow-up rules:**
- After 72h with no response: "Want me to draft a follow-up?"
- After 1 week: "X hasn't replied. Priority: high/low?"
- Passive mode: just track, don't prompt (for low-priority)

**Storage in commitments file:**

```markdown
### Waiting On Others

- [ ] **Response from Client Y on proposal** — Sent: Mon
  - Follow-up if no reply by: Thu
  - Status: ⏳ waiting
```

---

## Commitment Patterns

Track over time to identify issues:

**Metrics to monitor:**
- How many commitments made per week
- What % completed on time
- What topics keep getting pushed (pattern)
- Who you make most commitments to

**Weekly insight:**
"You made 12 commitments last week, completed 8. The 4 pushed were all admin tasks. Consider batching admin or delegating."

**Overcommitment alert:**
If open commitments > historical average + 50%:
"You have 15 open commitments. Your average is 10. This week might be unrealistic."

---

## Integration with Daily Planning

**Morning briefing includes:**
- Commitments due today (must complete)
- Commitments due tomorrow (last chance to prep)
- Overdue items (need attention)

**Evening review includes:**
- New commitments made today (confirm logged)
- Tomorrow's commitments (preview)

**Weekly planning includes:**
- All commitments for the week
- Conflict detection with calendar
- Suggest: which to do when


Security scan verdicts — ClawScan: suspicious | static analysis: clean | VirusTotal: suspicious | SkillSpector: suspicious (CRITICAL)