skills/itsm/suggested-steps/SKILL.md
Generate suggested resolution steps for incidents based on category, symptoms, historical similar tickets, and knowledge base articles
npx skillsauth add happy-technologies-llc/happy-servicenow-skills itsm-suggested-stepsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill generates actionable resolution steps for incidents by analyzing the incident's category, symptoms, and description, then cross-referencing with historical similar tickets, knowledge base articles, and related changes or problems. It provides agents with a structured troubleshooting plan.
When to use: When an agent picks up an incident and needs guidance on how to resolve it, especially for unfamiliar issue types or when standard runbooks do not apply.
itil or incident_managercom.snc.incident (Incident Management), com.glide.knowledge (Knowledge Management)incident, kb_knowledge, sn_si_incident, change_request, problemRetrieve the incident and extract key diagnostic information.
Using MCP (Claude Code/Desktop):
Tool: SN-Query-Table
Parameters:
table_name: incident
query: number=[incident_number]
fields: sys_id,number,short_description,description,category,subcategory,priority,impact,urgency,cmdb_ci,assignment_group,caller_id,contact_type,state
limit: 1
Using REST API:
GET /api/now/table/incident?sysparm_query=number=[incident_number]&sysparm_fields=sys_id,number,short_description,description,category,subcategory,priority,impact,urgency,cmdb_ci,assignment_group,caller_id,contact_type,state&sysparm_limit=1
Extract from the incident:
Query published KB articles matching the incident's symptoms and category.
Using MCP:
Tool: SN-NL-Search
Parameters:
table_name: kb_knowledge
query: "[incident short_description keywords] [category]"
fields: sys_id,number,short_description,text,kb_category,rating,sys_view_count,workflow_state
limit: 10
Using REST API:
GET /api/now/table/kb_knowledge?sysparm_query=workflow_state=published^active=true^short_descriptionLIKE[keyword1]^ORshort_descriptionLIKE[keyword2]^ORtextLIKE[keyword1]&sysparm_fields=sys_id,number,short_description,text,kb_category,rating,sys_view_count&sysparm_limit=10
Rank KB articles by relevance:
| Rank | Article | Relevance | Rating | Views | |------|---------|-----------|--------|-------| | 1 | KB0012345 | 92% - exact symptom match | 4.5/5 | 1,240 | | 2 | KB0012350 | 78% - related category | 4.2/5 | 890 | | 3 | KB0012367 | 65% - partial keyword match | 3.8/5 | 450 |
Query resolved incidents with similar descriptions for proven resolution paths.
Using MCP:
Tool: SN-Query-Table
Parameters:
table_name: incident
query: state=6^category=[category]^short_descriptionLIKE[primary_keyword]^resolved_atONLast 180 days@javascript:gs.daysAgoStart(180)@javascript:gs.daysAgoEnd(0)
fields: sys_id,number,short_description,close_notes,close_code,resolution_code,resolved_by,category,subcategory,assignment_group
limit: 15
Using REST API:
GET /api/now/table/incident?sysparm_query=state=6^category=[category]^short_descriptionLIKE[primary_keyword]^resolved_atONLast 180 days@javascript:gs.daysAgoStart(180)@javascript:gs.daysAgoEnd(0)&sysparm_fields=sys_id,number,short_description,close_notes,close_code,resolution_code,resolved_by,category,subcategory,assignment_group&sysparm_limit=15
Analyze close_notes from similar incidents to extract common resolution steps.
Determine if a recent change or known problem is causing or related to the incident.
Using MCP:
Tool: SN-Query-Table
Parameters:
table_name: change_request
query: cmdb_ci=[incident_cmdb_ci]^stateINimplemented,review^end_dateONLast 7 days@javascript:gs.daysAgoStart(7)@javascript:gs.daysAgoEnd(0)
fields: sys_id,number,short_description,state,end_date,type,risk
limit: 5
Tool: SN-Query-Table
Parameters:
table_name: problem
query: active=true^cmdb_ci=[incident_cmdb_ci]^ORcategory=[incident_category]
fields: sys_id,number,short_description,known_error,workaround,state
limit: 5
Using REST API:
GET /api/now/table/change_request?sysparm_query=cmdb_ci=[incident_cmdb_ci]^stateINimplemented,review^end_dateONLast 7 days@javascript:gs.daysAgoStart(7)@javascript:gs.daysAgoEnd(0)&sysparm_fields=sys_id,number,short_description,state,end_date,type,risk&sysparm_limit=5
GET /api/now/table/problem?sysparm_query=active=true^cmdb_ci=[incident_cmdb_ci]^ORcategory=[incident_category]&sysparm_fields=sys_id,number,short_description,known_error,workaround,state&sysparm_limit=5
If available, retrieve AI-generated insights from the incident intelligence table.
Using MCP:
Tool: SN-Query-Table
Parameters:
table_name: sn_si_incident
query: incident=[incident_sys_id]
fields: sys_id,incident,similar_incidents,suggested_resolution,root_cause_analysis
limit: 1
Using REST API:
GET /api/now/table/sn_si_incident?sysparm_query=incident=[incident_sys_id]&sysparm_fields=sys_id,incident,similar_incidents,suggested_resolution,root_cause_analysis&sysparm_limit=1
Compile findings into a structured resolution plan:
=== SUGGESTED RESOLUTION STEPS ===
Incident: INC0067890
Issue: Outlook not syncing emails on Windows 11 laptop
Category: Software > Email
RELATED FINDINGS:
- KB Article: KB0012345 - "Outlook Sync Issues on Windows 11" (92% match)
- Similar Incidents: 14 resolved in last 90 days (avg resolution: 45 min)
- Recent Change: CHG0045678 - Exchange server patch applied 3 days ago
- Known Problem: None
RESOLUTION PLAN:
Step 1: Verify Connectivity (Confidence: HIGH)
Action: Confirm user has network/internet access. Test by opening a browser.
Source: Standard troubleshooting baseline
Est. Time: 2 minutes
Step 2: Restart Outlook in Safe Mode (Confidence: HIGH)
Action: Close Outlook. Run "outlook.exe /safe" from Run dialog.
Check if syncing resumes in safe mode.
Source: KB0012345 (Step 1)
Est. Time: 3 minutes
Step 3: Clear Outlook Cache (Confidence: HIGH)
Action: Close Outlook. Navigate to %localappdata%\Microsoft\Outlook\
Delete .ost file. Reopen Outlook to rebuild cache.
Source: KB0012345 (Step 3), INC0067001 close notes
Est. Time: 10 minutes
Step 4: Check Exchange Connectivity (Confidence: MEDIUM)
Action: Run "Test-OutlookConnectivity" in PowerShell or use
Microsoft Remote Connectivity Analyzer. Verify autodiscover is working.
Source: 8/14 similar incidents resolved at this step
Est. Time: 5 minutes
Step 5: Review Recent Change Impact (Confidence: MEDIUM)
Action: Check if CHG0045678 (Exchange patch) introduced compatibility
issues. Contact Exchange team if Steps 1-4 do not resolve.
Source: Change correlation
Est. Time: 10 minutes
ESCALATION PATH:
If Steps 1-5 do not resolve: Escalate to Messaging Team (Exchange Support)
with diagnostic results from each step documented in work notes.
Write the suggested steps as a work note on the incident.
Using MCP:
Tool: SN-Add-Work-Notes
Parameters:
sys_id: [incident_sys_id]
work_notes: "[generated resolution plan from Step 6]"
Using REST API:
PATCH /api/now/table/incident/{sys_id}
Content-Type: application/json
{
"work_notes": "[generated resolution plan from Step 6]"
}
After the incident is resolved, compare the actual resolution with suggested steps:
Using MCP:
Tool: SN-Query-Table
Parameters:
table_name: incident
query: sys_id=[incident_sys_id]^state=6
fields: sys_id,number,close_notes,close_code,resolution_code
limit: 1
Track metrics:
| Tool | Purpose | When to Use |
|------|---------|-------------|
| SN-NL-Search | Natural language search for KB articles and incidents | Symptom-based discovery |
| SN-Query-Table | Structured queries for incidents, KB, changes, problems | Core data gathering |
| SN-Update-Record | Update incident with resolution steps | Applying suggestions |
| SN-Add-Work-Notes | Post resolution plan as work notes | Agent guidance |
| SN-Get-Table-Schema | Explore table fields and relationships | Setup and discovery |
Cause: The issue is novel, or search keywords are too specific Solution: Broaden the search by using category alone without keywords, or search by CI. Consider searching problem records for known errors.
Cause: Articles reference old software versions or deprecated procedures Solution: Flag the article for review by the knowledge manager. Prefer steps from recent similar incidents over old KB articles.
Cause: Incident description is vague or misleading Solution: Recommend the agent gather more information from the caller before proceeding. Add a "Step 0: Verify symptoms with caller" to the resolution plan.
Cause: Common issue type with multiple valid resolution paths Solution: Group similar incidents by close_code and resolution_code. Rank resolution paths by frequency (most common = highest confidence).
Incident: INC0067891 - "Cannot connect to VPN, error 812"
Suggested Steps:
Incident: INC0067892 - "SAP GUI showing 'No logon possible' error"
Suggested Steps:
Incident: INC0067893 - "New procurement tool showing blank screen after latest update"
Suggested Steps:
Note: Suggested resolution plan has lower confidence due to no KB coverage and no similar historical incidents. Recommend creating a KB article after resolution.
itsm/case-auto-resolve - Auto-resolve when suggested steps have very high confidenceitsm/predict-assignment - Route to correct group before generating stepsitsm/incident-triage - Triage and prioritize before resolutionknowledge/article-generation - Create KB articles from successful resolutionsknowledge/content-recommendation - Alternative approach to finding relevant KB contentitsm/incident-sentiment - Check sentiment to prioritize which incidents get suggestions firsttesting
Manage supplier onboarding, qualification, performance monitoring, and offboarding with auditable lifecycle controls
tools
Identify emerging risks, prioritize intake signals, and route candidates into formal GRC risk assessment workflows
documentation
Screen inbound documents for completeness, policy risk, and routing readiness before extraction or case workflows
testing
Generate concise task summaries with status, timeline, blockers, SLA risk, and recommended next actions