meeting-prep-pull
Skill1 starsChanged 7 months agoMITView on GitHub
Given a Google Calendar event (defaults to the next meeting on the primary calendar), pull recent email threads with each external attendee + relevant Notion pages, and write a one-page Notion pre-read with overview / email context / related pages / talking points. Three-source synthesis (Calendar + Gmail + Notion) via Pattern C subagents.
In this repository13 other files it gives its agents.
- battle-card-builderSkill
- blocker-radarSkill
- deal-context-loaderSkill
- decision-log-keeperSkill
- follow-up-radarSkill
- inbox-zero-triageSkill
- knowledge-graph-builderSkill
- okr-syncSkill
- project-briefSkill
- spec-from-threadSkill
- thread-zombie-killerSkill
- ticket-triage-routerSkill
- weekly-shipped-from-noiseSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 73
If --event-id missing → call mcp__claude_ai_Google_Calendar__list_events for primary calendar, time_min=now, time_max=now+24h
- Distinctive: line 74
If 0 events → exit with "No meetings in the next 24 hours"
- Distinctive: line 75
If 1 event → use it
- Distinctive: line 76
If 2+ events with the soonest within 2h → use the soonest
- Very specific: line 79
Call mcp__claude_ai_Google_Calendar__get_event for the chosen event_id to fetch full details: summary, description, start, end, location, …
- Distinctive: line 87
If 0 external attendees → exit with "Internal-only meeting — pre-read is not generated" (the operator presumably already has the …
- Very specific: line 180
No upcoming meeting: when the operator runs the skill before 09:00 with no events scheduled today, output is empty.
- Very specific: line 181
Internal-domain mis-set: if the operator's company uses multiple domains (@example.com + @example.io), the secondary domain attendees get …
- Distinctive: line 184
Description with personal info: if the calendar event description contains a personal phone number or home address, do NOT redact — the …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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-prep-pull
The 10-minute pre-meeting cram, automated. Before a 14:00 partner call, the operator usually opens five email threads, scrolls Slack, and skims two Notion pages. This skill collapses that scramble into a single command — given a calendar event, it gathers Gmail threads with each external attendee from the last 14 days, finds related Notion pages, and writes a one-page pre-read in Notion the operator can read in 90 seconds.
Zero-config: this skill auto-resolves the Notion parent page "Meeting Prep" on first run and caches the ID — see docs/auto-resolve.md. The internal domain is inferred from the authenticated Gmail account when not specified.
The skill is on-demand only (not a scheduled cron) — it pulls just-in-time before each meeting.
Input
--event-id <id>(optional) — Google Calendar event ID. If omitted, the skill callsmcp__claude_ai_Google_Calendar__list_eventsfor the next 24 hours on the primary calendar and picks the soonest one. If multiple within the next 2h → AskUserQuestion--lookback-days N(optional, default 14) — Gmail and Notion lookback window--notion-parent-id <id>(override only — defaults to auto-resolve Notion parent page "Meeting Prep". Env override:CLAUDE_CODE_TOOLKIT_PREP_PARENT_ID)--internal-domain <domain>(override only — defaults to the domain of the authenticated Gmail account. Env override:CLAUDE_CODE_TOOLKIT_PREP_INTERNAL_DOMAIN)
Output
Meeting: <event title> @ <YYYY-MM-DD HH:MM>
Attendees: N (E external / T internal)
- Gmail: scanned X threads → top 3 per external attendee
- Notion: matched Y pages from the last <lookback-days> days
- Pre-read: <Notion page URL>Pre-read page format:
# Meeting Pre-Read — <event title>
## Overview
- When: YYYY-MM-DD HH:MM ~ HH:MM (TZ)
- Where: <location or video link>
- Attendees: <name1 (email1)>, <name2 (email2)>, ...
- Agenda: <event description, verbatim if present, otherwise "(none provided)">
## Email context
### <external attendee 1 — name + email>
- "<thread subject 1>" — last activity YYYY-MM-DD, <gmail URL>
- 1-line summary of the latest message
- "<thread subject 2>" — ...
### <external attendee 2 — name + email>
- ...
## Related Notion pages
- "<page title 1>" — last edit YYYY-MM-DD, <Notion URL>
- 1-line summary
- "<page title 2>" — ...
## Talking points and open questions
- <bullet 1, derived from the latest email/Notion context — phrased as a question or decision the operator needs to make>
- <bullet 2>
- ...
## Caveats
- Email scope: last <lookback-days> days, external attendees only
- Notion scope: top 5 most-relevant pages by keyword match against event title + description
- Generated at YYYY-MM-DD HH:MM (TZ)Procedure
1. Parse input + pick the event
- Notion parent page ID: auto-resolve "Meeting Prep" via the algorithm in docs/auto-resolve.md (cache-first, fall through to notion-search with page filter). Override:
--notion-parent-id <id>or envCLAUDE_CODE_TOOLKIT_PREP_PARENT_ID. - Internal domain: when missing, derive from the authenticated Gmail account (e.g.
me@example.com→example.com). Override:--internal-domain <domain>or envCLAUDE_CODE_TOOLKIT_PREP_INTERNAL_DOMAIN. - If
--event-idmissing → callmcp__claude_ai_Google_Calendar__list_eventsforprimarycalendar,time_min=now,time_max=now+24h - If 0 events → exit with "No meetings in the next 24 hours"
- If 1 event → use it
- If 2+ events with the soonest within 2h → use the soonest
- Otherwise → AskUserQuestion with the list of upcoming events
Call mcp__claude_ai_Google_Calendar__get_event for the chosen event_id to fetch full details: summary, description, start, end, location, attendees.
2. Classify attendees
Split attendees into:
internal: email domain ==--internal-domainexternal: everyone else
If 0 external attendees → exit with "Internal-only meeting — pre-read is not generated" (the operator presumably already has the Slack/Notion context for internal meetings).
3. Gmail context per external attendee
For each external attendee, invoke mcp__claude_ai_Gmail__search_threads:
from:<attendee_email> OR to:<attendee_email> newer_than:<lookback-days>dLimit 20 per attendee. Parallelize up to 5 attendees in a single Task batch.
For each thread, call mcp__claude_ai_Gmail__get_thread and capture:
subject,last_message_ts,last_message_snippet,permalink
Sort by last_message_ts descending and keep top 3 per attendee.
4. Notion context
Run notion-scout once:
description: "Find Notion pages related to the meeting"
subagent_type: "notion-scout"
prompt: |
Meeting title: <event summary>
Description: <event description>
Attendees: <list>
Find up to 5 Notion pages from the last <lookback-days> days that are most relevant.
Match by:
- Page title overlap with the meeting title
- Body keyword overlap with the description
- @mentions of any external attendee
Return: title, last edit, URL, 1-line summary, match reason.5. Synthesize via the synthesizer subagent
Invoke synthesizer with the gathered Calendar + Gmail + Notion context:
description: "Synthesize meeting pre-read"
subagent_type: "synthesizer"
prompt: |
Calendar event: <full event JSON>
Gmail context per attendee: <per-attendee top-3 thread summaries>
Notion pages: <top-5 page summaries>
Internal domain: <internal-domain>
Produce the pre-read in the format above. Talking points should be:
- Concrete decisions the operator needs to make in the meeting
- Open questions surfaced by the email/Notion context
- 3-5 bullets max — fewer is better than paddedThe synthesizer is read-only — it never writes to Notion / Gmail / Slack. Pattern C subagent permission isolation is preserved (gmail/notion read-only allowlist + synthesizer no-tools allowlist).
6. Create the Notion pre-read page
Call mcp__claude_ai_Notion__notion-create-pages:
parent:page_id= the resolved parent page IDproperties:title=Pre-Read — <event title> — YYYY-MM-DD HH:MMchildren: heading_2 + bulleted_list_item blocks per the body format above
Hook behavior: the plugin's PreToolUse(mcp__claude_ai_Notion__notion-create-pages) hook fires once per run — asks "About to create a meeting pre-read page in Notion. Proceed?". In cron mode (rare for this on-demand skill) set CLAUDE_CODE_TOOLKIT_CRON_MODE=1 to bypass + audit log (~/.claude-code-toolkit/audit/meeting-prep-YYYY-MM-DD.jsonl).
7. Output
Print the one-line console summary + Notion URL. Done.
Demo (T+0:30, on-demand)
> /claude-code-toolkit:meeting-prep-pullPre-demo setup:
- One Google Calendar event in the next 2h with 1-2 external attendees
- 2-3 demo email threads with each attendee from the last 14 days
- 1-2 Notion pages whose titles overlap with the event title
- Presenter env:
CLAUDE_CODE_TOOLKIT_PREP_PARENT_ID+CLAUDE_CODE_TOOLKIT_PREP_INTERNAL_DOMAINset, Gmail + Calendar + Notion Connectors authenticated
90-second flow:
- Type the command (5s)
- Calendar lookup + attendee classification (5s)
- Parallel Gmail searches per external attendee (15s)
- Notion scout (10s)
- Synthesizer + Notion page creation + hook prompt → y (15s)
- Open the Notion page in browser to show the pre-read (40s)
Pitfalls
- No upcoming meeting: when the operator runs the skill before 09:00 with no events scheduled today, output is empty. Provide a
--event-idflag for explicit override - Internal-domain mis-set: if the operator's company uses multiple domains (
@example.com+@example.io), the secondary domain attendees get classified as external. Make--internal-domainaccept comma-separated multiple values - Email noise: a chatty attendee may have 50 threads in 14 days. Capping top-3-per-attendee is correct; do not raise this default — the pre-read should fit on one page
- Notion-scout false positives: keyword matching over-surfaces unrelated pages with common words (e.g. "Q1 Review" matches every Q1 page). Tune the scout prompt: prefer pages where ≥ 2 keywords overlap, not 1
- Description with personal info: if the calendar event description contains a personal phone number or home address, do NOT redact — the operator chose to put it there, and rephrasing breaks "verbatim" trust. The pre-read inherits the same privacy boundary as the calendar event itself
Tone
- Subject and event summary are quoted verbatim
- Talking points framed as questions or decisions, not commands
- Empty sections are acceptable ("No related Notion pages found in the lookback window")
- The pre-read is a reading aid, not a decision — never tell the operator what to say or decide
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.

