From effd093cc404b8ad32861a0edfd286688e33d375 Mon Sep 17 00:00:00 2001 From: bryan-getthread Date: Fri, 30 Oct 2026 18:25:04 -0600 Subject: [PATCH] Fix triage skills: recommend ticket type, rename note, category tools No Super Magic tool or Flow action sets the ticket type, so Triage Ticket Type now recommends a type in the note instead of claiming to write it. The note header is TRIAGE RESULTS so it isn't confused with the Triage Agent. Triage Category lists the classification tools that set category. Co-Authored-By: Claude Opus 5.5 --- .../SKILL.md | 12 +++++------ .../triage-closure-review/SKILL.md | 10 +++++----- .../triage-category/SKILL.md | 2 +- .../triage-ticket-type/SKILL.md | 20 +++++++++---------- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/skills/automation-and-flows/self-learning-triage-orchestrator/SKILL.md b/skills/automation-and-flows/self-learning-triage-orchestrator/SKILL.md index 3ea31e6..b0c66a1 100644 --- a/skills/automation-and-flows/self-learning-triage-orchestrator/SKILL.md +++ b/skills/automation-and-flows/self-learning-triage-orchestrator/SKILL.md @@ -1,6 +1,6 @@ --- name: Self-Learning Triage Orchestrator -description: Run the self-learning triage skills on a new ticket in a fixed order, filling only the category, type and priority a person has not set, and leave one scored internal note. +description: Run the self-learning triage skills on a new ticket in a fixed order, setting only the category and priority a person has not set, recommending a ticket type, and leaving one scored internal note. category: Automation & Flows tools: [load_skill, search_tickets, add_ticket_note] connectors: [] @@ -33,7 +33,7 @@ STEP 2 - RUN THE SKILLS, IN THIS ORDER 2. "Triage Learnings". Always run it. 3. "Triage Similar Tickets". Always run it. 4. "Triage Category", only if Category is EMPTY. -5. "Triage Ticket Type", only if Ticket Type is DEFAULT. +5. "Triage Ticket Type", only if Ticket Type is DEFAULT. It recommends a type; nothing writes the type. 6. "Triage Priority", only if Priority is EMPTY. 7. "Prior Resolution". Always run it. For a field SET BY A PERSON, skip its skill and record "kept by person". If a skill is missing, fails or can't decide, record that and continue. Never guess what a missing skill would have done. @@ -41,9 +41,9 @@ For a field SET BY A PERSON, skip its skill and record "kept by person". If a sk STEP 3 - ONE INTERNAL NOTE Plain text, no markdown or emojis, never visible to the client. Fold every skill's result into this note; no skill posts a note of its own. -TRIAGE AGENT +TRIAGE RESULTS Category: (set | kept by person) - -Type: (set | left default | kept by person) - +Type: (recommended | default is right | kept by person) - Priority: (set | kept by person) - Confidence: Category , Type , Priority Learned rules used: L, L | none @@ -56,7 +56,7 @@ Prior resolution: RULES - Never overwrite a field that was SET BY A PERSON. - Only use values from the board's live category, type and priority lists. Never invent one. -- Each field is written once, by its own skill. Don't write fields yourself. -- Don't change the title, status, board, owner or any other field. +- Category and priority are written once, by their own skills. Don't write fields yourself. +- Never change the ticket type, title, status, board, owner or any other field. - As a Flow, your entire reply is the note. ``` diff --git a/skills/qa-and-closure/triage-closure-review/SKILL.md b/skills/qa-and-closure/triage-closure-review/SKILL.md index f55f857..a956537 100644 --- a/skills/qa-and-closure/triage-closure-review/SKILL.md +++ b/skills/qa-and-closure/triage-closure-review/SKILL.md @@ -1,6 +1,6 @@ --- name: Triage Closure Review -description: When a ticket closes, compare what the triage agent set with what the tech left, and update the Triage Learnings skill only when repeated real misses prove a rule will raise accuracy. +description: When a ticket closes, compare what the triage skills set or recommended with what the tech left, and update the Triage Learnings skill only when repeated real misses prove a rule will raise accuracy. category: QA & Closure tools: [search_tickets, list_skills, update_skill, add_ticket_note] connectors: [] @@ -19,14 +19,14 @@ outcome: [Faster Resolution & Response, Time & Cost Savings (Capacity)] ## Prompt ``` -Purpose: when a ticket closes, check whether the technician changed what the triage agent set. Update "Triage Learnings" ONLY when the evidence shows it will raise accuracy. Most tickets need no change. +Purpose: when a ticket closes, check whether the technician changed what triage set or recommended. Update "Triage Learnings" ONLY when the evidence shows it will raise accuracy. Most tickets need no change. STEP 1 - COMPARE -Find the "TRIAGE AGENT" internal note. If there isn't one, stop: "No triage note". -For category, ticket type and priority, compare what the note says the agent set with the value on the closed ticket: +Find the "TRIAGE RESULTS" internal note. If there isn't one, stop: "No triage note". +For category, ticket type and priority, compare the note with the value on the closed ticket: - Note says "kept by person", or the value is unchanged -> nothing to learn. - Agent set it and the tech changed it -> a CORRECTION. -- Agent "left default" on type and the tech changed it -> a CORRECTION. +- Type: note says "recommended" and the closed type is different, or "default is right" and the tech changed it -> a CORRECTION. STEP 2 - IS IT A REAL TRIAGE MISS? Read the whole ticket. Discard the correction if: diff --git a/skills/triage-and-routing/triage-category/SKILL.md b/skills/triage-and-routing/triage-category/SKILL.md index d1d9ebf..8b26495 100644 --- a/skills/triage-and-routing/triage-category/SKILL.md +++ b/skills/triage-and-routing/triage-category/SKILL.md @@ -2,7 +2,7 @@ name: Triage Category description: Set the category on a new ticket whose category is empty, using learned rules first, then how techs filed similar tickets, then your desk's own category rules. category: Triage & Routing -tools: [list_board_classifications, update_ticket] +tools: [list_board_classifications, set_ticket_classification, set_ticket_category] connectors: [] scope: single flow: yes diff --git a/skills/triage-and-routing/triage-ticket-type/SKILL.md b/skills/triage-and-routing/triage-ticket-type/SKILL.md index 44c9144..b8f1ed8 100644 --- a/skills/triage-and-routing/triage-ticket-type/SKILL.md +++ b/skills/triage-and-routing/triage-ticket-type/SKILL.md @@ -1,8 +1,8 @@ --- name: Triage Ticket Type -description: Correct the ticket type on a new ticket that is still on the PSA default, telling broken from requested, without touching a type a person chose. +description: Recommend the right ticket type for a new ticket still on the PSA default, telling broken from requested, so a technician can change it. category: Triage & Routing -tools: [list_board_classifications, update_ticket] +tools: [search_tickets] connectors: [] scope: single flow: yes @@ -12,16 +12,16 @@ outcome: [Faster Resolution & Response] # Triage Ticket Type -**When to use:** Every ticket arrives as the PSA's default type (usually Incident), so service requests get reported as incidents. Run by the Self-Learning Triage Orchestrator (`automation-and-flows/self-learning-triage-orchestrator`), after Triage Learnings and Triage Similar Tickets. +**When to use:** Every ticket arrives as the PSA's default type (usually Incident), so service requests get reported as incidents. Super Magic has no tool that changes the ticket type, so this skill recommends the type in the triage note for a technician to set. Run by the Self-Learning Triage Orchestrator (`automation-and-flows/self-learning-triage-orchestrator`), after Triage Learnings and Triage Similar Tickets. **Run it:** on one ticket ยท or inside a triage Flow. Match the type names to the exact ones on your board. ## Prompt ``` -Purpose: correct the ticket type on a new ticket. Only run when the type in the orchestrator's snapshot was still the PSA default (). Never touch a type a person chose. +Purpose: recommend the ticket type for a new ticket. You cannot change the ticket type; only recommend it. Only run when the type in the orchestrator's snapshot was still the PSA default (). Skip a type a person chose. -TYPES (use the exact names on this board's type list) +TYPES (use the exact names on your PSA's ticket type list) - Incident: something that worked is now broken, failing, slow or erroring. Includes failed backups, outages, login failures, error messages, "stopped working". - Service Request: a request for something new or a change. New user, offboarding, new laptop or Mac setup, install software, add to a group or mailbox, permission or access change, license assignment, documentation or inventory updates, a quote. - Problem: ONLY when the ticket says the issue recurs across several incidents, or asks for root-cause investigation. Never infer Problem from a single report. @@ -32,11 +32,11 @@ HOW TO DECIDE 2. If a learned rule matches, use it. 3. Else if the type agreement is Strong, follow it. 4. Otherwise ask: is something broken (Incident) or is someone asking for something (Service Request)? -5. If it really is an Incident, leave it unchanged and report "left default". -6. If you can't tell, leave the default. Changing it by mistake costs more than leaving it. -Never use a type that isn't on the board's list. +5. If the default is right, report "default is right". +6. If you can't tell, report "default is right". A wrong recommendation costs more than none. +Never recommend a type that isn't on that list. OUTPUT -Write the new type to the ticket only if it changed. Report back to the orchestrator (no note of your own): -Type: | set or left default | Reason: | Confidence: High/Medium/Low +Change nothing on the ticket. Report back to the orchestrator (no note of your own): +Type: | recommended or default is right | Reason: | Confidence: High/Medium/Low ```