cxas-loss-analysis
Installation
SKILL.md
Insights Loss Analysis & Report Generator
This skill instructs you (the AI Agent) to retrieve recent conversations from CCAI Insights, isolate escalated/non-contained sessions (losses), analyze their root causes to group them into failure patterns, and write a professional Markdown report.
Execution Routine
Follow these steps in exact sequence:
Step 1: Parameter Verification
Verify that the user has provided the following required parameters:
project_id: GCP Project ID hosting Insights.location: Insights location (e.g.,us).app_id: Target CXAS App ID (e.g.,db9ee866-28db-458b-b835-78137c974779).output_dir: Directory where the final report and test cases will be saved.