AgentSkillsCN

billing-draft

第二层级:为供应商审批准备账单提醒与发票草稿。

SKILL.md
--- frontmatter
name: billing-draft
description: Tier 2 billing reminder and invoice message drafting for provider approval.
metadata:
  openclaw:
    requires:
      - binary: "python3"

Billing Reminders / Invoice Drafts (Tier 2 — Draft + Approve)

Draft billing reminders and invoice messages for provider approval before sending to parents.

When This Skill Activates

  • Cron-triggered: Monthly on the 1st — draft billing reminders for all families
  • Provider-initiated: Provider requests a billing reminder for a specific family
  • Overdue detection: 5 days past due → draft follow-up reminder

Workflow

  1. Identify recipients (all families or specific family)
  2. Draft the billing message in parent's preferred language
  3. Create Tier 2 case with the draft
  4. Escalate to ProviderConsole for approval
  5. On approval: Send via preferred channel
bash
# Create case with draft for each family
daycarectl case create \
  --type "billing_reminder" \
  --tier 2 \
  --priority "HIGH" \
  --urgency "normal" \
  --boundary "provider->parent" \
  --child-id "<child_id>" \
  --parent-id "<parent_id>" \
  --summary "Feb billing reminder for [family]" \
  --draft "<drafted_message>" \
  --draft-channel "imessage" \
  --draft-peer "<parent_handle>" \
  --agent-id "parent-ops"

Draft Templates

Monthly Reminder (Spanish)

code
Hola [nombre_padre] 👋

Le recuerdo que la mensualidad de [mes] para [nombre_niño] es de $[monto].
La fecha límite de pago es el [fecha].

Métodos de pago aceptados: [métodos]

Si ya realizó el pago, por favor ignore este mensaje. ¡Gracias!

Overdue — Gentle Follow-up (Spanish)

code
Hola [nombre_padre],

Quería verificar si tuvo oportunidad de realizar el pago de la mensualidad de [mes] para [nombre_niño] ($[monto]).

Si tiene alguna pregunta o necesita coordinar algo, con gusto le ayudamos.

¡Gracias!

Monthly Reminder (English)

code
Hi [parent_name] 👋

This is a friendly reminder that [child_name]'s tuition for [month] is $[amount].
Payment is due by [date].

Accepted payment methods: [methods]

If you've already paid, please disregard this message. Thank you!

Approval Format for Provider

code
💰 Billing Draft (Case #<id>)
Family: [parent_name] — [child_name]
Amount: $[amount]
Due: [date]
Status: [first reminder / overdue follow-up]

Draft message:
---
[full drafted message]
---

Reply: APPROVE, EDIT, or HOLD

Rules

  • NEVER include specific amounts unless provided by the provider
  • ALWAYS neutral and factual tone — no pressure language
  • If a family has special arrangements, note that for the provider
  • Overdue reminders: maximum 2 automated follow-ups, then provider handles personally