usage-monitor

Detects anomalies in LTX Studio metrics by comparing yesterday's values to the last 10 same-day-of-week data points.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Lightricks/ltx-analytics-agents --skill usage-monitor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: usage-monitor
Source: https://github.com/Lightricks/ltx-analytics-agents/tree/main/agents/monitoring/usage
Command: npx skills add https://github.com/Lightricks/ltx-analytics-agents --skill usage-monitor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-cloud-bigquery.

What problem does it solve?

Monitor LTX Studio usage data to automatically detect unusual patterns and spikes, enabling proactive alerts and insights.

Core Features & Use Cases

  • 3σ anomaly detection across segments and metrics (DAU, tokens, image_gens, video_gens)
  • Weekend alert suppression for Enterprise segments
  • Root-cause orientation with segment-level insights to guide actions
  • Outputs include current value, mean, stddev, and z-score for each metric

Quick Start

Run the usage_monitor.py script to analyze yesterday's data and surface any anomalies.

Frequently Asked Questions about usage-monitor

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

FAQPage Schema
How do I detect usage anomalies in daily metrics like DAU and tokens?

You can detect usage anomalies by comparing yesterday's metrics against the last 10 same-day-of-week data points using a 3σ threshold, surfacing deviations in DAU, tokens, image_gens, and video_gens.

How does 3σ anomaly detection work for time-series usage data?

3σ anomaly detection calculates mean and standard deviation via an ARRAY_AGG window over historical data, flagging current values whose z-score exceeds three standard deviations from the expected mean.

Do I need BigQuery to run automated usage monitoring and alerting?

Yes, BigQuery is required. The automated usage monitoring queries BigQuery to calculate statistical baselines and evaluate current metrics against historical same-day-of-week data segments.

Can I suppress weekend alerts for enterprise segments?

Yes, weekend alert suppression is supported for enterprise segments, preventing false anomaly triggers during expected low-activity periods while maintaining continuous monitoring for non-enterprise segments.

What is the best way to investigate root causes of engagement shifts?

Root-cause investigation leverages segment-level insights, reporting current value, mean, stddev, and z-score for each metric and segment to guide targeted actions for engagement shifts.

Why does my usage monitoring not flag a sudden drop in tokens?

A sudden drop may not be flagged if it occurs on a weekend for an enterprise segment due to alert suppression, or if the z-score does not breach the 3σ threshold compared to same-day-of-week historical data.