meeting-prep
Purpose
Prepares a just-in-time meeting brief by combining the next calendar event with relevant notes from MEMORY.md.
Runbook
- Ensure
MEMORY_PATHandCALENDAR_ICS(or calcurse access) are set. - Run
scripts/next-event.shto find the next meeting within the next 24 hours. - If no event is found, print
No upcoming events in the next 24 hours.and exit cleanly. - Extract keywords from the event title and strip common words such as
meeting,call,sync, andstandup. - Run
scripts/retrieve-notes.sh <keywords>to find relevantMEMORY.mdsections. - Run
scripts/brief.shto assemble and print the final meeting brief. - Optionally post the brief to
CHAT_WEBHOOKviacurl, but only whenSEND_TO_CHAT=1is explicitly set.
Stop conditions
- Exit cleanly if no upcoming event is found.
- Abort if
MEMORY_PATHis unset or points to a directory. - Never post to
CHAT_WEBHOOKwithoutSEND_TO_CHAT=1. - Abort if
brief.shcannot write to stdout.
Output format
# Meeting Brief: Sprint Planning
**Time**: 2024-06-15 10:00
**Attendees**: alice@example.com, bob@example.com
## Agenda
(from calendar description or "No agenda provided")
## Related Notes from Memory
> From MEMORY.md § "Sprint Planning Notes"
> Last sprint velocity was 34 points...
## Talking Points
- TBD — review backlog before meeting
- TBD — confirm acceptance criteria for Story #42
Example invocations
MEMORY_PATH=~/notes/MEMORY.md CALENDAR_ICS=~/cal.ics skills/meeting-prep/scripts/run.shMOCK_MODE=1 MEMORY_PATH=~/notes/MEMORY.md skills/meeting-prep/scripts/run.sh- "What's my next meeting and what should I know before joining?"