name: supply-replenishment description: Tier 1 automated supply replenishment reminders to parents. metadata: openclaw: requires: - binary: "python3"
Supply Replenishment Reminders (Tier 1 — Full Auto)
Send gentle, specific supply replenishment reminders to parents when their child's supplies are running low.
When This Skill Activates
- Cron-triggered: Daily check at 4:00 PM for low supplies
- Teacher-triggered: Teacher reports low supplies via TeacherOps
- Manual: Provider requests supply check
Workflow
- Check supply states for children with low/out items
- For each child needing supplies: Get parent contact info
- Compose reminder with specific items needed
- Send via parent's preferred channel (iMessage or WhatsApp)
- Update supply state with
last_request_sent_at
# Check what needs reminders (filters out recently reminded)
daycarectl supply needs-reminder
# For each result, send personalized reminder
# Then update the supply state
daycarectl supply update --child-id "<id>" --diapers "low"
Response Templates
Single Item Low (Spanish)
Hola [nombre_padre] 👋
Te aviso que a [nombre_niño] le quedan pocos/as [item].
¿Podrías traer más cuando puedas? ¡Gracias!
Multiple Items Low (Spanish)
Hola [nombre_padre] 👋
Te aviso que [nombre_niño] necesita:
• [Item 1] (se están acabando)
• [Item 2] (se acabaron)
¿Podrías traer más cuando puedas? ¡Gracias!
Single Item (English)
Hi [parent_name] 👋
Just a heads up — [child_name] is running low on [item].
Could you bring some more when you get a chance? Thanks!
Multiple Items (English)
Hi [parent_name] 👋
[child_name] needs a few things:
• [Item 1] (running low)
• [Item 2] (out)
Could you bring these when you get a chance? Thanks!
Item Translation Map
| DB Field | Spanish | English |
|---|---|---|
| diapers_level | pañales | diapers |
| wipes_level | toallitas húmedas | wipes |
| spare_clothes_level | ropa de cambio | spare clothes |
Reminder Frequency
- Don't send more than once every 2 days for the same child (enforced by
last_request_sent_atcheck) - If still "out" after 5 days, escalate to provider for personal follow-up
Brightwheel Integration
After sending via iMessage/WhatsApp, also post to Brightwheel if configured:
- Request BrightwheelOperator to post supply reminder in Brightwheel messaging