Work order triage

From mariourquia/cre-skills-plugin · View interactive version

Work order triage is an AI agent skill from the GitHub repository mariourquia/cre-skills-plugin. Classifies every incoming work order by urgency and category, assigns the right vendor or tech from the approved list, computes estimated cost and routes above-threshold disbursements for approval, verifies licensure and insurance for any licensed trade, and tracks the order through completion. Life

How to use this skill

Skill file

Work Order Triage

Workflow purpose

Convert an incoming work order into an actioned task with the right priority, the right vendor or tech, the right cost expectation, and the right approvals. Enforce life-safety SLAs, license and insurance verification, and vendor-rotation discipline.

Trigger conditions

Inputs (required / optional)

| Input | Type | Required | Notes |

|---|---|---|---|

| WorkOrder record(s) | table | required | description, reported_ts, unit_id, category |

| Priority playbook overlay | csv | required | P1–P4 definitions and SLA bands |

| Approved vendor list | csv | required | by market, by trade |

| Vendor rate cards | csv | required | cost estimate |

| Insurance/licensure status | table | required | vendor cert tracking |

| Property staff availability | table | optional | tech capacity |

| Prior WO history for unit | table | optional | informs repeat detection |

Outputs

| Output | Type | Shape |

|---|---|---|

| Priority assignment per WO | field | P1/P2/P3/P4 |

| Dispatch record | record | vendor or tech, ETA, cost estimate |

| Resident communication (if needed) | email_draft | entry notice or scheduling |

| Approval request (if above threshold) | request | row 6 or 7 |

| Triage queue snapshot | kpi_review | counts by priority, aging by priority |

Required context

Asset_class, segment, form_factor, management_mode, market. Jurisdiction required if entry-notice communication will be drafted.

Process

  1. Classify each WO. Apply the priority playbook: P1 life-safety (gas leak, live electrical exposure, fire/smoke, no heat in cold season, no AC in hot season per overlay, flooding, lockout after hours per overlay, child-safety hazard); P2 habitability (major appliance, plumbing non-emergency, security); P3 comfort; P4 cosmetic.
  2. Confirm category and trade. Map category to trade (plumbing, electrical, HVAC, appliance, general, landscaping, pest). Flag licensed-trade requirement per overlay.
  3. Licensed-trade verification (gate). If the trade requires a license, verify the vendor's license and insurance are current. Stale or missing = refuse dispatch; escalate to maintenance_supervisor. The system does not mark any vendor preferred with stale licensure data.
  4. Vendor or tech selection. Prefer on-staff tech if capacity and skill match; otherwise select from approved vendor list with rotation discipline. Pull cost estimate from rate card.
  5. Cost gate (decision point). If estimated cost above disbursement thresholds (row 6 or 7), open approval_request before dispatch. Contract signature triggers row 19.
  6. Entry-notice communication (if required). Draft resident entry notice per jurisdiction overlay; legal_review_required if jurisdiction treats as statutory.
  7. Dispatch. Record ETA. P1 acknowledgment SLA is hard; miss escalates automatically.
  8. Track to completion. Update status; on close, compute whether WO is a repeat (same unit + category within 30 days); flag vendor if repeat_work_order_rate exceeds overlay threshold.
  9. Daily queue snapshot. Counts by priority; aging distribution; vendor performance summary.
  10. Confidence banner. Surface reference as_of_date and status; surface vendor certification freshness.

Metrics used

open_work_orders, work_order_aging, repeat_work_order_rate.

Reference files used

Escalation points

Required approvals

Failure modes

  1. Auto-deferring a life-safety item. Fix: P1 never deferred without approval matrix row 4.
  2. Dispatching to an out-of-cert vendor. Fix: licensure/insurance verification is a gate.
  3. Treating all WOs equally. Fix: priority playbook governs.
  4. Silent repeat patterns. Fix: repeat flag opens vendor scorecard review via workflows/vendor_dispatch_sla_review.
  5. Sending entry notice without jurisdiction rules. Fix: overlay required; missing -> refuse entry-notice draft.

Edge cases

Example invocations

  1. "Triage the daily work-order queue for Ashford Park."
  2. "WO 1842 reports a gas smell — handle."
  3. "What does the WO backlog look like for Willow Creek this week?"

Example outputs

Output — Daily WO triage snapshot (abridged, Ashford Park)

Queue. P1 x 0, P2 x 4, P3 x 14, P4 x 5. open_work_orders within band.

P1 status. None open. Trailing week P1s acknowledged within SLA.

Dispatch this cycle.

Repeat flags. One P3 in unit 204 is second in 21 days for same category; vendor flagged for scorecard review via workflows/vendor_dispatch_sla_review.

Entry notices. 3 drafted per Charlotte overlay, legal_review_required banner; PM to confirm send.

Confidence banner. approved_vendor_list__charlotte@2026-04-01, status=starter. vendor_rate_cards__charlotte@2026-04-01, status=sample. Vendor license check freshness surfaced per vendor.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.