monte-carlo-performance-diagnosis
Skill by monte-carlo-data
Diagnoses data pipeline performance issues such as slow jobs, expensive queries and latency trends using Monte Carlo observability data. Aimed at users asking about slow pipelines, expensive queries or performance regressions.
Install monte-carlo-performance-diagnosis
Built from the published package, never by AI.
git clone --depth 1 https://github.com/monte-carlo-data/mc-agent-toolkit /tmp/mc-agent-toolkit && mkdir -p ~/.claude/skills && cp -r /tmp/mc-agent-toolkit/skills/performance-diagnosis ~/.claude/skills/monte-carlo-performance-diagnosisRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install monte-carlo-performance-diagnosis in Claude Code
git clone --depth 1 https://github.com/monte-carlo-data/mc-agent-toolkit /tmp/mc-agent-toolkit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/mc-agent-toolkit/skills/performance-diagnosis ~/.gemini/antigravity-cli/skills/monte-carlo-performance-diagnosisAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install monte-carlo-performance-diagnosis in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Performance Diagnosis is a skill for AI assistants that investigates data pipeline performance using Monte Carlo's cross-platform observability data. It covers Airflow, dbt, Databricks and warehouse query engines, and aims to find bottlenecks, detect regressions and identify root causes.
It follows a tiered approach: discovery of slow jobs and expensive queries, a bridge from jobs to affected tables, then drill-down into tasks, query failures, latency trends and lineage. It activates when a user asks about slow pipelines, expensive queries or performance regressions. It is not used for data quality, storage costs or monitor creation. Its reference files cover the investigation tiers and query analysis patterns. Monte Carlo's MCP tools are called through the plugin's bundled server.
Written from the project's SKILL.md and checked against it.
What it can do
- get_jobs_performanceFinds slow or failing jobs across Airflow, dbt and Databricks.
- get_query_perf_profileFinds the slowest query groups by total runtime.
- get_tables_for_jobConverts job identifiers into the table identifiers needed for diagnosis.
- get_tasks_performanceDrills into a job's individual tasks to find the bottleneck.
- get_change_timelineShows query changes, volume shifts and task or model failures in one timeline.
- get_query_rcaGives root cause analysis for failed and futile queries.
- get_query_latency_distributionShows latency trends over time to spot step-change regressions.
- get_asset_lineageTraces upstream and downstream impact of a slow table.
- get_warehousesLists available warehouses and matches them to the user's context.
What you need
- Access to Monte Carlo's MCP server
Try asking
- Why is my Airflow pipeline slower than it was last week?
- What are the most expensive read queries in my warehouse this week?
- Find performance regressions in my dbt jobs and their root causes.
Good to know
- Does not handle data quality issues, storage costs or monitor creation; other skills cover those.
- Trend comparisons with less than 0.1 confidence are flagged rather than trusted.
- Should use the bundled plugin server, not a separately configured monte-carlo-mcp server.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/performance-diagnosis/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to monte-carlo-performance-diagnosis
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
monte-carlo-performance-diagnosis: common questions
Which platforms does this skill cover?
It works across Airflow, dbt, Databricks and warehouse query engines. It notes which platform each finding comes from.
How does it tell a real regression from normal variance?
It compares findings to 7-day trend data (runDurationTrend7d). It flags trend data with less than 0.1 confidence.
When should I use a different skill instead?
Use the prevent skill for data quality issues, storage-cost-analysis for storage costs, and monitoring-advisor for creating monitors.
How do I install monte-carlo-performance-diagnosis?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is monte-carlo-performance-diagnosis free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is monte-carlo-performance-diagnosis safe to use?
It scores 67 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to monte-carlo-performance-diagnosis?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
