ticket-category-analysis

Categorize free-text support tickets into a taxonomy and generate HTML dashboards and PowerPoint reports.

11|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/qa-aman/next-leap-claude-code --skill ticket-category-analysis-qa-aman
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ticket-category-analysis
Source: https://github.com/qa-aman/next-leap-claude-code/tree/main/.claude/skills/ticket-category-analysis
Command: npx skills add https://github.com/qa-aman/next-leap-claude-code --skill ticket-category-analysis-qa-aman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, openpyxl, python-pptx, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Support tickets arrive as free text with no category, forcing someone to read each description and sort it into buckets by hand, which is slow, inconsistent, and delays every month-on-month volume report management relies on. ## Core Features & Use Cases - Measured Categorization: Classifies tickets into a 3-tier taxonomy (Category > Subcategory > Issue Type) with deduplication, confidence levels, and accuracy scored against a hand-labelled answer key. - Interactive HTML Dashboard: Produces a self-contained, emailable report with month-on-month trends, SLA pressure, agent-hour analysis, and drill-down to raw ticket descriptions. - Management PowerPoint Deck: Builds a nine-slide decision deck with an automation shortlist based on explicit thresholds (volume, resolution-time spread, P1/P2 share). - Use Case: Export three months of ServiceNow or Zendesk tickets, run the pipeline, and present leadership with which subcategory to automate, backed by measured categorization accuracy. ## Quick Start Categorize the tickets in my helpdesk export and build the monthly trend report and management deck.

Frequently Asked Questions about ticket-category-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I categorize support tickets automatically?▼

Export tickets with Ticket ID, Month, and Description columns, then run prepare_batches.py to deduplicate descriptions into cases. Classify each batch into the taxonomy paths, and apply_classification.py validates every path and scores accuracy against an answer key if one exists.

How to build a monthly ticket volume report for management?▼

Run analyze.py on the categorized workbook to produce a self-contained interactive HTML dashboard, then build_deck.py to generate a nine-slide PowerPoint. Both draw numbers from the same metrics module so the deck cannot disagree with the dashboard.

Does this work with ServiceNow or Zendesk exports?▼

Yes, any helpdesk export works as long as it contains Ticket ID, Month, and Description columns. If headers differ, pass a column map like --column-map 'number=Ticket ID' and optional columns such as Priority or SLA Met simply unlock extra report sections.

What happens if there is no answer key for accuracy scoring?▼

The pipeline reports that accuracy was not measured rather than pretending it passed. Hand-label 200 to 300 tickets into an Answer Key sheet with true L1, L2, and L3 values, then rerun to get a real accuracy number per category and confidence band.

Why should Assignment Group be excluded from classification?▼

Assignment Group usually maps one-to-one onto the category because the desk already routed the ticket, so feeding it to the classifier means reading the answer off the routing. The resulting accuracy score measures nothing about text-based categorization.

How does the automation shortlist decide what to automate?▼

A subcategory must clear three explicit checks: at least 12 tickets in the latest month, resolution-time spread of 3 hours or less, and no more than 25% P1 or P2 tickets. Thresholds are overridable via flags, and the report shows actual values beside each check.