Block time in your work calendar for personal events

A private busy block in your work calendar for each personal event, so that nobody books over it.

  • On a schedule: Every hour

What it does

The task

Read the events in my Google Calendar personal calendar for the next 14 days. For each event that is not all-day, make sure that my Outlook calendar has an event at the same time with the title 'Busy', marked private. Add buffer minutes before and after the events that have a location. Remove the busy blocks that you made for events that moved or were cancelled. Do not copy titles, guests or notes, and do not change any other event.

  • It works in Google Calendar and Outlook, in the workspace you pick, and signs in with passwords from your Cuiar vault.
  • As a routine it runs every hour (cron 0 * * * *).

What you give it

BlankWhat to giveExample
personal calendarThe name of your personal Google calendarFamily
bufferTravel time in minutes before and after events with a place15

What you get back

An example run with the example values above. Your run uses your own data.

Next 14 days: 6 personal events, 5 busy blocks in Outlook

Added

  • Thu 5 Nov, 8:00 to 9:30: Busy, with 15 minutes of travel time before and after
  • Mon 9 Nov, 17:00 to 18:30: Busy
  • Wed 11 Nov, 12:00 to 13:00: Busy

Removed

  • Fri 6 Nov, 16:00 to 17:00: the personal event was cancelled

Skipped: 1 all-day event on Sat 7 Nov

No titles or guests were copied.

Run it in Cuiar

  1. 01

    Open it

    Click Use in Cuiar on this page. The side panel opens with the task in the composer.

  2. 02

    Fill in 2 blanks

    Type personal calendar and buffer. Tab moves to the next blank.

  3. 03

    Run it, then repeat it

    Run sends it once. To run it every hour, make a routine on cuiar.com/routines or with the CLI below.

As a routine, from the terminal

cuiar routines create "Block time in your work calendar for personal events" --schedule "0 * * * *" --time-zone Europe/Berlin \
  "Read the events in my Google Calendar Family for the next 14 days. For each event that is not all-day, make sure that my Outlook calendar has an event at the same time with the title 'Busy', marked private. Add 15 minutes before and after the events that have a location. Remove the busy blocks that you made for events that moved or were cancelled. Do not copy titles, guests or notes, and do not change any other event."

Run it from your AI agent

Claude Code, Codex, Cursor and other MCP clients reach Cuiar at https://mcp.cuiar.com/mcp. Add the server one time, then ask for the task in plain words, or call create_routine yourself.

1. Add Cuiar to Claude Code

claude mcp add --transport http cuiar https://mcp.cuiar.com/mcp

2. Ask your agent

Use the Cuiar tool create_routine to run my "Block time in your work calendar for personal events" template with personal calendar = Family; buffer = 15.

Setup for other agents: AI agents.

The tool call

{
  "name": "create_routine",
  "arguments": {
    "name": "Block time in your work calendar for personal events",
    "task": "Read the events in my Google Calendar Family for the next 14 days. For each event that is not all-day, make sure that my Outlook calendar has an event at the same time with the title 'Busy', marked private. Add 15 minutes before and after the events that have a location. Remove the busy blocks that you made for events that moved or were cancelled. Do not copy titles, guests or notes, and do not change any other event.",
    "schedule": "0 * * * *",
    "time_zone": "Europe/Berlin"
  }
}
All ops templates
  • Ops

    Send me my agenda and tasks every morning

    Today's meetings with their links and documents, and the tasks that are due, in one e-mail.

    On a schedule: Every weekday at 7:00
    • Google Calendar
    • Asana
    • Gmail
  • OpsAsks first

    Find a meeting time and reply with options

    Three free times from your calendar in a draft reply to each meeting request. You approve each reply.

    On an event: When an e-mail asks you for a meeting
    • Gmail
    • Google Calendar
  • OpsAsks first

    Accept or decline meeting invitations by your rules

    A suggested answer and a reason for each new invitation, with a short note for each decline.

    On an event: When a new meeting invitation arrives
    • Google Calendar
    • Gmail
  • OpsAsks first

    Send a recap and action items after each meeting

    Decisions, owners and due dates from the meeting transcript, in a draft e-mail to the guests.

    On an event: When a meeting with a transcript ends
    • Google Calendar
    • Google Meet
    • Google Docs
    • +1 more: Gmail
  • OpsAsks first

    Prepare a handover before you go on leave

    Open threads, tasks and meetings for your cover in one doc, and a draft out-of-office reply.

    You start it: When you start it
    • Gmail
    • Google Calendar
    • Asana
    • +1 more: Google Docs
  • Ops

    Review your recurring meetings

    Each repeating meeting with its cost in hours, its declines and its agenda, and advice to keep, shorten or cancel.

    You start it: When you start it
    • Google Calendar
    • Google Sheets