What you’ll see
- Next up: the meeting you’re in, counting down to its end, or else the next one, counting down to its start. Under the count is how long it lasts and where it is. A Join button opens the call when the event has a Zoom, Google Meet, Microsoft Teams, Webex, FaceTime or similar link in its URL, location or notes. All-day events don’t count here, so a holiday never pushes your next meeting off the card.
- The month, with today filled in and a dot in each calendar’s colour on the days that have events. The arrows beside the month’s name page up to a year either way.
- The week ahead, under the grid: today and the six days after it, leaving out days with nothing on. Seven events show, with Show more for the rest, which also brings back today’s finished ones. A line marks now, and each row has its calendar’s colour and a Join button when it has a call link. Click another day in the grid to list the week from there.
- New Event, in the month’s corner, opens a form in the panel. It starts at the current time, or on the day you’ve clicked. Add saves the event to Calendar.
Events you’ve declined, and cancelled events, are left out. Times show in your Mac’s time zone, so on a trip they move with you.
Status
Nothing counts as a problem: a busy day isn’t a problem, so meetings never turn anything orange.
How it connects
There are no requests over the internet. Legato reads the calendars through macOS’s EventKit, on your Mac.
| What | When | What it supplies |
|---|---|---|
A calendar source with "window": "month" | Within seconds of any change in Calendar, when an event starts or ends, at midnight, and at least every 5 minutes | The next meeting, and every event in the six weeks the grid shows and the 30 days after them. The source reads more when you page to another month. |
The first time the page opens, the Next up card asks for Calendar access, with Allow Calendar Access. If you’ve turned access off, it offers Open Privacy Settings instead. Legato never asks at launch.
Set it up
- Add the page. Use Install in Legato, paste the prompt into your agent, or download the page and run
/Applications/Legato.app/Contents/Helpers/legato set calendar calendar.json. - Allow Calendar access from the Next up card.
If you already have a page with the ID calendar, Install in Legato adds this one beside it as a copy and leaves yours alone.
Only some calendars
The page reads every calendar on your Mac, including subscribed ones like holidays or sports. To show only some, add calendars to the source with their names as Calendar shows them:
"calendar": { "kind": "calendar", "window": "month", "every": "5m", "calendars": ["Work", "Family"] }Two calendars with the same name are both read.
Prompt for your agent
Add a Legato page for Calendar, starting from https://legatobar.com/examples/calendar.json.
Add the page as it is, keeping its page ID. Don’t add, change or delete any events to test it. I’ll allow Calendar access from the page myself.
Use the local Legato MCP tools or /Applications/Legato.app/Contents/Helpers/legato.
Use list_pages first and choose an unused page ID. Do not overwrite an existing page. If I explicitly ask to update one, read its full body with get_page, preserve unrelated cards and settings, and use if_match with that version. On version_mismatch, read again before merging.
Ask me only for non-secret setup details that are missing. Never ask me to paste a password, token or API key into chat, page JSON or command arguments. Tell me to save it in Settings → Secrets for the service host, or link it from 1Password there.
Use the downloadable page, not the illustration’s sample data. Never invent readings. Fix any invalid_page paths and verify that the page loads. Do not press buttons that change the service or real devices to test it.Download the page
Show the page’s JSON 95 lines
{
"$schema": "./.schemas/page.schema.json",
"title": "Calendar",
"icon": "calendar",
"sources": {
"calendar": {
"kind": "calendar",
"window": "month",
"every": "5m"
}
},
"cards": [
{
"id": "up",
"type": "countdown",
"label": "Next up",
"at": "2026-01-01T00:00:00Z",
"source": {
"ref": "calendar",
"map": {
"label": "up.title",
"at": "up.at",
"detail": "up.detail"
},
"empty": {
"when": {
"path": "has_up",
"equals": false
},
"text": "No timed events coming up"
}
},
"actions": [
{
"kind": "open",
"label": "Join",
"icon": "video.fill",
"url": "{up.join}",
"prominent": true,
"when": {
"path": "up.has_join",
"equals": true
}
}
]
},
{
"id": "month",
"type": "month",
"days": 7,
"hide_empty_days": true,
"max_events": 7,
"items": [],
"source": {
"ref": "calendar",
"map": {
"items": {
"each": "agenda",
"limit": 300,
"fields": {
"title": "title",
"start": {
"if": {
"path": "all_day",
"equals": true
},
"then": "start_date",
"else": "start"
},
"end": {
"if": {
"path": "all_day",
"equals": true
},
"then": "end_date",
"else": "end"
},
"detail": "location",
"url": "join",
"color": "color"
}
}
}
},
"actions": [
{
"kind": "add-event",
"label": "New Event",
"icon": "calendar.badge.plus"
}
],
"actions_placement": "corner"
}
]
}Questions
Can the page change my calendars?
Only when you press Add in the New Event form. Nothing else on the page writes to Calendar. Join opens the meeting’s link in your browser or its app.
Does it follow the calendars I’ve turned off in Calendar?
No. The checkboxes in Calendar’s sidebar only change what Calendar draws. Legato reads every calendar unless the source lists the ones you want, as above.
Why isn’t an invite I said Maybe to marked?
The page doesn’t say how you answered an invite. Every event you haven’t declined shows the same way.
Can I see more days under the grid?
Change the month card’s days to any number up to 30, and max_events to how many events to show before Show more. The source already reads 30 days past the grid.