<< Home | Family
Unified multiple calendars into one shared schedule
| Area | Family |
| AI used | Claude |
| Source | Reddit comment |
| Posted | 2026-09-30 |
The move
Build a containerized script that syncs multiple iCal feeds into a single Office365 calendar while deduplicating events.Steps
- Collect all relevant iCal subscription links.
- Ask Claude to write a Python script that fetches these feeds and pushes them to an Office365 calendar.
- Implement logic in the script to generate unique keys for events to prevent duplicates.
- Deploy the script in a container to run on a recurring schedule.
Prompt for your AI
Write a Python script that fetches events from these iCal URLs: [list URLs]. Sync these events to an Office365 calendar using the O365 library. Ensure the script checks for existing events using a unique hash of the event title and start time to prevent duplicates.
What happened
The user struggled to manage conflicting schedules for work, school, and sports. They used Claude to write a script that aggregates various iCal links into one shared Office365 calendar. The tool runs in a container, checks for updates, and prevents duplicates using unique event keys.Watch out
Ensure your Office365 credentials are stored securely using environment variables rather than hardcoding them. Test the sync with a dummy calendar first to avoid cluttering your main schedule.Give it to your agent
Read https://howtheyuse.ai/p/unified-multiple-calendars-into-one-shared-schedule.md and help me do this.