---
name: daily-briefing
description: "Gives a quick morning overview of emails, calendar, and Teams activity."
whenToUse: "User asks for a morning briefing or daily summary of emails, calendar, and Teams"
---

# Skill: Daily Briefing

## Description
Gives a quick morning overview of emails, calendar, and Teams activity.

## Channel Fallback Strategy
For both Outlook and Teams, try channels in this order:
1. **Graph** (preferred — fast, structured API access)
2. **Desktop** (fallback — COM/UIA automation, works offline)
3. **Web** (last resort — browser automation, requires login)

If a channel fails (e.g., token error), immediately switch to the next one and retry.
Do NOT stop or report failure until all channels have been tried.

## Steps

1. **Email Summary**
   - Try: `outlook_switch_channel("graph")` → `outlook_go_to_inbox` → `outlook_read_content`
   - If Graph fails: `outlook_switch_channel("desktop")` → retry
   - If Desktop fails: `outlook_switch_channel("web")` → navigate to outlook.office.com/mail/inbox → retry
   - Read the latest 10 emails
   - Summarize: who sent what, flag anything urgent (action required, approvals, incidents)

2. **Calendar Overview**
   - Try: `outlook_calendar` → `outlook_read_content` (or `browser_extract` on web)
   - Same fallback order: Graph → Desktop → Web
   - List today's meetings/events
   - Highlight any conflicts or upcoming meetings in the next 2 hours

3. **Teams Check**
   - Try: `teams_switch_channel("graph")` → `teams_search_navigate("PM Team")` → `teams_read_messages`
   - If Graph fails: `teams_switch_channel("desktop")` → retry
   - If Desktop fails: `teams_switch_channel("web")` → retry
   - Check recent messages in key chats (PM team, etc.)
   - Summarize any unread or @mentions

4. **Output**
   - Present a concise briefing in this format:

```
## 📧 Email (X unread)
- [Urgent] Sender — Subject
- Sender — Subject
- ...

## 📅 Calendar (X events today)
- 10:00 AM — Meeting Name (with Who)
- 2:00 PM — Meeting Name (with Who)
- ...

## 💬 Teams Activity
- Chat Name: Person said "..."
- Chat Name: X new messages
- ...

## ⚡ Action Items
- Reply to X about Y
- Prepare for Z meeting at 2 PM
```
