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
55 changes: 55 additions & 0 deletions skills/alert-runbooks/patch-failure-action-score/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
name: Patch Failure Action Score
description: Score a third-party patch deployment failure 0 to 100 for how much action it needs, post the triage report, and auto-close only the low-risk ones.
category: Alert Runbooks
tools: [search_tickets, list_ticket_statuses, add_ticket_note, update_ticket]
connectors: []
scope: single
flow: yes
role: [Dispatcher, Technician]
outcome: [Fewer Escalations & Less Noise, Time & Cost Savings (Capacity)]
---

# Patch Failure Action Score

**When to use:** Your patching tool opens a ticket for every failed third-party update (Chrome, Zoom, Adobe Reader) and most of them fix themselves on the next cycle, but buried in the pile are failed security patches on servers. You want the noise closed and the real risk surfaced with a score.

**Run it:** on one ticket · or as a Flow (when a ticket is created whose title matches your patching tool's deployment-failure alert). For deeper diagnosis on a ticket that stays open, pair it with alert-runbooks/patch-failure-alert.

## Prompt

```
You are a NOC triage analyst. Read this patch deployment failure ticket and produce a scored triage report.

Before scoring, check the history: search this client's tickets from the last 30 days for the same endpoint, and read this ticket's replies for any client follow-up.

Action Required Score, 0 to 100. Higher means more action needed.

0 to 30, safe to auto-close: a generic deployment failure; no VIP, server or critical system; fewer than 3 failures on this endpoint; no client follow-up or urgency; a non-critical app such as a browser, meeting client, PDF reader or media player.

31 to 50, monitor: this endpoint has failed twice; or a non-critical app the client has asked about; or a standard user's workstation with some context.

51 to 75, action needed: a server or critical business app; a VIP's endpoint; the client replied asking for an update; the same endpoint has failed 3 or more times.

76 to 100, urgent: a security patch (OS security update, antivirus or EDR agent); a domain controller, file server or other core infrastructure; a frustrated or escalating client; a missed patch relevant to ransomware.

When signals point to different bands, use the highest band that applies.

Actions:
1. Always leave an internal note, plain text, in this format:
PATCH TRIAGE REPORT
Score: <X>/100
Action required: <YES or NO>
Reason: <1 to 2 sentences>
Recommendation: <AUTO-CLOSE, MONITOR, ASSIGN TO TECH or ESCALATE>
Endpoint: <device from the title>
App failed: <patch or app name, if visible>
Repeat failures in 30 days: <n>
Disposition: <Closed automatically, score 30 or below | Kept open for technician review>
2. Score 30 or below: also change the status to your automated-closed status for this board (look it up; never guess an ID).
3. Score above 30: the note only. Do not change the status, priority or anything else.

If the endpoint or app cannot be identified from the ticket, score it at least 31 and keep it open. Never invent a device, app or failure count. Never contact the client.

As a Flow: your entire reply is the note.
```
49 changes: 49 additions & 0 deletions skills/automation-and-flows/intake-skill-orchestrator/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
name: Intake Skill Orchestrator
description: Run a fixed, ordered list of your intake skills against one new ticket, where each skill judges the ticket independently and an already-classified guard stops later skills overriding earlier ones.
category: Automation & Flows
tools: [load_skill, search_tickets]
connectors: []
scope: single
flow: yes
role: [Service & Ops Manager, Dispatcher]
outcome: [Time & Cost Savings (Capacity), Fewer Escalations & Less Noise]
---

# Intake Skill Orchestrator

**When to use:** You have built several single-purpose intake skills (spam check, noise check, client reassignment, duplicate check, vendor outage check) and keep adding a Flow per skill, which makes the ordering unpredictable. You want one Flow that fires once and runs them in a defined order.

**Run it:** on one ticket · or as a Flow (when a ticket is created in your intake). Replace the numbered list with your own saved skill names, and add the guard described below to the top of each one.

## Prompt

```
You are the intake orchestrator. Run these saved skills against this ticket, in this order, one at a time:

1. <Client-specific rule skill, e.g. password-expiry notices>
2. <Client-specific rule skill, e.g. DNS filter unblock requests>
3. <Reassign ticket to the correct client>
4. <Compliance request rule>
5. <Spam checker>
6. <Noise and auto-acknowledgement checker>
7. <Duplicate hunter>
8. <Vendor outage checker>

Scope: skills 1, 2, 3, 5 and 6 apply only to tickets for <the client or intake mailbox they were built for>; skip them for anything else. Skills 4, 7 and 8 apply to every client.

How to run them:
- Load each skill and follow its instructions fully before moving to the next. Do not run two at once.
- Each skill evaluates the ticket on its own terms. A skill may change the ticket only when the ticket clearly meets that skill's criteria. If it does not match, that skill makes no changes and you move on.
- Never treat one skill's "no match" as evidence for another classification.
- Every skill favours avoiding false positives over processing more tickets.
- Re-read the ticket before each skill, because an earlier skill may have changed it.

The already-classified guard: every skill in this list (except the duplicate hunter) starts by checking whether an earlier skill already classified the ticket, by its relabelled title or its classification note, and stops if so. That guard, not this orchestrator, is what prevents a later skill from overriding an earlier match. The duplicate hunter always runs, because a duplicate can also be spam or noise.

If a skill cannot be found or fails, note which one and continue with the next; never guess what the missing skill would have done.

Finish with a one-line run summary per skill: "<skill>: matched and <action> | no match | skipped (out of scope) | skipped (already classified) | failed: <reason>".

As a Flow: your entire reply is that run summary. Never contact the client from this orchestrator; only the individual skills may do that, under their own rules.
```
49 changes: 49 additions & 0 deletions skills/documentation/pre-work-documentation-briefing/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
name: Pre-Work Documentation Briefing
description: Before an engineer starts a ticket, pull the client's own IT Glue or Hudu documentation for the symptoms, drop archived and draft articles, flag conflicts and gaps, and post a short briefing.
category: Documentation
tools: [search_tickets, search_clients, search_itglue, search_hudu, add_ticket_note]
connectors: [IT Glue, Hudu]
scope: single
flow: yes
role: [Technician]
outcome: [Faster Resolution & Response, Staff Enablement]
---

# Pre-Work Documentation Briefing

**When to use:** Technicians skip the documentation platform because searching it is slow, then solve problems that already have an SOP. You want every new ticket to arrive with the client's relevant documents, a confidence read, and a clear note when nothing exists.

**Run it:** on one ticket · or as a Flow (when a ticket is created on your service boards).

## Prompt

```
Give the technician a documentation briefing for this ticket before they start.

1. Read the ticket with its full thread: what was reported, the affected system or app, and any error text word for word. Identify the client company; if the ticket is on a catchall or shared board, look for the client named in the title or description. No client identified: post "Documentation briefing skipped: client could not be identified." and stop. If the ticket is closed, stop with no note.

2. Search the client's documentation (IT Glue, or Hudu if that is what this desk uses) scoped to that client, using keywords from the symptoms, the system and the error text. If a scoped search returns nothing, retry once without the client scope, but keep only results clearly marked as shared across the MSP or global. Never include another client's documents.

3. Filter hard:
- Drop anything archived, retired, draft or under review. Do not list them even as a maybe.
- Age alone does not disqualify an article; only its status does.
- Keep only articles that address the reported symptoms, not just the same general topic.
- If two current articles contradict each other, say so; never silently pick one.
- Keep at most 5.

4. Post one internal note, plain text, no markdown or emojis:
DOCUMENTATION BRIEFING
Ticket: <1 to 2 sentences, including any verbatim error>
Relevant documentation:
- <article name> <link> : <one line on what it says to do>
Conflict: <article A> and <article B> disagree on <point>. Review both. (only if found)
Match confidence: <Strong, Partial or None>
Documentation gap: No current documentation covers these symptoms. Flag for a KB update after resolution. (only if none)
Suggested starting point: <one line, e.g. confirm X before following article Y>
Internal use only.

Rules: only list documents the search actually returned, with their real links; never invent a title, URL or step. No pricing, contract or SLA details. Never reply to the client. Never change the status, priority or owner. If the documentation connector is not available, post "Documentation briefing skipped: no documentation connector enabled." and stop.

As a Flow: your entire reply is the note.
```
45 changes: 45 additions & 0 deletions skills/finance-and-billing/ai-work-time-capture/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: AI Work Time Capture
description: When a ticket completes, log a time entry for the support work your AI agent demonstrably performed, backed by evidence in the thread, and assign the AI member as primary resource on zero-touch tickets.
category: Finance & Billing
tools: [search_tickets, log_time_entry, update_ticket]
connectors: []
scope: single
flow: yes
role: [Service & Ops Manager, MSP Owner / Leadership]
outcome: [Time & Cost Savings (Capacity), Retention & Growth (CSAT/Expansion)]
---

# AI Work Time Capture

**When to use:** Your triage agent resolves or advances tickets, but because no human logs time, that work is invisible in PSA reports, agreement burn-down and client reviews. You want an evidence-based time entry under a dedicated AI member, never an inflated default.

**Run it:** on one ticket · or as a Flow (when a ticket's status changes to your completed status on the support boards). Create a PSA member for your AI agent first and put its name in the prompt.

## Prompt

```
Log the time our AI agent actually spent on this ticket, and only that. The AI member is <AI member name>. Work type: <your work type, e.g. Dispatch>.

1. Verify AI involvement first; stop if either check fails, with no time entry.
- The ticket has an AI triage agent session.
- The thread contains messages written by the AI agent.

2. Work out time actually spent. Count only active support work by the AI agent: reviewing the request, asking and reading diagnostic questions, gathering information, troubleshooting, running a workflow, giving a resolution, or preparing a technician handoff.
Do not count: retitling, categorising, priority changes, recaps, reminder or follow-up nudges, other automated field updates, time spent waiting, or any technician work after the AI handed off.
Evidence: every action you list must trace to an AI-authored message in the thread or a confirmed step in the triage session. Never infer actions from the ticket summary, the customer's message or a technician's notes, and never credit work a technician describes.
Estimate conservatively, per action. No default times, no rounding up. If the total is under 2 minutes, or the evidence is thin, log nothing.

3. Log one time entry, internal, against the AI member and work type above:
"Assisted support performed by <AI member name>
Actions performed:
- <action> : ~<X> min
Total time logged: <X> minutes"
Do not add a separate ticket note.

4. Zero-touch assignment. The ticket is zero-touch if no human member wrote a technician note and no human member logged time (the AI member's own notes and entries, and API-posted notes, do not count as human). If it is zero-touch AND nobody is assigned, make the AI member the primary resource. If anyone is already assigned, leave it exactly as it is.

Never log time twice: if a time entry from the AI member already exists on this ticket, stop. Never change status, priority, board or billing settings. Never invent an action or a duration.

As a Flow: reply with one line only: "Logged <X> min" or "No time logged: <reason>", plus "Assigned AI as primary resource" when step 4 applied.
```
50 changes: 50 additions & 0 deletions skills/security/identity-alert-history-check/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
name: Identity Alert History Check
description: On a new identity or EDR alert, look back 90 days for prior alerts of the same type for the same user and client, check for a reported trip on unexpected-country alerts, and post the history as an internal note.
category: Security
tools: [search_tickets, add_ticket_note]
connectors: []
scope: single
flow: yes
role: [Security & Compliance Owner, Technician]
outcome: [Faster Resolution & Response, Risk & Compliance]
---

# Identity Alert History Check

**When to use:** An identity or EDR alert arrives ("Unexpected country: Denmark by jane@client.com", "Unexpected VPN: <provider>", "Critical incident on host") and the analyst's first question is whether this has happened before, or whether the user told you they were travelling.

**Run it:** on one ticket · or as a Flow (when a ticket is created from your ITDR or EDR vendor, such as Huntress, Blackpoint or SentinelOne).

## Prompt

```
Give the analyst this alert's history before they start. Read-only apart from one internal note.

1. Parse the title. Extract:
- Alert type, e.g. "Unexpected Country", "Unexpected VPN", "Critical Incident".
- The identity: the full email address in the title (or the hostname for device alerts).
- A short subtype keyword: the country, the VPN provider, or the incident descriptor.
- The country, only for unexpected-country alerts.
Common shapes: "<Vendor> <Product> <Severity> Unexpected Country - <Country> by <email> (<Company>)", "<Vendor> <Product> <Severity> Unexpected VPN - <VPN> by <email> (<Company>)", "<Vendor> <Product> Critical Incident ... on <email or host> (<Company>)". If you cannot extract an identity, post "Alert history check skipped: no user or device identified in the title." and stop.

2. Use the client on the ticket itself. Do not parse the company from the title or search for it.

3. Search this client's tickets from the last 90 days, any status, using two short separate search terms, the identity and the subtype keyword. Do not search on the whole title as one phrase; long exact phrases miss matches. Exclude this ticket. If a search may have hit its result cap, say so.

4. Unexpected-country alerts only: search this client's tickets from the last 30 days for the identity plus the country and travel words (travel, vacation, trip, OOO, out of office). Keep only tickets that plausibly show the user reported travel to that country.

5. Post one internal note, plain text:
ALERT HISTORY (last 90 days)
Alert type: <type> | Identity: <identity> | Client: <client>
Prior alerts found: <n>
- #<ticket> <summary> | <date> | <status>
(or) This is the first alert of this kind for this identity in the last 90 days.
Expected travel (last 30 days, <country>): <n> (unexpected-country alerts only)
- #<ticket> <summary> | <date> | <status>
(or) No travel to <country> reported in the last 30 days.

Report what you found; do not judge whether the alert is malicious, and never close, merge, reprioritise or reassign. Never invent a ticket or date. Never contact the user.

As a Flow: your entire reply is the note.
```
51 changes: 51 additions & 0 deletions skills/security/soc-alert-duplicate-merge/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
name: SOC Alert Duplicate Merge
description: Close a new SOC or SIEM alert into an older open ticket only when the affected user or device matches exactly and the alert context is the same, checking referenced ticket and SOC case numbers first.
category: Security
tools: [search_tickets, list_ticket_statuses, update_ticket, add_ticket_note]
connectors: []
scope: single
flow: yes
role: [Security & Compliance Owner, Dispatcher]
outcome: [Fewer Escalations & Less Noise, Faster Resolution & Response]
---

# SOC Alert Duplicate Merge

**When to use:** Your SOC or MDR provider sends the same detection several times (a new email per update, a reply that spawns a ticket, the same impossible-travel alert twice in a day) and analysts end up investigating one incident across three tickets.

**Run it:** on one ticket · or as a Flow (when a ticket is created on the SOC alert board). Run it after the ticket's company has been corrected; it trusts the company on the ticket.

## Prompt

```
Duplicate check for one SOC alert ticket per run. Never work a queue. Assume the company and contact on this ticket are already correct.

Settings: look back 7 days; stop and flag if more than 50 candidates.

1. Preflight, no writes. Stop if the ticket is not on the SOC alert board, is closed, or already has a note from this skill ("SOC-DEDUP-DONE" or "SOC-DEDUP-PARENT").

2. Extract the affected identity, no writes:
- Pipe-delimited SIEM titles ("Priority | Company | Description | Affected"): the last segment, including when wrapped in [EXTERNAL] or "Re:".
- "Compromise suspected: Name (email)": the email.
- "High severity alert: ... on HOST": the hostname.
- Otherwise the first email, else the first hostname, in the summary or description.
- Empty or "Unknown": check the Executive Summary section, then notes oldest first.
Normalise to lowercase; hostnames short-name only. An email never equals a hostname. Still nothing: flag "Affected identity could not be determined" and stop.
Also record any "Re: Ticket# N" number and any SOC case reference, e.g. "1234567:48522".

3. Find candidates, no writes. Keep only open tickets on this board, same company, created within 7 days, not this ticket. A match needs BOTH an exact identity match AND the same alert context (same rule or detection name, same system or threat category). Ignore prefixes, bracket tags and whitespace. Company plus context alone is never enough. Doubt means discard.
Check in order and stop at the first hit: the referenced ticket number, then the SOC case reference (search each half), then the identity scoped to the company, then a standard same-company search.

4. Decide. The parent is the oldest match (lowest ID on a tie). If this ticket is the oldest, do nothing. If a match is already closed as a duplicate, follow it to its root parent. Never cascade merges.

5. Writes, in order, stop on first failure:
a. Change this ticket's status to your automated-closed status (look it up).
b. Note on the parent: "Duplicate #<child> merged into this thread. Company <co>, alert <recap>, affected <identity>. Path: <path>. SOC-DEDUP-PARENT"
c. Note on this ticket: "Closed as duplicate of #<parent>. Company <co>, alert <recap>, affected <identity>. Path: <path>. SOC-DEDUP-DONE"
If (a) succeeds but a note fails, add "MANUAL REVIEW REQUIRED: status changed, notes incomplete" and stop.

Flag = one note "MANUAL REVIEW REQUIRED: <reason>. SOC-DEDUP-DONE", status unchanged.

Only this ticket may be closed. Never close or edit the parent beyond its one note. Never retry a write. As a Flow, your reply is the note or run summary only.
```
Loading
Loading