antgly

Daily Briefing

生活服務v1.0.5
作者:antgly更新於 2026-05-17共 6 個版本 · 最新版本釋出於 2026-02-11daily-briefing@clawhub_antgly/daily-briefing
個人計劃#Calendar#Cron#Weather

據 AlphaMoat 統計,截至 2026-10,Daily Briefing 累計下載 8,155 次、獲 6 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 3,403 位,在「生活服務」分類(550 個)中排名第 116 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
8155
星標
6
全站下載量排名
#3,403
全站前 32% · 「生活服務」前 22%
平台累計下載星標評論
ClawHub ↗55704-
SkillHub ↗81556—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

主文描述生成天氣、日程、提醒、生日和可選郵件摘要,並支援定時或對話投遞。相關資料可能包含位置、聯絡人、日程和郵件內容;僅啟用必要資料來源,核對收件渠道,並在傳送前檢查簡報。

資料釋出於 2026-10-27

可以用來做什麼

  • 彙總當天安排和提醒
  • 整理經授權的天氣及生日提示
  • 起草待檢查的簡報內容

什麼時候用

  • 需要把多個已授權來源彙總為每日資訊時
  • 開啟系統許可權或定時/聊天傳送之前確認資料訪問與接收方時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

根據這些獲准的資料來源起草今日簡報,先列出包含的敏感資訊和接收渠道供我確認。

月度資料趨勢

累計下載8155
4153630284512026-05 · 累計下載 44492026-06 · 累計下載 47022026-07 · 累計下載 50332026-08 · 累計下載 51862026-09 · 累計下載 58952026-10 · 累計下載 815526-0526-0926-10
星標6
5662026-05 · 星標 52026-06 · 星標 62026-07 · 星標 62026-08 · 星標 62026-09 · 星標 62026-10 · 星標 626-0526-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。 該技能有同名的其他版本,調整前的資料歸屬當前下載量最大的這一個。

月份累計下載環比星標
2026-108155—6
2026-095895—6
2026-085186+3.0%6
2026-075033+7.0%6
2026-064702+5.7%6
2026-054449—5

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

14 KB · ClawHub v1.0.5
---
name: daily-briefing
description: Generates a warm, compact daily briefing with weather, calendar, reminders, birthdays, and important emails for cron or chat delivery.
metadata: {"openclaw":{"emoji":"🌅","requires":{"os":["darwin"],"bins":["curl","bash"]},"optional_bins":["icalpal","gog","himalaya"]}}
user-invocable: true
---

# daily-briefing

Generates a compact, warm daily message suitable for cron delivery (stdout/chat reply). Always succeeds even with minimal context.
展開全部(共 464 行)

---

## Skill Type: System Skill (Orchestrator Pattern)

This skill uses the **System Skill pattern** for execution on macOS. The agent must:

1. **Never run raw CLI commands** directly (except `curl` for weather).
2. **Always invoke the runner script** to gather data.
3. **Read gathered data from JSON** after the script completes.
4. **Generate the briefing text** using the agent's own capabilities.

**Quick reference:**
```bash
# Invoke data gatherer (waits for completion)
"{baseDir}/skills/daily-briefing/bin/run_daily_briefing.sh"

# Read output
cat /tmp/daily_briefing_data.json
```

---

## Output Contract (STRICT)

**CRITICAL:** Output **only** the briefing text. No prefaces, no explanations, no "Done", no file paths, no tool output, no markdown code fences around the briefing.

### Line 1 Format (Required)

Line 1 **must begin exactly** with the time-appropriate greeting:

```
Good {time_of_day} - Today is {Weekday}, {Month} {D}, {YYYY}. {Skies sentence}.
```

- Use **full month name** (e.g., "February", not "Feb").
- If today is the user's birthday (matched by name in contacts): replace greeting with:
  ```
  🎉 Happy Birthday! Today is {Weekday}, {Month} {D}, {YYYY}. {Skies sentence}.
  ```

### Greeting Selection (Local Time)

| Time Range | Greeting |
|------------|----------|
| 05:00–11:59 | Good morning |
| 12:00–16:59 | Good afternoon |
| 17:00–21:59 | Good evening |
| 22:00–04:59 | Good night |
| Unknown | Good morning (default) |

### Skies Sentence Rules

**If weather is usable:**
```
{Conditions} skies, around {TEMP}°{time_clause}{low_clause}{precip_clause}.
```

- Use **high temp** if reliable → time clause: " this afternoon"
- Otherwise use **current temp** → time clause: " right now"
- If low exists: append `, with a low around {LOW}°`
- If precip chance ≥30%: append `, and a {CHANCE}% chance of {rain/snow/precipitation}`

**If weather is not usable:** Use exact fallback:
```
I can't access weather right now.
```

### Layout Rules

```
{Line 1: Greeting with skies sentence}

{Birthdays section - only if any today or upcoming}

{Calendar events section - only if any}

{Reminders section - only if any}

{Important emails section - only if enabled and any}

{Anchors - only if real priorities from context}

{Closing line - always required}
```

- Always include a **blank line after Line 1**.
- Each section separated by a blank line if present.
- Target **~5–15 lines** depending on enabled integrations.

---

## Vibe and Tone

- **Gentle gift for the day**: warm, calm, compassionate, quietly hopeful.
- **No scolding, no urgency, no productivity pressure.**
- **Telegram-friendly**: short lines, roomy spacing, easy to skim.

---

## System Skill Execution

### Step 1: Check Mode (Interactive vs Cron)

**If interactive AND missing critical info (location/timezone/units):**
- Prompt briefly for missing info before generating briefing.
- Offer toggles for integrations.
- Mention the important emails feature: explain it uses AI-powered semantic analysis to surface actionable emails (transactions, shipments, security alerts, etc.) and can be enabled via `emails.enabled` in config; note iCloud Mail requires an app-specific password (`emails.icloudPassword`).

**If non-interactive (cron/automation):**
- Do NOT ask questions (cron-safe). Use defaults.
- Do NOT create/modify any files.
- Do NOT spawn background tasks/sub-agents.
- **Omit weather** if location is unavailable.

### Step 2: Invoke the Data Gatherer

```bash
"{baseDir}/skills/daily-briefing/bin/run_daily_briefing.sh"
```

- The runner script executes `scripts/daily_briefing_orchestrator.sh`.
- TCC permissions are granted to Terminal.app (or the calling process).

### Step 3: Read the Gathered Data

After the app completes, read:

```
/tmp/daily_briefing_data.json
```

JSON structure:
```json
{
  "generated_at": "ISO timestamp",
  "system": {
    "timezone": "America/New_York",
    "local_time": "2024-02-03T08:30:00",
    "hour": 8
  },
  "config": {
    "location": "New York, NY",
    "units": "C",
    "birthdays_enabled": true,
    "birthdays_lookahead": 14,
    "calendar_google_enabled": true,
    "calendar_icloud_enabled": true,
    "calendar_lookahead": 0,
    "reminders_enabled": true,
    "reminders_due_filter": "today",
    "reminders_include_past_due": true,
    "emails_enabled": false,
    "emails_limit": 10,
    "emails_sort_newest": true,
    "emails_starred_first": true,
    "emails_unread_only": true
  },
  "birthdays": {
    "available": true,
    "user_birthday_today": false,
    "data": [
      {"name": "Jane Doe", "date": "2024-02-03", "days_until": 0},
      {"name": "John Smith", "date": "2024-02-05", "days_until": 2}
    ]
  },
  "calendar": {
    "available": true,
    "data": [
      {"title": "Team standup", "start": "09:00", "end": "09:30", "all_day": false, "date": "2024-02-03", "source": "google"},
      {"title": "Doctor appointment", "start": null, "end": null, "all_day": true, "date": "2024-02-03", "source": "icloud"}
    ]
  },
  "reminders": {
    "available": true,
    "data": [
      {"title": "Pick up prescription", "due": "2024-02-03"}
    ]
  },
  "emails": {
    "available": true,
    "data": [
      {"id": "abc123", "from": "Amazon", "from_email": "[email protected]", "subject": "Your order has shipped", "preview": "Your package is on its way...", "starred": false, "unread": true, "date": "2024-02-03T07:30:00Z", "source": "gmail"},
      {"id": "def456", "from": "Chase", "from_email": "[email protected]", "subject": "Payment received", "preview": "We received your payment of...", "starred": true, "unread": true, "date": "2024-02-03T06:15:00Z", "source": "icloud"}
    ]
  },
  "contacts": {
    "available": true,
    "data": [
      {"name": "Jane Doe", "email": "[email protected]"},
      {"name": "John Smith", "email": "[email protected]"}
    ]
  }
}
```

### Step 4: Fetch Weather (Agent Task)

The agent must fetch weather directly using `curl` (not via orchestrator):

```bash
curl -fsSL --max-time 12 "https://wttr.in/{ENCODED_LOCATION}?format=j1"
```

- **Location:** Use `config.location` from gathered data; if empty/null, weather is unavailable.
- **Retry:** Retry once on failure.
- **If still failing or unusable:** Weather is unavailable; use fallback sentence.

**Parse from JSON response:**
- Conditions: `current_condition[0].weatherDesc[0].value`
- Current temp (C): `current_condition[0].temp_C`
- Current temp (F): `current_condition[0].temp_F`
- High temp (C): `weather[0].maxtempC`
- High temp (F): `weather[0].maxtempF`
- Low temp (C): `weather[0].mintempC`
- Low temp (F): `weather[0].mintempF`
- Precip chance: max of `weather[0].hourly[*].chanceofrain` (as integers)

**Units:** Use `config.units` ("C" or "F"). Default to Celsius if unknown.

**CRITICAL:** Do NOT output raw curl/tool output. Do NOT use wttr.in one-line formats.

### Step 5: Classify Important Emails (Agent Task)

**Only if `config.emails_enabled` is true and `emails.available` is true.**

For each email in `emails.data`, use the agent's own semantic analysis to determine importance.

**Important Email Criteria (any match qualifies):**
- From contacts in the gathered contacts list
- Order shipment notifications
- Receipts for purchases or transaction confirmations
- Incoming/outgoing transaction alerts
- Refund-related messages
- Customer service interactions
- Upcoming subscription renewal notices
- Upcoming payment heads-up notices
- Technical newsletters
- Job application updates
- Messages from recruiters (exclude WITCH-like outsourcing firms)
- Banking alerts
- Calendar invites
- Account security emails (e.g., "your account is locked")
- Shared items (e.g., Google Drive shares)
- Wishlist-related alerts
- Starred/flagged emails (positive signal, not sole determinant)
- Any other contextually important emails

**Exclusions:** The following are **never** important, even if matching other criteria:
- Promotional/marketing emails
- LinkedIn Job Alert emails (LinkedIn message notifications are fine)
- Unsolicited recruiter/job-posting emails and mass hiring notices (e.g., subjects or bodies containing keywords like "hire", "hiring", "job", "position", "onsite", "fulltime", "recruiter", "application", or obvious bulk outreach), unless the sender is in the user's contacts or the message is starred/readily identified as personally relevant.
- Product announcement / product update emails and vendor/platform notifications (e.g., "[Product Update]", release announcements, automatic enablement notices), unless the sender is in the user's contacts or the message is explicitly starred.
- Vendor newsletters, community announcements, and general technical mailing-list posts (e.g., blog posts, release notes, product previews, digests), unless clearly personal or from a contact.

**Failure behavior:** If semantic analysis fails, silently **omit the entire email section**.

**Apply filters and sorting:**
1. Filter by `emails_unread_only` if true
2. If `emails_starred_first` is true, starred emails first
3. Sort by date per `emails_sort_newest`
4. Limit to `emails_limit`

### Step 6: Generate the Briefing

Using all gathered and processed data, compose the briefing text following the Output Contract.

**Section Formats:**

**Birthdays:**
```
🎂 **Birthdays:**
• Today: Name
• Feb 5: Name
```
- Group multiples per date
- Today entries first
- Up to 5 upcoming (excluding today)

**Calendar Events:**
```
📅 **Today's schedule:**
• All-day: Event title
• 9:00 AM: Event title
```
- Single day: "Today's schedule"
- Multi-day: "Schedule" with "Today/Tomorrow/{Month} {D}" labels
- All-day events first, then timed by start
- Up to 3 events per day

**Reminders:**
```
✅ **Reminders:**
• Pick up prescription
```
- Due-today reminders only
- Up to 3 reminders

**Important Emails:**
```
📧 **Emails needing attention:**
• Amazon: Your order has shipped
• Chase: Payment received
```
- Format: `• Sender: Subject (truncated if needed)`

**Anchors:**
- Only if you can **confidently infer 1–3 real priorities** from user-provided context.
- Plain bullets, no heading.
- If not real/uncertain, **omit entirely** (do not invent).

**Closing Line:**
- Required. Use the `quote` field from the gathered JSON data.
- The orchestrator provides a random motivational quote each run.

### Step 7: Output the Briefing

Return **only** the briefing text. Nothing else.

---

## Configuration

Configuration is read from `~/.openclaw/openclaw.json` at path `skills.entries.daily-briefing.config`:

```json
{
  "skills": {
    "entries": {
      "daily-briefing": {
        "config": {
          "location": "New York, NY",
          "timezone": "America/New_York",
          "units": "C",
          "birthdays": {
            "enabled": true,
            "lookahead": 14,
            "sources": ["contacts", "google"]
          },
          "calendar": {
            "enabled": true,
            "lookahead": 0,
            "sources": ["google", "icloud"]
          },
          "reminders": {
            "enabled": true
          },
          "emails": {
            "enabled": false,
            "icloudPassword": "",
            "limit": 10,
            "sortNewest": true,
            "starredFirst": true,
            "unreadOnly": true
          }
        }
      }
    }
  }
}
```

### Configuration Options

| Option | Type | Default | Description |
|--------|------|---------|-------------|
| `location` | string | "" | Location for weather (e.g., "New York, NY") |
| `timezone` | string | system | Timezone (e.g., "America/New_York") |
| `units` | string | "C" | Temperature units: "C" or "F" |
| `birthdays.enabled` | bool | true | Enable birthday tracking |
| `birthdays.lookahead` | int | 14 | Days ahead to show upcoming birthdays |
| `birthdays.sources` | array | ["contacts"] | Sources: "contacts" (iCloud), "google" |
| `calendar.enabled` | bool | true | Enable calendar events |
| `calendar.lookahead` | int | 0 | Days ahead (0 = today only) |
| `calendar.sources` | array | ["google", "icloud"] | Calendar sources |
| `reminders.enabled` | bool | true | Enable Apple Reminders |
| `reminders.dueFilter` | string | "today" | Due date filter: "today", "week", or "all" |
| `reminders.includePastDue` | bool | true | Include overdue/past-due reminders |
| `emails.enabled` | bool | false | Enable important emails feature |
| `emails.icloudPassword` | string | "" | iCloud Mail app-specific password |
| `emails.limit` | int | 10 | Maximum emails to show |
| `emails.sortNewest` | bool | true | Sort newest first |
| `emails.starredFirst` | bool | true | Prioritize starred emails |
| `emails.unreadOnly` | bool | true | Only show unread emails |

---

## Defaults

- **Timezone:** User's local timezone; fallback to **UTC** if unknown.
- **Location:** User's location if present; **omit weather** if unavailable in cron mode.
- **Units:** User's preferred units if known; otherwise **Celsius**.

---

## Dependencies

**Required:**
- `curl` — for weather fetching
- `bash` — for orchestrator script

**Optional:**
- `gog` — `brew install steipete/tap/gogcli` (Google Calendar, Gmail, Contacts)
- `icalpal` — `brew install ajrosen/tap/icalpal` (iCloud Calendar)
- `himalaya` — `brew install himalaya` (iCloud Mail via IMAP)

---

## File Structure

```
daily-briefing/
├── SKILL.md
├── README.md
├── install.sh
├── scripts/
│   └── daily_briefing_orchestrator.sh
└── bin/
    └── run_daily_briefing.sh (created by install.sh)
```

---

## Example Output

```
Good morning - Today is Saturday, February 3, 2024. Partly cloudy skies, around 45°F this afternoon, with a low around 32°F.

🎂 **Birthdays:**
• Today: Jane Doe
• Feb 5: John Smith

📅 **Today's schedule:**
• All-day: Doctor appointment
• 9:00 AM: Team standup

✅ **Reminders:**
• Pick up prescription

📧 **Emails needing attention:**
• Amazon: Your order has shipped
• Chase: Payment received

Take things one step at a time today—you've got this.
```

---

## Cleanup

```bash
"{baseDir}/skills/daily-briefing/bin/run_daily_briefing.sh" --cleanup
```

「生活服務」分類下的熱門技能

育兒大師.Skill生活服務

育兒大師.Skill——0-18 歲全場景家庭養育支援,服務物件是家長。只要使用者的問題涉及孩子(0-18 歲)的養育、健康、行為、情緒、學習或親子關係,即應觸發本技能,無需使用者明確說出「育兒」二字;使用者以「我家孩子」「寶寶」「娃」等開場描述困擾時,同樣觸發。典型話題:育兒/帶娃/寶寶/嬰兒/幼兒/學齡前/青春期/新生兒、發育/里程碑/早教、餵養/輔食/挑食/夜醒/斷奶/睡眠、疫苗/體檢/溼疹/發燒/咳嗽/腹瀉/皮疹/流鼻涕、哭鬧/發脾氣/打人/咬人/說謊/恐懼/焦慮/分離/對抗/頂嘴/撒謊/害羞/抗挫折/修復關係、寫作業/拖延/厭學/考試焦慮/沉迷手機/注意力/過動症、親子關係/二胎/隔代育兒/離異家庭/單親/留守/喪親、ADHD/自閉症/抽動/感統、自傷/抑鬱/霸凌/欺凌/虐待/家暴、性教育/早戀/身體安全、父母自責/原生家庭/代際創傷/情緒崩潰/倦怠/吼孩子後修復、每週培養課表/家庭排程/爸爸陪伴、孩子檔案/成長記錄/評估量表/幼小銜接/入學準備/學習障礙/閱讀困難/性早熟/身高偏矮/超重/咬指甲/產後抑鬱/圍產期情緒/多胞胎/收養/寄養/殘障/聽障/視障/特殊教育/走失/防拐/早教/蒙臺梭利早教/早教班/興趣班/親子閱讀/繪本共讀/識字/拼音/數學啟蒙/英語啟蒙/專注力/自由玩耍/玩具/搶跑/超前學習/依戀/孩子不跟我親/只要奶奶/照顧者更換/重聚/獨屬時間/父職關係/關係修復/關係體檢/家庭治療/感統評測/感覺統合/感統失調/感覺加工/觸覺敏感。

↓ 307.6萬★ 87user_741dc82b
防騙大師.Skill生活服務

防騙大師.Skill:你身邊的生活類防騙專家。 當用戶貼來可疑的簡訊、聊天記錄、郵件、連結、App 或電話轉述,想知道"這是不是騙局"時立即出動,一眼看穿套路;當對話中冒出轉賬、驗證碼、螢幕共享、陌生連結、安全帳戶、冒充公檢法等危險訊號時主動亮劍,及時攔住伸向錢包的手;當用戶想要防騙科普、話術識別或實戰演練時隨時開課,寓教於練。覆蓋刷單返利、殺豬盤、冒充公檢法、冒充客服、虛假投資、釣魚連結、冒充老闆轉賬、資金盤、0元購消費全返等高發騙局,守住每一分血汗錢。

↓ 203.8萬★ 36user_741dc82b
anti-fraud生活服務

防騙大師.Skill:你身邊的生活類防騙專家。 當用戶貼來可疑的簡訊、聊天記錄、郵件、連結、App 或電話轉述,想知道"這是不是騙局"時立即出動,一眼看穿套路;當對話中冒出轉賬、驗證碼、螢幕共享、陌生連結、安全帳戶、冒充公檢法等危險訊號時主動亮劍,及時攔住伸向錢包的手;當用戶想要防騙科普、話術識別或實戰演練時隨時開課,寓教於練。覆蓋刷單返利、殺豬盤、冒充公檢法、冒充客服、虛假投資、釣魚連結、冒充老闆轉賬、資金盤、0元購消費全返等高發騙局,守住每一分血汗錢。

↓ 173萬★ 2user_814dbe54
育兒專家生活服務

0-18歲全場景家庭養育支援系統,覆蓋衣食住行、發育里程碑、行為情緒、症狀就醫、溝通話術、早教學習、危機識別與父母成長,服務家長、孕爸媽、隔代養育者等一切養育人員。當用戶諮詢帶娃、輔食、睡眠、穿衣、出行安全、寫作業、叛逆、健康症狀等問題時使用。不診斷不處方。

↓ 54.3萬★ -user_8b569cc9
parenting-expert生活服務

育兒大師.Skill——0-18 歲全場景家庭養育支援,服務物件是家長。只要使用者的問題涉及孩子(0-18 歲)的養育、健康、行為、情緒、學習或親子關係,即應觸發本技能,無需使用者明確說出「育兒」二字;使用者以「我家孩子」「寶寶」「娃」等開場描述困擾時,同樣觸發。典型話題:育兒/帶娃/寶寶/嬰兒/幼兒/學齡前/青春期/新生兒、發育/里程碑/早教、餵養/輔食/挑食/夜醒/斷奶/睡眠、疫苗/體檢/溼疹/發燒/咳嗽/腹瀉/皮疹/流鼻涕、哭鬧/發脾氣/打人/咬人/說謊/恐懼/焦慮/分離/對抗/頂嘴/撒謊/害羞/抗挫折/修復關係、寫作業/拖延/厭學/考試焦慮/沉迷手機/注意力/過動症、親子關係/二胎/隔代育兒/離異家庭/單親/留守/喪親、ADHD/自閉症/抽動/感統、自傷/抑鬱/霸凌/欺凌/虐待/家暴、性教育/早戀/身體安全、父母自責/原生家庭/代際創傷/情緒崩潰/倦怠/吼孩子後修復、每週培養課表/家庭排程/爸爸陪伴、孩子檔案/成長記錄/評估量表/幼小銜接/入學準備/學習障礙/閱讀困難/性早熟/身高偏矮/超重/咬指甲/產後抑鬱/圍產期情緒/多胞胎/收養/寄養/殘障/聽障/視障/特殊教育/走失/防拐/早教/蒙臺梭利早教/早教班/興趣班/親子閱讀/繪本共讀/識字/拼音/數學啟蒙/英語啟蒙/專注力/自由玩耍/玩具/搶跑/超前學習/依戀/孩子不跟我親/只要奶奶/照顧者更換/重聚/獨屬時間/父職關係/關係修復/關係體檢/家庭治療/感統評測/感覺統合/感統失調/感覺加工/觸覺敏感。

↓ 53萬★ -user_814dbe54
Weather生活服務

用 curl 直接查詢公開天氣服務,取得目前天氣與預報。

↓ 36萬★ 482Peter Steinberger
騰訊新聞生活服務

騰訊新聞 CLI 綜合資訊服務技能。

↓ 23.6萬★ 43u_8c6b225d
同程程心 Tongcheng Chengxin Travel Search生活服務

同程程心—基於同程旅行大模型的線上旅遊搜尋,提供機票、火車票、酒店、度假、攻略、行程規劃、特價票、汽車票、景區門票等即時查詢,官方資料保障,一鍵預訂,旅行更輕鬆愉快。

↓ 11.5萬★ 7tongcheng-ai

資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。