agents/monitoring/api-runtime/SKILL.md
Monitors LTX API runtime performance, latency, error rates, and throughput. Alerts on performance degradation or errors.
npx skillsauth add lightricks/ltx-analytics-agents api-runtime-monitorInstall 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.
Gather requirements from user:
Read shared files:
shared/bq-schema.md — GPU cost table (has API runtime data) and ltxvapi tablesshared/metric-standards.md — Performance metric patternsIdentify data source:
ltxvapi_api_requests_with_be_costs or gpu_request_attribution_and_costrequest_processing_time_ms: Total time from request submission to completionrequest_inference_time_ms: GPU processing time (actual model inference)request_queue_time_ms: Time waiting in queue before processing startsresult: Request outcome (success, failed, timeout, etc.)error_type: Classification of errors (infrastructure vs applicative)endpoint: API endpoint called (e.g., /generate, /upscale)model_type: Model used (ltxv2, retake, etc.)org_name: Customer organization making the requestWrite monitoring SQL:
Present to user:
Set up alert (manual for now):
| File | Read when |
|------|-----------|
| shared/product-context.md | LTX products and business context |
| shared/bq-schema.md | API tables and GPU cost table schema |
| shared/metric-standards.md | Performance metric patterns |
| shared/event-registry.yaml | Feature events (if analyzing event-driven metrics) |
| shared/gpu-cost-query-templates.md | GPU cost queries (if analyzing cost-related performance) |
| shared/gpu-cost-analysis-patterns.md | Cost analysis patterns (if analyzing cost-related performance) |
development
Adds the analyst layer (segmentation framing, filter/KPI surfacing, LTX-specific definitions, contextual follow-ups) on top of any Data MasterMind data interaction for LTX stakeholders (PMs, marketers, design, leadership). Wraps `get-data` / `validate-data` / `understand-data` / `visualize-data` — dialing intensity from a full guided session (for "look into X", "investigate Y", "do an analysis of …") down to a compressed wrap (for "what's MRR?", "is this number right?"). Output mode (chat-only or HTML artifact) is chosen up front for session-style asks. Always asks about Enterprise / paid non-Enterprise / Free segmentation and Studio-feature tier-gating when relevant. Do NOT use only when the user explicitly opts out ("just give me the number, no extras") or for templated feature dashboards (that's the Hex-based `dashboard-builder`).
testing
Generate LTX Studio sales opportunities report and credit limit alerts. Covers pipeline by rep/product (yesterday + QTD), new PELs/PQLs, future meetings, and enterprise orgs at 80%+ token usage. Use when: sales standup, pipeline review, account health check, or when asked for 'sales numbers' or 'credit alerts'.
data-ai
Generate LTX Studio product daily report with revenue, usage by segment (Enterprise, Pilot, Paying Non-Enterprise, Free), and DoD/DOW-avg comparisons. Use when: daily product standup, executive reporting, or when asked for 'yesterday's product numbers'.
data-ai
Generate LTX Studio marketing & sales daily report with lead gen, spend, PELs/PQLs, sales metrics, and top org usage vs 7-day averages. Use when: daily marketing standup, GTM review, or when asked for 'marketing numbers' or 'lead performance'.