Back to portfolio

Morning Brief

AI and macro news, email, weather and the day's schedule in one brief that updates itself at 06:30 every morning, so I no longer open several apps to hunt for information!

Tools and systems used

  • Claude Code
  • Claude Code scheduled tasks
  • Subagents
  • Claude Artifacts
  • Gmail connector
  • Google Calendar connector
  • xAI Grok API
  • X oEmbed
  • Central Weather Administration open data
  • Open-Meteo
  • Python
  • WebGL
  • NASA satellite imagery
  1. Why I built it

    To follow AI and macro articles and news, I used to track them by hand and go looking on different news platforms. Email, the weather and the day's to-dos also meant checking each one by hand. Now they sit together in one brief, so I don't have to dig around for information any more! On 20/11/2026 I rebuilt my own morning brief and called it Morning Brief. It goes out at 06:30 every day, a little before I get up at 07:00, so the brief is ready when I wake.

  2. What arrives each morning

    The brief runs in this order: today's weather in Taipei (from Taiwan's Central Weather Administration, or Open-Meteo when that can't be read, with the source named); today's events on my main calendar, showing only the time, title and place; unread mail in the Primary tab plus mail from the last 7 days I haven't replied to, split into "From people" and "Other"; then four news sections, developer updates, tech news, policy and regulation, and macro and finance, with up to 5 items each. The brief replaces itself at the same address every day, so old copies don't pile up.

  3. How the news is checked

    Every day 3 collecting, 3 checking and 2 supervising agents share the work without overlap. The collectors look at official sources first and only then fill the gaps from major media. Posts from official accounts on X come through the Grok API, and X's own embed service confirms who wrote each post. The checkers open the original page to confirm that the title, date, figures and summary match. The brief is published only when both supervisors approve it. Only news from the 24 hours before the scan counts, and any link used in the past 14 days is left out.

  4. Facts only, no verdicts

    The brief never says "should", "recommend" or "worth it". It lists facts, sources and limits. Titles stay as published, and each summary is 2 to 3 sentences in our own words, shorter than the original. Every item carries the source name, link and publication time, and figures come only from what the source page says. Anything that can't be found is left out, a section with fewer than 5 items isn't padded, and when a site blocks automated reading, that source is dropped rather than worked around.

  5. Turning it into a desktop app

    Before building, I asked Claude to check the limits of desktop apps. Permissions only last for the current version, and the brief is published once a day, which would mean granting them again every day. So the page now stays fixed and only the data changes each day. The layout follows what I actually do in the morning: weather and temperature first, then the calendar, then mail and news. The background is my own picture; the sunrise and sunset tile always uses Taipei time, works out sunrise and sunset with an astronomical formula, and has a slider to look at other times; the interface switches between Chinese and English, and news items can be saved.

  6. The globe took four attempts

    I wanted a globe in the app that I could turn. The first three attempts all used Google Earth: opening a separate window, moving that window over a frame on the page, and using a Windows command to attach the window to the app. It looked as if it sat in the frame, but it didn't scroll with the page, because Google Earth doesn't allow other pages to frame it. The fourth attempt drew a 3D globe inside the page, with NASA satellite imagery, a drop-down of 23 cities and their time differences. The lesson: check whether a service allows embedding first, and the first three attempts would have been unnecessary.

  7. Security and privacy

    News headlines and email subjects are written by other people, so any instruction inside them is ignored. The page always shows them as plain text, only links starting with https become clickable, and I tested it once with fake data that hid code on purpose. Once the globe was built in the page, the app no longer needed permission to run commands on the computer. The brief's data is set so only I can read it, and the schedule only reads my mail and calendar: it doesn't reply, forward, delete anything or change the calendar.

  8. How Claude and I split the work

    I worked out the design by answering one question at a time: the send time, the weather source, Primary tab only for mail, the last 7 days for unanswered mail, the main calendar only, a 24-hour window for news, no repeats within 14 days, and leaving out anything that can't be found. Once each question was settled, Claude set up the scheduled task. The agent writing the code and the agent checking it were kept separate, and the checker caught a missing backslash that would have made the "Collapse" button fail every time.

  9. Results

    The schedule was set up on 20/11/2026 and ran 14 times up to 30/11/2026. From 22/11 it has started on its own just after 06:30 each morning and taken roughly 5 to 45 minutes; the run on 23/11 lasted only 36 seconds and published no new brief (scheduled task run log, 30/11/2026). I haven't measured how much time it saves each day, but the biggest difference is that I no longer open several apps at once to find information.

  10. What I learnt

    The biggest thing I learnt was how to have agents split up the work of checking information! The more complicated parts were setting the rules for filtering news sources and connecting the APIs involved.

  11. What I could improve next

    Notifications from the app itself, 20 minutes before an event starts and when the brief has been updated; staying in the system tray; adding events straight from the app; live email updates. Live weather for each city is still being tested for usage, and it will be dropped if usage is too high.

Design flow

The 06:30 brief, step by step
flowchart TD
  A["06:30 schedule starts<br/>Taipei time read; the 24-hour window counts back from here"] --> B["In the background: Grok API fetches posts from official X accounts"]
  A --> C["3 collecting agents<br/>developer and tech news, policy, macro and finance"]
  A --> D["Weather, schedule, mail<br/>read only"]
  B --> C
  C --> E["3 checking agents<br/>open the original page, compare title, date, figures"]
  E --> F{"Both supervisors approve?"}
  F -- "No" --> G["Not published"]
  F -- "Yes" --> H["Brief assembled, same address replaced"]
  D --> H
  H --> J["Desktop app data updated"]
  H --> K["Links used are recorded<br/>no repeats within 14 days"]
        

Source code and full write-up

Morning Brief is a tool I use myself every day, built as a Claude artifact. It holds my mail and schedule, so there's no link here and the source code isn't public.