Skip to content
REPORT

Automate Your Morning Brief in One Screen

·5 min read
Automate Your Morning Brief in One Screen
On this pageAutomate Your Morning Brief in One Screen0%
  1. Automate Your Morning Brief in One Screen
  2. The cost of a scattered morning
  3. What belongs on a morning brief
  4. Pull yesterday's done tasks
  5. Fold in today's calendar and recent commits
  6. Render it to one screen
  7. Schedule it and forget it
  8. Related reading

Automate Your Morning Brief in One Screen

A morning brief is a single view that pulls yesterday's completed tasks, today's calendar, and your recent code commits into one screen, so you start work without digging through five apps. Instead of opening a task manager, a calendar, email, a chat tool, and your terminal to reconstruct where you left off, you glance once and begin. This post shows how to build that brief and schedule it to appear before you sit down.

The cost of a scattered morning

Most mornings start with app-hopping. You open the task manager to see what is left, the calendar to check your first meeting, chat to catch overnight messages, and your editor to remember what you were mid-way through. Each switch costs attention. Research on task switching consistently shows a reorientation penalty every time you change context, and a scattered morning stacks five or six of those penalties before real work begins.

The fix is not another app. It is consolidation. A morning brief collapses the "where am I?" question into one artifact you read in under a minute.

What belongs on a morning brief

Keep the brief short. If it scrolls, it has become another inbox. A useful brief answers three questions:

  • What did I finish yesterday? This gives momentum and confirms nothing is silently stuck.

  • What is fixed on my calendar today? Meetings and deadlines set the hard edges of your day.

  • Where was I in the code? The last few commits remind you of the exact thread to pick back up.

Leave out anything you cannot act on before lunch. No vanity metrics, no full email dump, no backlog. The brief is a launchpad, not a report.

Pull yesterday's done tasks

Most task managers expose an API. Todoist, Things (via its URL scheme and local database), Linear, and Notion all let you query completed items by date. The pattern is the same across tools: request items with a completion date equal to yesterday, then keep only the title and project.

Here is the shape of it against a generic REST task API:

YESTERDAY=$(date -d 'yesterday' +%Y-%m-%d)
curl -s -H "Authorization: Bearer $TASK_TOKEN" \
  "https://api.example-tasks.com/completed?since=${YESTERDAY}" \
  | jq -r '.items[] | "- " + .content'

Store the token in an environment variable, never in the script. The output is a plain bullet list you can drop straight into the brief.

Fold in today's calendar and recent commits

For the calendar, most providers publish a private ICS feed. Fetch it, filter to today, and print start times with titles. A small Python or Node script that parses the feed is more reliable than scraping a web view.

For commits, git already has everything you need. Point it at the repositories you touched and ask for yesterday's log:

git -C ~/projects/myapp log --since=midnight.yesterday --until=midnight \
  --pretty=format:'- %s' --author="$(git config user.email)"

Run that across a short list of active repos and concatenate the results. Now you have three blocks: done tasks, today's schedule, and recent commits.

Render it to one screen

The rendering target should match where you actually look first each morning. Three options work well:

  • Terminal: print the brief on shell startup or with a single alias. Fastest for developers who live in a terminal.

  • A note: write the brief into your notes app as a dated entry. Good if you plan the rest of your day there.

  • A simple webpage: write an HTML file and open it, or serve it locally. Best if you want links you can click.

Whatever the target, the script's job is the same: gather the three blocks, format them as Markdown or HTML, and write to one destination. Keep the styling minimal. This is a working document, not a dashboard product.

Schedule it and forget it

The brief only helps if it is ready before you are. On macOS or Linux, a cron entry that runs at 6:30 generates the file so it waits for you:

30 6 * * 1-5 /home/you/bin/morning-brief.sh > /home/you/brief.md

On a Mac you can also trigger it from a Shortcuts automation tied to your alarm, or a launchd agent if you prefer native scheduling. The point is that you never run it by hand. It appears, you read it, you start.

Once it runs for a week, tune it. If a section is always empty, drop it. If you keep opening a fourth app anyway, add that source. A morning brief is a personal tool, so the right version is the one you actually read.

This brief is one piece of a larger habit. If you want the recurring version of the same idea at a weekly cadence, see how to automate your weekly review in ten minutes. And if you are wiring several of these scripts together, the approach in building a personal automation stack in a weekend covers how to keep them maintainable.