forked from Selig/openclaw-skill
Initial commit: OpenClaw Skill Collection
6 custom skills (assign-task, dispatch-webhook, daily-briefing, task-capture, qmd-brain, tts-voice) with technical documentation. Compatible with Claude Code, OpenClaw, Codex CLI, and OpenCode.
This commit is contained in:
85
skills/daily-briefing/SKILL.md
Normal file
85
skills/daily-briefing/SKILL.md
Normal file
@@ -0,0 +1,85 @@
|
||||
---
|
||||
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>(選配)
|
||||
```
|
||||
|
||||
## 輸出格式範例
|
||||
|
||||
```
|
||||
☀️ **早安!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 整合
|
||||
|
||||
若要連接 Google Calendar,在 workspace/TOOLS.md 記錄:
|
||||
```
|
||||
Google Calendar API:
|
||||
- Service Account: <path-to-credentials.json>
|
||||
- Calendar ID: primary
|
||||
```
|
||||
|
||||
然後 agent 可透過 Google Calendar API 抓取今日事件。
|
||||
Reference in New Issue
Block a user