Skip to content

Packs / scheduling-public

free-slots

List free booking slots from working hours, busy times, buffers and minimum notice in the right time zone

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-scheduling-public

Install

logicpacks pack use scheduling-public/free-slots
get_pack scheduling-public/free-slots

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

None.

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: stdlibcalcom
  • Checks: 1 in outcome/checks.yaml
  • Code: slots.py
  • Tools: python3, docker

Usage, last 8 weeks

New: no recorded use yet.

Purpose (from spec/SPEC.md)

Goal

List free booking slots from working hours, busy times, buffers and minimum notice in the right time zone.

Steps

  1. Fill availability.json: time zone, days, working hours per weekday, slot length, buffer, minimum notice, busy intervals (UTC, from the calendar).
  2. python3 code/slots.py availability.json lists free slot starts in local time.
  3. Check with the fixture: python3 code/slots.py selftest ....

Edge cases

  • DST zones: zoneinfo handles the shift; never add fixed offsets by hand.
  • Busy times come from CalDAV/Google free-busy; refresh before offering slots.

Don'ts

  • Don't offer slots inside the minimum notice window.

Check

lp pack check scheduling/free-slots runs outcome/checks.yaml.