Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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: []
Expand Down Expand Up @@ -33,17 +33,17 @@ 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.

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: <value> (set | kept by person) - <one-line reason>
Type: <value> (set | left default | kept by person) - <one-line reason>
Type: <value> (recommended | default is right | kept by person) - <one-line reason>
Priority: <value> (set | kept by person) - <impact and urgency signal>
Confidence: Category <High/Medium/Low>, Type <High/Medium/Low>, Priority <High/Medium/Low>
Learned rules used: L<n>, L<n> | none
Expand All @@ -56,7 +56,7 @@ Prior resolution: <what fixed it before, one or two lines, with ticket numbers>
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.
```
10 changes: 5 additions & 5 deletions skills/qa-and-closure/triage-closure-review/SKILL.md
Original file line number Diff line number Diff line change
@@ -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: []
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion skills/triage-and-routing/triage-category/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 10 additions & 10 deletions skills/triage-and-routing/triage-ticket-type/SKILL.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 (<e.g. Incident>). 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 (<e.g. Incident>). 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.
Expand All @@ -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: <value> | set or left default | Reason: <one line> | Confidence: High/Medium/Low
Change nothing on the ticket. Report back to the orchestrator (no note of your own):
Type: <value> | recommended or default is right | Reason: <one line> | Confidence: High/Medium/Low
```
Loading