Calendar parsing
Skill cxcscmu/SkillLearnBench/skills/b1-one-shot-claude-opus-4-6/schedule-planning/calendar-parsing
Techniques for parsing visual calendar PDFs to extract appointment blocks, free slots, and time boundaries.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill calendar-parsingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.5 KB, 323 tokens by cl100k_base, as published. Nobody here has run it
Calendar Parsing from PDF
Overview
Parse visual calendar layouts (e.g., Google Calendar exports) to extract structured time block data.
Key Techniques
1. Reading Calendar Structure
- Identify the timeline axis (typically vertical, hourly labels from 12am-11pm)
- Each space between adjacent horizontal lines = 15 minutes
- Blocks are colored rectangles overlaid on the grid
2. Extracting Block Times
- Map each block's top/bottom edges to the nearest 15-minute gridline
- Read the block label text for the event name
- Note the block color to determine priority/type
3. Color Coding Conventions
- Blue/purple blocks: Low-priority or flexible tasks; can be overwritten by new meetings
- Red/pink blocks: Fixed appointments; cannot be moved
- Green/yellow blocks: Standard meetings; cannot be moved
- Gray/dark blocks: Out-of-office or unavailable time
4. Determining Free Slots
- List all non-overwritable blocks (everything except blue)
- Treat blue blocks as free time
- Subtract blocked ranges from the full day to get available windows
- Free slots appear as areas with only dashed horizontal gridlines (no colored blocks)
5. Timezone Handling
- Calendar header typically shows the timezone (e.g., "Eastern Time - New York")
- All times extracted are in the calendar's native timezone
- Convert external time references (e.g., PST) to the calendar timezone before comparison
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.