sn-triage

sn-triage is a skill for Claude Code from IvanBBaev/servicenow-mcp-ai. It costs 50 tokens per session (721 once invoked), scanned A, original, MIT.

A read-only first-response investigation for a failing ServiceNow record or behaviour. It checks instance health, recent errors, record history, and the automation that ran around the record.

In plain words
What is it for?
Use it when a ServiceNow record is broken, slow, or producing errors. It helps inspect logs, jobs, flows, table rules, scripts, and recent changes.
Why use it?
A failure may come from missing access, stuck jobs, changed data, or a script rather than from the visible symptom. This process narrows those possibilities without changing the instance.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the servicenow-mcp-ai plugin — 8 skills, 2 agents, 3 hooks, 1 MCP server shipped together

Good fit Use it when a ServiceNow record is broken, slow, or producing errors. It helps inspect logs, jobs, flows, table rules, scripts, and recent changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ivanbbaev/servicenow-mcp-ai/sn-triage
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add IvanBBaev/servicenow-mcp-ai --skill sn-triage
Clone the repo
git clone --depth 1 https://github.com/IvanBBaev/servicenow-mcp-ai

Made for: Claude Code.

Or install servicenow-mcp-ai, the plugin that ships this one along with the rest of its 8 skills, 2 agents, 3 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sn-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/ivanbbaev/servicenow-mcp-ai/sn-triage/github.svg)](https://agentmods.dev/skills/ivanbbaev/servicenow-mcp-ai/sn-triage)
Your own site
<a href="https://agentmods.dev/skills/ivanbbaev/servicenow-mcp-ai/sn-triage"><img src="https://agentmods.dev/badge/skills/ivanbbaev/servicenow-mcp-ai/sn-triage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sn-triage

Your own site · 80×15
<a href="https://agentmods.dev/skills/ivanbbaev/servicenow-mcp-ai/sn-triage"><img src="https://agentmods.dev/badge/skills/ivanbbaev/servicenow-mcp-ai/sn-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 721 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.00721
Opus 5.5 $0.00020 $0.00288
Sonnet 5.5 $0.00010 $0.00144
Haiku 4.5 $0.00005 $0.00072

Measured 3d ago against content hash 714cf32b9e65, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sn-triage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/sn-triage/SKILL.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

sn-triage — first look at a problem

Read-only. Every call goes through the ServiceNow MCP server with the active profile; nothing here writes to the instance.

When not to use

  • Assessing a planned change — use sn-impact; comparing environments — use sn-drift.
  • Fixing the problem — once the cause is known, the fix goes through sn-safe-write.
  • Hand-off: a long, read-heavy dig (many records, flows or scripts) goes to the sn-investigator subagent (where the client has it), so the main conversation keeps only its report.

Steps

  1. Packages: this skill calls tools from ops, history, scripts, flows and codecheck, which the default discovery profile leaves off. Read enabledPackages in servicenow_get_status; for a missing package, enable it with the server's enable_package admin tool and tell the user, or ask the operator to add it to SN_TOOL_PACKAGES. A package listed in deniedPackages cannot be enabled — skip the steps that need it and report them as not checked.
  2. Health: the same servicenow_get_status answer (profile, write mode) and servicenow_check_capabilities (what this user can read). A missing capability explains many "empty" answers.
  3. Symptoms: servicenow_read_ops with kind: "syslog" and level: "error" for the last minutes; kind: "jobs" with filter: "overdue" for stuck scheduled work; kind: "email_queue" for mail problems; kind: "transactions", "integrations" and "mid" for slow pages, failing outbound calls and MID / ECC queue trouble.
  4. The record: servicenow_get_record for the current state, then servicenow_get_record_history to see who changed which field and when.
  5. The automation that touches it: servicenow_describe_table_logic for the table's business rules, client scripts, UI policies, UI actions and ACLs, and servicenow_trace_table_event (operation: "update" or "insert") for the order they run in. servicenow_get_flow_runs shows flow executions for the record.
  6. Suspect code: servicenow_get_script and servicenow_lint_script on the script the trace points at; servicenow_search_code for an error message text.

Read the full file on GitHub · 58 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed 714cf32b9e65
  2. 8d ago Changed · +21 lines 8bc235d03ef9
  3. 11d ago Changed · +2 lines d58b2d19184d
  4. 13d ago Changed 795a1c8d0fe2
  5. 20d ago First seen · 35 lines · 50 tokens per session scan A cfa4734403b9

Subscribe to this mod's changes

sn-triage is a skill published in the GitHub repository IvanBBaev/servicenow-mcp-ai (8 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 721 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-27.

Related

Other skills, from other repositories

debugging-mutations

Verify what changed on a ServiceNow instance after a tool call — sysaudit inspection, syslog/transaction logs, session context, Flow Designer execution logs, outbound HTTP traces.

serac-labs/serac · 41 tokens

inbound-email

Handle email arriving at a ServiceNow instance — inbound email action ordering and stop-processing, the real syseventinemailaction column names, and reading sysemail when a message created no record.

serac-labs/serac · 43 tokens

instance-performance-triage

Answer "the instance is slow" or "my nightly job never ran" from ServiceNow's own telemetry — transaction logs, syslog, systrigger, progress workers, execution trackers — instead of ad-hoc scripts that add to the load.

serac-labs/serac · 55 tokens

mcp-tool-discovery

Find and call tools on this ServiceNow MCP server — the two meta-tools it starts with, why a missing session id makes every other tool unreachable, which queries actually match, and which advertised tools are not on the server at all.

serac-labs/serac · 53 tokens

background-script-execution

What actually happens when you call snowexecutescript — the Scripted REST endpoint Serac auto-deploys on first use, the scheduled-job fallback, what scheduledjobpending means, and how to get output back when the call comes home empty.

serac-labs/serac · 54 tokens

change-rollback

Undo a change already written to a ServiceNow instance — recover the prior payload from sysupdateversion, write it back without corrupting it, and know which damage update set back-out, Deleted Records, or nothing at all can reverse.

serac-labs/serac · 51 tokens