Files
openclaw-skill/skills/daily-briefing/SKILL.md

86 lines
2.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: daily-briefing
description: 每日早安簡報:整合今日行程、天氣、待辦事項,以繁體中文發送 Telegram 摘要。
triggers:
- "今天行程"
- "早安簡報"
- "今日摘要"
- "daily briefing"
tools:
- web_fetch
- web_search
- exec
- memory
---
# Daily Briefing Skill
## 功能說明
每日自動(或手動觸發)生成早安簡報,讓您一早就能快速掌握今日要務:
1. 🌤️ **今日天氣**:提供氣溫、降雨機率與貼心穿著建議(台灣地區)。
2. 📅 **今日行程**:條列即將到來的會議或活動(來自 `workspace/SCHEDULE.md` 或 Google Calendar
3.**待辦事項**:列出尚未完成的重要任務(來自 `workspace/TODO.md`)。
4. 💡 **今日重點提醒**:標示到期專案或重要事項。
5. 📊 **昨日工作回顧**(選配):簡單總結昨日進度。
## 設定與個人化
為獲得最佳體驗,請在 `workspace/USER.md` 設定您的偏好:
```markdown
## 個人設定
- 城市:台北(用於精準天氣預報)
- 時區Asia/Taipei
- 簡報語言:繁體中文
- 天氣 API Key<openweathermap-api-key>(選配,可提升預報準確度)
```
## 輸出格式範例
```markdown
# ☀️ 早安2026-02-20 週五
## 🌤️ 今日天氣(台北)
**氣溫:** 16-22°C多雲偶晴東北風 2-3 級
💡 **穿著建議:** 早晚微涼,建議帶件薄外套。
## 📅 今日行程
- 09:00 - 📈 週會(視訊)
- 14:00 - 🤝 客戶簡報
- 16:30 - 💻 Code Review
## ✅ 待辦事項3 項)
- [ ] 完成 API 文件
- [ ] 回覆客戶 email
- [ ] 更新 deploy 腳本
## 💡 今日提醒
- ⚠️ SSL 憑證 90 天後到期2026-05-20
- 🎯 本週 sprint 截止日2026-02-21
*新的一天準備好開始了嗎?有什麼想先處理的任務嗎?*
```
## 自動化 Cron 設定
```bash
# 每日 08:00 自動觸發
sudo openclaw cron add \
--name "daily-briefing" \
--cron "0 8 * * *" \
--timezone "Asia/Taipei" \
--session main \
--system-event "請執行 daily-briefing skill生成今日早安簡報並發送到 Telegram"
```
## 擴充Google Calendar 整合
若希望行事曆更即時同步,請在 `workspace/TOOLS.md` 加上:
```
Google Calendar API:
- Service Account: <path-to-credentials.json>
- Calendar ID: primary
```
設定完成後agent 即可透過 Google Calendar API 為您抓取最新行程。