AgentSkillsCN

absence-late-arrival

第一层级:自动处理家长缺勤与迟到通知。

SKILL.md
--- frontmatter
name: absence-late-arrival
description: Tier 1 automated handling of parent absence and late arrival notifications.
metadata:
  openclaw:
    requires:
      - binary: "python3"

Absence / Late Arrival Intake + Confirm (Tier 1 — Full Auto)

Handle parent notifications about child absences or late arrivals with full automation.

When This Skill Activates

A parent messages about:

  • Child will be absent today/tomorrow
  • Child will arrive late
  • Child won't be coming for a specific period

Required Information

FieldRequiredExample
ChildYes (auto-resolve from parent record if single child)"Mateo"
Date(s)Yes (default: today)"hoy", "mañana", "lunes"
TypeYesabsence or late arrival
Expected arrival timeIf late arrival"como a las 10"
ReasonOptional (don't ask if not offered)"está enfermito"

Workflow

  1. Parse the message for child name, date, type (absence vs late), and optional reason
  2. Resolve child — if parent has one child, auto-resolve. If multiple, ask which child.
  3. Create case for tracking
  4. Send confirmation to parent
  5. Notify teacher (via case system — TeacherOps will pick up)
bash
# Get parent info and children
daycarectl parent find --handle "<sender>"

# Resolve child
daycarectl child get --id "<child_id>"

# Create case
daycarectl case create \
  --type "absence_late_arrival" \
  --tier 1 \
  --priority "HIGH" \
  --urgency "immediate" \
  --boundary "parent->provider" \
  --channel "<channel>" \
  --peer "<sender>" \
  --child-id "<child_id>" \
  --parent-id "<parent_id>" \
  --summary "Absence: <child_name> - <date> - <reason>" \
  --details '{"type":"absence","date":"2026-02-10","reason":"sick"}' \
  --agent-id "parent-ops"

# Mark case completed after confirmation sent
daycarectl case update --id <case_id> --status "completed" --agent-id "parent-ops"

Response Templates

Absence Confirmed (Spanish)

code
Recibido, [nombre_padre]. Queda registrado que [nombre_niño] no asistirá el [fecha].
[Si dio razón: Que se mejore pronto 🙏 / Entendido.]
Si algo cambia, avísame.

Absence Confirmed (English)

code
Got it, [parent_name]. [child_name]'s absence on [date] has been noted.
[If reason given: Hope they feel better soon 🙏 / Understood.]
Let me know if anything changes.

Late Arrival Confirmed (Spanish)

code
Recibido, [nombre_padre]. Anotado que [nombre_niño] llegará tarde, aproximadamente a las [hora].
Le avisaremos a la maestra. ¡Los esperamos!

Late Arrival Confirmed (English)

code
Got it, [parent_name]. Noted that [child_name] will arrive late, around [time].
We'll let the teacher know. See you then!

Multi-child Handling

If the parent has multiple children enrolled:

  • If they mention a specific name → use that child
  • If unclear → ask: "¿Para cuál de tus hijos? [Mateo / Sofia]"

Follow-up

  • If absence exceeds 3 consecutive days without prior notice, flag for provider attention