Build a personal calendar auto-blocker for one calendar: define habits and tasks in a config file with a name, duration, an ideal time window, a target frequency per week, and a priority. On a schedule, read your calendar's free/busy time for the next week and place holds for unscheduled habits inside their windows, highest priority first. Tag every event the script creates with a distinct marker so it only ever moves or deletes events it made itself — never anything else on the calendar. If a real meeting lands on a hold, move that hold to the next free slot in its window and log the change. Provide a dry-run mode that prints next week's placements as a table before writing anything, and a clear-all command that removes every machine-created hold. Do not build scheduling links, team coordination, or juggling multiple calendars at once — this manages one person's one calendar, and it should never touch or decline an event it didn't create itself.