Skip to content
Agentmart
Submit a tool

booking-rules

Book a meeting into the team's calendar files under the booking policy.

Skill by DanMcInerney

IndexedMIT★ 124
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/danmcinerney-booking-rules

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Book a meeting into the team's calendar files under the booking policy. Use when asked to schedule, book or find a time for a meeting by editing the calendars/ and rooms/ files of a workspace that has request.json and policy.md.

Use cases: writing, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/booking-rules

What's inside

Skill name
booking-rules
Description
Book a meeting into the team's calendar files under the booking policy. Use when asked to schedule, book or find a time for a meeting by editing the calendars/ and rooms/ files of a workspace that has request.json and policy.md.
License
MIT
Instructions
39 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • free_slots.py · scripts/

SKILL.md (first lines)

# Booking rules

How the calendar team books a meeting. `policy.md` in the workspace is the policy; this skill is how we apply it.

## The workspace

- `request.json`: attendees, optional invitees, duration, window, granularity, preference and priority.
- `calendars/<person>.json` and `rooms/<room>.json`: the entries of each person and room. A calendar also holds the person's `utc_offset` and `work_hours`; a room holds its `capacity` and `features`.
- `policy.json` holds the rules and `policy.md` is generated from it. Read `policy.md`; never edit either.

## Rules we apply

- Every required attendee must be inside their work hours, in their own `utc_offset`, and free. Optional invitees never restrict the time.
- Start times lie on the request's granularity grid, counted from the start of the window, and the meeting ends inside the window.
- **Buffers.** `buffer_minutes` in `policy.json` is a gap: keep at least that many minutes between the new meeting and every other entry on each required attendee's calendar, on both sides.
- With rooms, book one that is free for the whole meeting and seats every required attendee.
- Honour `preference`: the earliest or the latest valid start; `any` takes any valid start.

## Recording the booking

Add one new entry with a unique id to each required attendee's calendar and to the room's file. Leave every existing entry exactly as it is. Then write `result.json` as `{"booked": {"start", "end", "room", "event_id"}}`, or `{"infeasible": true, "explanation": "..."}` when no valid start exists, and book nothing.

## Helper

`scripts/free_slots.py` in this skill's directory lists candidate starts, earliest first, with the rooms free and large enough for each:

```
python free_slots.py --workspace . --limit 10
python free_slots.py --workspace . --latest
```

It applies the busy, work-hours, grid and buffer rules above. It is a starting point, not the whole policy.

## Not covered

- **Room features.** A `room_feature` rule in `policy.json` requires a feature when enough people attend. The helper lists rooms by capacity and availability only; check `features` in the room files yourself.
- **Focus-block exceptions.** The helper treats focus entries (`"kind": "focus"`) like any other busy time. When the policy lets an urgent request book over focus blocks, work that out yourself.

From DanMcInerney/orchflows, MIT.

More from DanMcInerney/orchflows

Compare and alternatives

    Featured in

    Signals

    Stars
    124
    Forks
    10
    Open issues
    0
    Last commit (this folder)
    Oct 2, 2026 (25 days ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from DanMcInerney

    Cite this page

    booking-rules skill. Agent Mart. https://agentmart.dev/skills/danmcinerney-booking-rules (last updated 2026-10-24)