---
name: daily-brief
description: Assemble a short morning briefing (calendar, urgent items, one topic digest) and send it to the user.
version: 1.0.0
metadata:
  hermes:
    tags: [personal, scheduling, digest]
    category: personal
    config:
      - key: brief.channel
        description: "Where to deliver the briefing (e.g. telegram, the CLI, email)."
        default: "telegram"
        prompt: "Which channel should the daily brief go to?"
      - key: brief.topic
        description: "One topic to include a short digest about."
        default: "AI agents"
        prompt: "What topic should the daily digest cover?"
---
# Daily brief

## When to use
Run on a schedule (e.g. every weekday at 07:00) to give the user one concise briefing
before the day starts, so they don't open five apps. Also runs on demand: "give me my brief."

## Procedure
1. Gather today's calendar events (next 12 hours). If no calendar tool is connected, say so and skip this line.
2. Pull anything the user has flagged as urgent or anything in memory marked `priority`.
3. Write one short digest (3–5 bullets) on `brief.topic` from a quick web search.
4. Assemble a single message, in this order: **Today** (calendar) · **Needs you** (urgent) · **Digest** (topic).
5. Send it to `brief.channel`. Keep the whole thing under ~150 words — a glance, not a report.

## Pitfalls
- Don't invent calendar events or urgent items. If a source is empty, write "nothing flagged" — never pad.
- Don't send more than once per scheduled run. If the run is manual, label it "(on-demand)".

## Verification
The user receives exactly one message, under 150 words, with the three labelled sections —
and every line traces to a real source (no fabricated entries).
