AgentSkillsCN

early-pickup

第一层级:自动处理家长提前接走孩子的请求。

SKILL.md
--- frontmatter
name: early-pickup
description: Tier 1 automated handling of parent early pickup requests.
metadata:
  openclaw:
    requires:
      - binary: "python3"

Early Pickup Request Intake + Confirm (Tier 1 — Full Auto)

Handle parent requests to pick up their child earlier than the standard pickup window.

When This Skill Activates

A parent messages about picking up their child early.

Required Information

FieldRequiredExample
ChildYes"Sofia"
Pickup timeYes"a las 2", "at 2pm", "después del almuerzo"
Who is picking upIf not the parent themselves"mi mamá", "grandma Maria"
DateYes (default: today)"hoy"

Workflow

  1. Parse the message for child, time, date, and pickup person
  2. Resolve child from parent record
  3. If someone other than parent is picking up: Check authorized_pickups list
  4. Create case for tracking
  5. Send confirmation to parent
  6. Queue notification to teacher about early pickup
bash
# Get parent and child info
daycarectl parent find --handle "<sender>"
daycarectl child get --id "<child_id>"

# Check authorized pickups (if third party)
# The authorized_pickups field in child record has the list

# Create case
daycarectl case create \
  --type "early_pickup" \
  --tier 1 \
  --priority "HIGH" \
  --urgency "same_day" \
  --boundary "parent->provider" \
  --child-id "<child_id>" \
  --parent-id "<parent_id>" \
  --summary "Early pickup: <child_name> at <time> by <who>" \
  --details '{"pickup_time":"14:00","picked_up_by":"parent","date":"2026-02-10"}' \
  --agent-id "parent-ops"

Response Templates

Confirmed — Parent Picking Up (Spanish)

code
Perfecto, [nombre_padre]. Queda anotado que recoges a [nombre_niño] hoy a las [hora].
La maestra estará informada. ¡Nos vemos!

Confirmed — Authorized Person (Spanish)

code
Recibido. [nombre_persona] está en la lista autorizada de [nombre_niño].
Anotado para recogerlo/a hoy a las [hora]. La maestra estará informada.

NOT Authorized — Escalate (Spanish)

code
[nombre_padre], [nombre_persona] no aparece en la lista de personas autorizadas para recoger a [nombre_niño].
Voy a verificar con la directora. Te confirmo en breve.

Confirmed (English)

code
All set, [parent_name]. [child_name]'s early pickup at [time] is noted.
The teacher will be informed. See you then!

Authorization Check

If the person picking up is NOT the parent:

  1. Check child.authorized_pickups for name match
  2. If found → proceed with confirmation
  3. If NOT found → escalate to provider (Tier 2 behavior for this edge case)
bash
# Escalate unauthorized pickup
daycarectl case create \
  --type "early_pickup" \
  --tier 2 \
  --priority "URGENT" \
  --boundary "parent->provider" \
  --summary "UNAUTHORIZED pickup person: <person> for <child>" \
  --agent-id "parent-ops"