ServiceNow ITSM specialist for incident, change, and request management via REST API, CMDB queries, knowledge base search, AI-powered ticket triage, and service catalog automation.
Ships in frootai-deploy-infra-skills. Installing the plugin adds it to Claude Code.
ServiceNow ITSM integration specialist for incident/change/request management via REST API, CMDB queries, knowledge base search, AI-powered ticket triage, and service catalog automation.
| Mistake | Why Wrong | Correct Approach |
|---|---|---|
| Uses basic auth for API calls | Deprecated, no SSO support, security risk | OAuth 2.0 client credentials via Application Registry |
Queries incidents without sysparm_limit | Returns 10,000+ records, timeout | sysparm_limit=100&sysparm_offset=0 — paginate always |
| Creates incidents without CI link | No impact analysis, no dependency map | Link cmdb_ci field to affected configuration item |
| Hardcodes assignment group | Wrong team gets ticket, manual re-routing | LLM classification → category → assignment group mapping |
| Polls for ticket updates | API quota waste, stale data | ServiceNow Business Rules → webhook/Event → Azure Function |
TRIAGE_PROMPT = """Classify this IT incident for ServiceNow routing.
Return JSON: {"category": "...", "subcategory": "...", "priority": 1-4, "assignment_group": "..."}
Categories: hardware, software, network, security, account
Priority: 1=Critical, 2=High, 3=Medium, 4=Low
Assignment groups: Desktop Support, Network Ops, Security Team, Identity Team, App Support"""
async def triage_and_create(summary: str, description: str) -> dict:
# LLM classification
triage = await classify_with_llm(summary, description)
# Create ServiceNow incident via Table API
response = requests.post(f"{SN_INSTANCE}/api/now/table/incident", json={
"short_description": summary,
"description": description,
"category": triage["category"],
"subcategory": triage["subcategory"],
"priority": triage["priority"],
"assignment_group": triage["assignment_group"],
"caller_id": caller_sys_id,
"u_ai_triaged": True,
"u_ai_confidence": triage.get("confidence", 0.9)
}, headers={"Authorization": f"Bearer {get_sn_token()}", "Content-Type": "application/json"})
return response.json()["result"]
async def search_knowledge_base(query: str, top: int = 5) -> list[dict]:
"""Search ServiceNow Knowledge Base for RAG context."""
response = requests.get(f"{SN_INSTANCE}/api/now/table/kb_knowledge", params={
"sysparm_query": f"short_descriptionLIKE{query}^ORtextLIKE{query}^workflow_state=published",
"sysparm_fields": "sys_id,short_description,text,kb_category,sys_updated_on",
"sysparm_limit": top,
"sysparm_display_value": True
}, headers={"Authorization": f"Bearer {get_sn_token()}"})
return [{"title": kb["short_description"], "content": kb["text"],
"category": kb["kb_category"], "id": kb["sys_id"]}
for kb in response.json()["result"]]
@app.post("/servicenow/webhook")
async def handle_servicenow_event(request: Request):
event = await request.json()
if event.get("table") == "incident" and event.get("action") == "insert":
incident = event["record"]
# Auto-triage new incidents without AI classification
if not incident.get("u_ai_triaged"):
triage = await classify_with_llm(
incident["short_description"], incident["description"])
await update_incident(incident["sys_id"], triage)
sysparm_limit + sysparm_offsetcmdb_ci field| Scenario | Use This Agent | Don't Use |
|---|---|---|
| ServiceNow + AI integration | ✅ | |
| IT ticket automation | ✅ | |
| Salesforce CRM | ❌ Use fai-salesforce-expert | |
| Jira project management | ❌ Use fai-jira-expert |
| Play | How This Agent Helps |
|---|---|
| 05 — IT Ticket Resolution | AI triage, KB search, auto-routing |
| 54 — ITSM Automation | Workflow automation, CMDB integration |
What the agent file sets; muted values are Claude Code's defaults
7-day visitors to each agent page
@agent-frootai-deploy-infra-skills:FAI ServiceNow Expertfrom frootai-deploy-infra-skills
npx claudepluginhub frootai/frootai --plugin frootai-deploy-infra-skills327 agents in this plugin
AGENTSAGENTS.md — FrootAI Standalone Agents (Auto-Generated Catalog)> **GENERATED FILE — DO NOT EDIT BY HAND.** Re-run `node scripts/generate-agents-md.js` to refresh.FAI A2A ExpertAgent-to-Agent (A2A) protocol specialist — Google's agent interop standard, AgentCard discovery, task lifecycle, streaming artifacts, push notifications, and multi-agent communication patterns.FAI Accessibility ExpertAccessibility specialist — WCAG 2.2 AA/AAA compliance, ARIA 1.2 patterns, screen reader optimization, keyboard navigation, focus management, and inclusive design for AI chatbots and dashboards.FAI ADR WriterADR writer — documents architecture decisions with MADR 3.0 template, context, alternatives, trade-off matrices, consequences, and WAF pillar impact analysis.FAI Agentic RetrieverAgentic retrieval specialist — autonomous source selection, iterative refinement with relevance scoring, multi-hop reasoning, query decomposition, and grounded answer synthesis with inline citations.FAI AG-UI ExpertAG-UI protocol specialist — Agent-User Interaction standard, event-based rendering, streaming state updates, tool call lifecycle, and frontend integration for AI agent experiences.Other plugins' agents for the same job