Wilma Triage
Automated daily triage of Wilma school data for parents. Filters noise, surfaces actionable items, and syncs exams/events to Google Calendar.
Dependencies
- wilma skill — install from ClawHub (
clawhub install wilma) for Wilma CLI commands and setup
- gog skill — install from ClawHub (
clawhub install gog) for Google Calendar sync
First Run Setup
On first use, collect and store configuration:
- Discover kids: Run
wilma kids list --json to get student names, numbers, and schools
- Calendar ID: Run
gog calendar calendars to list available calendars. Ask the user which calendar to use for school events. Store the calendar ID in TOOLS.md under a ## Wilma Triage section along with naming conventions for events.
- Preferences: Ask about any kid-specific rules (e.g., subject overrides like ET instead of religion). Store in MEMORY.md as part of the Wilma triage context.
Over time, the user will give feedback on what to report and what to skip — store these preferences in MEMORY.md. The triage gets smarter with use.
Workflow
Fetch data — check TOOLS.md for student details, then start with summary:
# Best starting point — returns schedule, exams, homework, news, messages
wilma summary --all-students --json
# Drill into specifics as needed
wilma exams list --all-students --json
wilma schedule list --when today --all-students --json
wilma schedule list --when tomorrow --all-students --json
wilma homework list --all-students --limit 10 --json
wilma grades list --all-students --limit 5 --json
wilma messages list --all-students --limit 10 --json
wilma news list --all-students --limit 10 --json
# Read full content when subject line looks actionable
wilma messages read <id> --student <name> --json
wilma news read <id> --student <name> --json
Filter — apply triage rules below plus any kid-specific rules from MEMORY.md
Calendar sync — add missing exams and actionable events using gog CLI commands from TOOLS.md
- ALWAYS check for existing events before adding to avoid duplicates
- Use naming conventions stored in TOOLS.md
- Remove cancelled events from calendar
Report — if actionable items found, send details. If nothing actionable, stay silent or send a brief confirmation. Check MEMORY.md for the user's notification preference.
Calendar Sync
Refer to TOOLS.md for the calendar ID, naming conventions, and exact gog CLI commands.
NO DUPLICATES rule:
- Before adding any event, check calendar for that date range
- If a matching event exists (same date + child + subject keywords), skip it
- Only add if not already there
Understanding Wilma Messages
Wilma messages come from different sources and have very different signal-to-noise ratios. Knowing the difference is critical for good triage:
- Viikkoviesti / weekly letter (from class teacher) — HIGH VALUE. These are the class teacher's weekly updates. They look like casual newsletters but frequently contain buried actionable items: upcoming exams, materials to bring, schedule changes, field trips, deadlines. Always read the full content. Never skip based on subject line.
- Teacher messages (from subject teachers) — Usually about specific exams, homework, or class events. High signal.
- School office / rehtori messages — Administrative: schedule changes, events, policy updates. Medium signal — skim for actions.
- Kuukausitiedote / monthly newsletter (from school office) — Read these. They typically contain important dates: holidays, school year start/end, event schedules, enrollment deadlines. Don't skip based on the generic subject line.
- City-wide notices (from Helsinki/municipality) — Health campaigns, transport info, surveys. Usually noise for daily triage. Skim subject, skip unless clearly actionable.
- Parent union / vanhempainyhdistys — Low signal by default (fundraising, volunteer calls). However, check MEMORY.md — if the parent is actively involved in the union, these become high priority.
Rule of thumb: If a message is from a teacher (class teacher or subject teacher), always read it. If it's from the school office or city, skim the subject and skip unless it's clearly actionable.
Triage Rules
Always Report (Actionable)
- Forms, permission slips, replies needed
- Deadlines (sign-ups, payments, materials to bring)
- Schedule changes (early dismissal, cancelled classes, substitute arrangements)
- Special gear/materials needed (e.g., "bring ski gear", "outdoor clothing")
- After-school events kids might want to attend (discos, movie nights)
- Exam schedule updates or new exams
- Cancelled events that are on the calendar → remove them
Report Briefly (Worth Mentioning)
- Field trips, themed days with date info
- School closures, holiday schedule changes
- Health notices (lice alerts, illness outbreaks)
- New grades (brief mention with grade)
Important: Always Read Weekly Letters (viikkoviesti)
Weekly letters from class teachers often contain actionable items buried in the text: exams, materials to bring, schedule changes, field trips. Always read the full content of viikkoviesti messages — do not skip based on subject line alone.
Skip Silently
- Concerts, cultural performances (FYI only)
- Generic "welcome back" or seasonal greetings
- City-wide informational notices (health campaigns, transport info, surveys)
- Parent union messages (unless user is actively involved — check MEMORY.md)
Check MEMORY.md for additional skip/report rules the user has provided over time (e.g., subject overrides, school-specific filtering).
Suggested Cron Setup
Run daily at 07:00 local time as an isolated agentTurn job:
Schedule: 07:00 daily
Timeout: 180s
Task: "Read the wilma-triage skill, then run the full triage workflow. Report actionable findings."
Stagger with other morning jobs (e.g., email check at 07:05) to avoid API rate limits.
Output Format Example
📚 Wilma Update
Child A (8th grade)
• Math exam tomorrow — yhtälöt, kpl 1-8
• Friday short day (9:20-12:35) — kulttuuripäivä, bring laptop + outdoor clothes
Child B (6th grade)
• No actionable items
📅 Calendar: Added Child A math exam (Feb 10), removed cancelled disco (Feb 11)
Keep it brief. One line per item. Silence is better than noise.
1---
2name: wilma-triage
3version: 1.0.1
4description: Daily triage of Wilma school notifications for Finnish parents. Fetches exams, messages, news, schedules, and homework — filters for actionable items, syncs exams to Google Calendar, and reports via chat. Requires the `wilma` skill and `gog` CLI (or `gog` skill from ClawHub) for calendar access.
5metadata:
6 source: https://skillmd.com/skills/modbender/wilma-triage
7 openclaw:
8 requires:
9 bins:
10 - wilma
11 - gog
12 skills:
13 - wilma
14 configPaths:
15 - ~/.config/wilmai/config.json
16 - ~/Library/Application Support/gogcli/
17 credentials:
18 note: Requires local Wilma credentials (~/.config/wilmai/config.json) for school data access and gog CLI auth (Google OAuth) for calendar sync. Both must be set up interactively before use.
19---
20
21# Wilma Triage
22
23Automated daily triage of Wilma school data for parents. Filters noise, surfaces actionable items, and syncs exams/events to Google Calendar.
24
25## Dependencies
26
27- **wilma skill** — install from ClawHub (`clawhub install wilma`) for Wilma CLI commands and setup
28- **gog skill** — install from ClawHub (`clawhub install gog`) for Google Calendar sync
29
30## First Run Setup
31
32On first use, collect and store configuration:
33
341. **Discover kids:** Run `wilma kids list --json` to get student names, numbers, and schools
352. **Calendar ID:** Run `gog calendar calendars` to list available calendars. Ask the user which calendar to use for school events. Store the calendar ID in **TOOLS.md** under a `## Wilma Triage` section along with naming conventions for events.
363. **Preferences:** Ask about any kid-specific rules (e.g., subject overrides like ET instead of religion). Store in **MEMORY.md** as part of the Wilma triage context.
37
38Over time, the user will give feedback on what to report and what to skip — store these preferences in MEMORY.md. The triage gets smarter with use.
39
40## Workflow
41
421. **Fetch data** — check TOOLS.md for student details, then start with summary:
43 ```bash
44 # Best starting point — returns schedule, exams, homework, news, messages
45 wilma summary --all-students --json
46
47 # Drill into specifics as needed
48 wilma exams list --all-students --json
49 wilma schedule list --when today --all-students --json
50 wilma schedule list --when tomorrow --all-students --json
51 wilma homework list --all-students --limit 10 --json
52 wilma grades list --all-students --limit 5 --json
53 wilma messages list --all-students --limit 10 --json
54 wilma news list --all-students --limit 10 --json
55
56 # Read full content when subject line looks actionable
57 wilma messages read <id> --student <name> --json
58 wilma news read <id> --student <name> --json
59 ```
60
612. **Filter** — apply triage rules below plus any kid-specific rules from MEMORY.md
62
633. **Calendar sync** — add missing exams and actionable events using gog CLI commands from TOOLS.md
64 - **ALWAYS check for existing events before adding** to avoid duplicates
65 - Use naming conventions stored in TOOLS.md
66 - Remove cancelled events from calendar
67
684. **Report** — if actionable items found, send details. If nothing actionable, stay silent or send a brief confirmation. Check MEMORY.md for the user's notification preference.
69
70## Calendar Sync
71
72Refer to TOOLS.md for the calendar ID, naming conventions, and exact gog CLI commands.
73
74**NO DUPLICATES rule:**
751. Before adding any event, check calendar for that date range
762. If a matching event exists (same date + child + subject keywords), skip it
773. Only add if not already there
78
79## Understanding Wilma Messages
80
81Wilma messages come from different sources and have very different signal-to-noise ratios. Knowing the difference is critical for good triage:
82
83- **Viikkoviesti / weekly letter** (from class teacher) — **HIGH VALUE.** These are the class teacher's weekly updates. They look like casual newsletters but frequently contain buried actionable items: upcoming exams, materials to bring, schedule changes, field trips, deadlines. **Always read the full content.** Never skip based on subject line.
84- **Teacher messages** (from subject teachers) — Usually about specific exams, homework, or class events. High signal.
85- **School office / rehtori messages** — Administrative: schedule changes, events, policy updates. Medium signal — skim for actions.
86- **Kuukausitiedote / monthly newsletter** (from school office) — **Read these.** They typically contain important dates: holidays, school year start/end, event schedules, enrollment deadlines. Don't skip based on the generic subject line.
87- **City-wide notices** (from Helsinki/municipality) — Health campaigns, transport info, surveys. Usually noise for daily triage. Skim subject, skip unless clearly actionable.
88- **Parent union / vanhempainyhdistys** — Low signal by default (fundraising, volunteer calls). However, check MEMORY.md — if the parent is actively involved in the union, these become high priority.
89
90**Rule of thumb:** If a message is from a teacher (class teacher or subject teacher), always read it. If it's from the school office or city, skim the subject and skip unless it's clearly actionable.
91
92## Triage Rules
93
94### Always Report (Actionable)
95- Forms, permission slips, replies needed
96- Deadlines (sign-ups, payments, materials to bring)
97- Schedule changes (early dismissal, cancelled classes, substitute arrangements)
98- Special gear/materials needed (e.g., "bring ski gear", "outdoor clothing")
99- After-school events kids might want to attend (discos, movie nights)
100- Exam schedule updates or new exams
101- Cancelled events that are on the calendar → remove them
102
103### Report Briefly (Worth Mentioning)
104- Field trips, themed days with date info
105- School closures, holiday schedule changes
106- Health notices (lice alerts, illness outbreaks)
107- New grades (brief mention with grade)
108
109### Important: Always Read Weekly Letters (viikkoviesti)
110Weekly letters from class teachers often contain actionable items buried in the text: exams, materials to bring, schedule changes, field trips. **Always read the full content** of viikkoviesti messages — do not skip based on subject line alone.
111
112### Skip Silently
113- Concerts, cultural performances (FYI only)
114- Generic "welcome back" or seasonal greetings
115- City-wide informational notices (health campaigns, transport info, surveys)
116- Parent union messages (unless user is actively involved — check MEMORY.md)
117
118**Check MEMORY.md for additional skip/report rules** the user has provided over time (e.g., subject overrides, school-specific filtering).
119
120## Suggested Cron Setup
121
122Run daily at 07:00 local time as an isolated agentTurn job:
123
124```
125Schedule: 07:00 daily
126Timeout: 180s
127Task: "Read the wilma-triage skill, then run the full triage workflow. Report actionable findings."
128```
129
130Stagger with other morning jobs (e.g., email check at 07:05) to avoid API rate limits.
131
132## Output Format Example
133
134```
135📚 Wilma Update
136
137Child A (8th grade)
138• Math exam tomorrow — yhtälöt, kpl 1-8
139• Friday short day (9:20-12:35) — kulttuuripäivä, bring laptop + outdoor clothes
140
141Child B (6th grade)
142• No actionable items
143
144📅 Calendar: Added Child A math exam (Feb 10), removed cancelled disco (Feb 11)
145```
146
147Keep it brief. One line per item. Silence is better than noise.