Oncall triage
Triages an incoming alert or oncall bug per the OnDuty Agent W2 workflow. Classifies the alert into a category (data pipeline, compliance, capacity, deploy) with a confidence level, routes to the matching domain expert, pulls prior-shift context, and proposes mitigations with named skills. Renders as a live-patched Google Chat card in Chat contexts, markdown in IDE/CLI. Use when the user reports an alert, page, outage, SLO breach, or asks to triage something.From its SKILL.md
npx -y skills add prateekarora090/yo --skill oncall-triageAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.7 KB, as published. Nobody here has run it
Oncall triage (workflow W2)
Spec: design/PLAN.md §3-W2. Card conventions: rules/card-ux.md. Follow this
protocol for the alert or bug given as input.
Protocol
- Ingest. Restate the alert in one line: system, symptom, when (e.g. "orders_pipeline — ingestion lag 38m · freshness SLO breached").
- Classify. Category ∈ {data pipeline, compliance, capacity, deploy} + confidence. Low confidence → say so and ask a human to classify rather than guessing. The human can always reclassify; a reclassification overrides the category, re-routes, and is logged as a correction signal.
- Route. Name the domain expert the category maps to (Data Pipeline / Data Compliance / Capacity·Infra / Deploy·Release Expert) — in the full system this is an A2A hop to an ADK sub-agent; standalone, adopt that expert's lens.
- Prior-shift context. Query the on-duty tracker and issue history for the same signature/category in recent shifts; surface the prior fix and time-to-fix. No tracker connected → say "no prior-shift context available", never invent history.
- Propose mitigations. Ranked, max 3. Each names the skill/tool it would use and why ("dataflow-inspect skill · prior fix worked"). Split into safe-to-run vs needs-approval; never auto-run anything destructive (PLAN.md §5 action-safety is still open — default to propose-only).
- Suggest an owner. From category ownership; @-mention in Chat contexts.
Rendering
- Google Chat: one
cardsV2triage card perrules/card-ux.md— category-tinted header with confidence chip, prior-context strip, suggested owner + Reclassify, mitigations as decoratedText,Run top fix/Assign to mebuttons. State changes (classifying → triaged → fix running → resolved/failed) patch the same message (UPDATE_MESSAGE/spaces.messages.patch), never post new ones. Always include a plain-text fallback. - IDE / CLI: markdown — classification + confidence first, context, mitigations, owner last.
Data sources
Defined in the plugin MCP config (mcp_config.json / .mcp.json): alert source, on-duty tracker (Sheets), issue tracker, telemetry. Until wired, triage from user-provided context only and label everything else UNCONFIRMED.