agentleFS
OmniJeffOmniJeff/claude-skills/outlook-ics-calendar/SKILL.md

outlook-ics-calendar

Skill1 starsChanged 9 months agoMITView on GitHub

Fetch and display calendar events from an Outlook ICS feed. Handles recurring events, all-day events, and timezone conversion to Pacific time. Use when fetching today's or any day's calendar events from an Outlook/Office 365 calendar via a published ICS URL. Requires the ICS URL stored in ~/.openclaw/workspace/calendar-ics.txt.

The file

Files
SKILL.md

Outlook ICS Calendar

Reads events from an Outlook ICS feed using a script that properly handles recurring events (via recurring-ical-events), all-day events, and timezone conversion to Pacific time.

Setup

  1. Store the ICS URL in ~/.openclaw/workspace/calendar-ics.txt:
    echo "https://outlook.office365.com/owa/calendar/..." > ~/.openclaw/workspace/calendar-ics.txt
    chmod 600 ~/.openclaw/workspace/calendar-ics.txt
  2. Get the URL from Outlook Web: Settings → Calendar → Shared calendars → Publish a calendar → copy the ICS link.
  3. Install dependencies (one-time):
    pip3 install icalendar recurring-ical-events

Usage

# Today's events
~/.openclaw/workspace/skills/outlook-ics-calendar/scripts/get-calendar-events.sh

# Specific date
~/.openclaw/workspace/skills/outlook-ics-calendar/scripts/get-calendar-events.sh 20260330

# Custom ICS source (URL or file path)
~/.openclaw/workspace/skills/outlook-ics-calendar/scripts/get-calendar-events.sh 20260330 /path/to/calendar.ics

Output format

TIME: 9:00 AM - 9:30 AM
SUMMARY: Team Standup
LOCATION: Microsoft Teams Meeting
---
TIME: All day
SUMMARY: Nati OOO - Reserve Duty
---

Times are always in Pacific time (PDT, UTC-7). All-day events show TIME: All day.

Excluding events

Edit the EXCLUDE list near the top of the script to filter out personal/noise events:

EXCLUDE = ['kid dropoff', 'drive to work']

Matching is case-insensitive and exact.

Notes

  • Recurring events are fully expanded — the script uses recurring-ical-events to handle RRULE/EXDATE correctly. This is the key difference from naive awk/grep approaches which only match the original DTSTART date.
  • Outlook ICS feeds may only contain a rolling window of events (typically 1 year back, 1 year forward). If events are missing, check the publishing range in Outlook Web.
  • Times are hardcoded to PDT (UTC-7). Update the pacific offset in the script to UTC-8 during standard time (November–March) if precision matters.
  • The ICS URL contains an auth token — treat it like a password. Store it in the workspace file (mode 600), never paste it in chat.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.