From 5718676166a65fcd45ea8a28b06a854a7dfed73d Mon Sep 17 00:00:00 2001 From: Connor Rhodes Date: Thu, 23 Apr 2026 11:47:08 +0000 Subject: [PATCH] Update daily-briefing skill: add audio overview mode and dictations integration --- daily-briefing/SKILL.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/daily-briefing/SKILL.md b/daily-briefing/SKILL.md index d05e392..f491c00 100644 --- a/daily-briefing/SKILL.md +++ b/daily-briefing/SKILL.md @@ -17,6 +17,8 @@ One command to start the day. Pull tasks, review the daily note, check gratitude Run this at the start of your day. +**Audio overview mode:** If Connor asks for an audio briefing, "audio overview," or "morning brief as audio," produce the briefing as spoken-word audio using the [audio-summary](~/.openclaw/skills/audio-summary/SKILL.md) skill instead of text. Write the briefing to a temp file, generate the MP3 with edge-tts (en-US-AvaNeural, --volume=-90%), and deliver via `MEDIA:` + `[[audio_as_voice]]`. Also include a short text summary alongside the audio. Clean up temp files after. + ## Instructions ### Step 1: Gather data @@ -24,11 +26,17 @@ Run this at the start of your day. Run these in parallel: - `vik t up 0` to get tasks active as of today from Vikunja - Read today's daily note at `~/notes/dn_YYMMDD.md` (where YYMMDD is today's date) +- Read yesterday's daily note at `~/notes/dn_YYMMDD Yesterday.md` for any "what I should do today" or planning context - Read the weekly note (see Step 4 for filename logic) +- Query yesterday's dictations from MongoDB (`notes.dictations`) for any planning or priority notes -### Step 2: Deduplicate tasks +**Dictations query:** Use the MongoDB skill. Query documents where `created_at` starts with yesterday's `YYMMDD` prefix. Read the `content` field of any dictations that mention tomorrow's plans, priorities, or tasks. Surface these in the briefing as a separate section ("Voice note priorities" or similar). -Combine tasks from Vikunja and the daily note's "target tasks" and "I could also" sections into a single list. +### Step 2: Combine and deduplicate + +**Sources:** Vikunja tasks, today's daily note (target tasks + "I could also"), yesterday's daily note (forward-looking plans), and yesterday's dictations (planning notes). + +Deduplicate all sources into a single task/priority list. **Deduplication rules:** - If a daily note task contains a Vikunja link like `https://tasks.connorrhodes.com/tasks/XXX`, match on that task ID against the Vikunja output