gws-meeting-scheduler
Skill15 starsChanged 10 days agoMITView on GitHub
Schedule meetings between people using the `gws` CLI (Google Calendar). Use when the user wants to find a meeting time, schedule a meeting, check availability, or book time with someone. Triggers on requests like "schedule a meeting with X", "find time with Y", "book a 1:1", "when can I meet with Z", "set up a sync".
In this repository31 other files it gives its agents.
- claude-permissions-auditSkill
- claude-skill-orchestration-auditSkill
- claude-skill-prereq-auditSkill
- claude-skill-spec-auditSkill
- dev-cli-consistency-auditSkill
- dev-code-qualitySkill
- dev-new-toolSkill
- dev-software-designSkill
- gh-dep-pr-triageSkill
- gh-issue-reportSkill
- gh-org-chartSkill
- gh-oss-go-bumpSkill
- gh-oss-release-prepSkill
- gh-oss-releaseSkill
- gh-review-triageSkill
- git-conventional-commitSkill
- p-activity-digestSkill
- p-blog-post-miningSkill
- p-blog-writerSkill
- p-clipboard-copySkill
- p-daily-reflectionSkill
- p-daily-reportSkill
- p-daily-standupSkill
- p-ego-searchSkill
- p-md-to-slidesSkill
- p-meeting-prepSkill
- p-news-briefingSkill
- project-namerSkill
- p-slack-triageSkill
- p-violentmonkey-userscript-syncSkill
- restaurant-searchSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
If the user provides a name but no email, search past calendar events:
- Very specific: line 33
Look at the attendees array in results to find the matching email.
- Very specific: line 45
Look at start.dateTime on non-all-day events (skip events with only start.date)
- Very specific: line 50
Important: Do NOT rely on start.timeZone alone — it often reflects the *organizer's* or *attendee's* timezone rather than the calendar …
- Distinctive: line 52
If no timezone can be determined for either person, ask the user.
- Distinctive: line 56
Ask the user for a preferred date range, or default to the next 5 business days.
- Distinctive: line 85
If work-hour overlap is very limited (e.g., < 1 hour), note this and suggest the user consider extending hours.
- Distinctive: line 123
Always include the user as an attendee, not just as the calendar owner
- Very specific: line 125
Use --format json (or omit, as JSON is default) for reliable parsing
- Distinctive: line 128
When computing free slots, verify against both calendars before presenting
- Very specific: line 129
Use gws calendar +insert helper for simple events.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Meeting Scheduler
Find mutual availability and create Google Calendar events using the gws CLI.
Prerequisites
gwsCLI installed and authenticated
Workflow
1. Resolve attendee email
If the user provides a name but no email, search past calendar events:
gws calendar events list --params '{"calendarId":"primary","q":"<name>","maxResults":10}'Look at the attendees array in results to find the matching email. If multiple matches, ask the user to confirm.
2. Detect timezones
Detect each person's timezone by querying their own calendar directly. When you query a person's calendar via their email as calendarId, the API returns start.dateTime with that person's local UTC offset — this is the most reliable signal.
gws calendar events list --params '{"calendarId":"<user-email>","maxResults":10}'
gws calendar events list --params '{"calendarId":"<attendee-email>","maxResults":10}'For each person:
- Look at
start.dateTimeon non-all-day events (skip events with onlystart.date) - Extract the UTC offset (e.g.,
-08:00,+09:00) — this reflects their calendar's timezone - Tally the most frequent offset to determine their timezone
- Cross-reference with the
start.timeZonefield on events matching that offset to get the IANA name (e.g.,-08:00→America/Los_Angeles)
Important: Do NOT rely on start.timeZone alone — it often reflects the organizer's or attendee's timezone rather than the calendar owner's. The dateTime offset from the person's own calendar is the source of truth.
If no timezone can be determined for either person, ask the user.
3. Determine date range
Ask the user for a preferred date range, or default to the next 5 business days.
4. Check free/busy
Query both calendars together. The query range must cover work hours in both timezones:
gws calendar freebusy query --json '{
"timeMin": "<start-RFC3339>",
"timeMax": "<end-RFC3339>",
"items": [{"id": "<user-email>"}, {"id": "<attendee-email>"}]
}'5. Compute overlapping free slots
- Convert all busy times from UTC to each person's timezone
- Define work hours per person: 9:00-18:00 in their respective timezone
- Find the overlap of both people's work-hour windows, then subtract combined busy blocks
- Filter to slots >= requested meeting duration
- Double-check every slot against BOTH calendars before presenting — do not skip the user's own busy times
- Present slots as a table showing times in both timezones:
Day | User (JST) | Attendee (PST) | Duration
Thu Feb 26 | 15:00 - 16:00 | 22:00 - 23:00 | 1hIf work-hour overlap is very limited (e.g., < 1 hour), note this and suggest the user consider extending hours.
6. Confirm and create the event
Once the user picks a slot, duration, and title:
gws calendar +insert \
--summary "<title>" \
--start "<start-RFC3339>" --end "<end-RFC3339>" \
--attendee "<user-email>" --attendee "<attendee-email>"For Google Meet links or other advanced options, use the raw API instead:
gws calendar events insert --params '{"calendarId":"primary","conferenceDataVersion":1,"sendUpdates":"all"}' \
--json '{
"summary": "<title>",
"start": {"dateTime": "<start-RFC3339>"},
"end": {"dateTime": "<end-RFC3339>"},
"attendees": [{"email": "<user-email>"}, {"email": "<attendee-email>"}],
"conferenceData": {"createRequest": {"requestId": "<unique-id>", "conferenceSolutionKey": {"type": "hangoutsMeet"}}}
}'Key notes:
--attendee— repeat for each attendee, always include the user themselvesconferenceDataVersion=1param required when adding Meet linkssendUpdates=all— notify attendees via email
7. Confirm to user
Show: title, date/time (in both timezones if cross-timezone), attendees, and Meet link.
Important Notes
- Always include the user as an attendee, not just as the calendar owner
gwsuses--paramsfor query/path parameters and--jsonfor request bodies- Use
--format json(or omit, as JSON is default) for reliable parsing - RFC3339 times must include timezone offset (e.g.,
+09:00for JST) - The freebusy API returns busy times in UTC — convert carefully
- When computing free slots, verify against both calendars before presenting
- Use
gws calendar +inserthelper for simple events; usegws calendar events insertraw API for advanced features (Meet links, recurrence, etc.)
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
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.

