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

1.9 KiB
Raw Blame History

name, description, triggers, tools
name description triggers tools
daily-briefing 每日早安簡報:整合今日行程、天氣、待辦事項,以繁體中文發送 Telegram 摘要。
今天行程
早安簡報
今日摘要
daily briefing
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 設定:

## 個人設定
- 城市:台北
- 時區Asia/Taipei
- 簡報語言:繁體中文
- 天氣 API Key<openweathermap-api-key>(選配)

輸出格式範例

# ☀️ 早安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 設定

# 每日 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 整合

若要連接 Google Calendar在 workspace/TOOLS.md 記錄:

Google Calendar API:
- Service Account: <path-to-credentials.json>
- Calendar ID: primary

然後 agent 可透過 Google Calendar API 抓取今日事件。