monte-carlo-analyze-root-cause
What it does
This tool helps uncover the cause of data problems like delays, unexpected changes, or failures. It investigates the issue using specific tools to find the root cause.
When to use it
- ✓When a data alert appears.
- ✓If you notice a data table is incorrect.
- ✓To understand why a data process failed.
Skill link
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/monte-carlo-analyze-root-cause/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Investigate the volume alert for the 'sales' table that occurred today.”
5 new skills a week. 1 minute to read.
How it works
The tool uses information about your data and analysis tools to trace the problem. It checks alerts, table history, and even recent code changes if possible.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Bundled upstream support
Supporting files are included at skill-relative paths. See UPSTREAM-NOTICE.md for their pinned sources, licenses, hashes, and import changes.
When to Use
- Use when the user goal matches this upstream workflow.
Monte Carlo Root Cause Analysis Skill
This skill helps investigate data incidents — freshness delays, volume anomalies, schema changes, field metric drift, and ETL failures — by guiding the agent through a systematic investigation using Monte Carlo's MCP tools. It combines observability metadata with optional direct data querying to find the root cause.
Monte Carlo tool routing (required): Always call Monte Carlo MCP tools through this plugin's bundled server, whose fully-qualified tool names are
mcp__plugin_mc-agent-toolkit_monte-carlo-mcp__<tool>(e.g.mcp__plugin_mc-agent-toolkit_monte-carlo-mcp__get_alerts). Bare tool names used in this skill (get_alerts,search,get_table, …) refer to that bundled server. If the session also has a separately-configuredmonte-carlo-mcpserver, do not route to it — it may point at a different endpoint or credentials.
Reference files live next to this skill file. Use the Read tool (not MCP resources) to access them:
- Investigation playbooks by issue type:
references/<type>-investigation.md - Data exploration patterns:
references/data-exploration.md - Intake when no incident ID:
references/intake-no-incident.md - Common root cause catalog:
references/common-root-causes.md
When to activate this skill
Activate when the user:
- Mentions a Monte Carlo alert, incident, or anomaly
- Asks "why is this table stale?" or "why did row count drop?"
- Wants to investigate a data quality issue
- Asks about freshness, volume, or schema problems
- Mentions pipeline failures (Airflow, dbt, Databricks)
- Says things like "debug this alert", "investigate this incident", "root cause analysis"
When NOT to activate this skill
Do not activate when the user is:
- Creating monitors (use the monitoring-advisor skill)
- Running impact assessments before code changes (use the prevent skill)
- Looking at storage costs (use the storage-cost-analysis skill)
- Exploring pipeline performance without a specific incident (use the performance-diagnosis skill)
Prerequisites
Required: Monte Carlo MCP server (integrations.getmontecarlo.com/mcp) must be configured and authenticated.
Optional but recommended:
- Database MCP server (Snowflake, BigQuery, Redshift, Databricks) — enables direct SQL queries for deeper data investigation. Without this, the skill can still analyze using MC's metadata tools but cannot profile actual data.
- GitHub MCP server — enables searching for recent PRs that may have caused the issue. Without this, the skill falls back to MC's query change detection.
MCP Tools Used
From Monte Carlo MCP server
| Tool | Purpose |
|---|---|
get_alerts |
Fetch incident/alert details |
search |
Find tables by name or keyword |
get_table |
Table metadata and fields |
get_asset_lineage |
Table-level upstream/downstream lineage |
get_field_lineage |
Field-level lineage (trace bad data to source column) |
get_table_freshness |
Table update/freshness history |
get_table_size_history |
Row count and size history |
get_queries_for_table |
Read/write query history |
get_query_changes |
Detect SQL text modifications |
get_query_rca |
Root cause analysis for failed/futile/missed queries |
get_etl_issues |
ETL pipeline issues — pass platform ("airflow", "dbt", or "databricks") |
get_etl_jobs |
Find ETL jobs that write to specific tables — pass platform param |
get_github_prs |
Recent GitHub PRs from the account's MC GitHub integration |
get_jobs_performance |
Job runtime stats, failure rates, 7-day trends |
get_change_timeline |
Unified timeline: query changes + volume + ETL failures |
get_current_time |
Current timestamp for relative time ranges |
alert_assessment |
Optional ~2-min triage of an incident — returns HIGH/MEDIUM/LOW confidence and impact. Useful when you want a quick read before deciding to escalate to TSA. |
run_troubleshooting_agent |
Starts the Troubleshooting Agent (TSA) on an incident. Async by default; idempotent (returns existing results unless force_rerun=True). Auto-invoked at Step 1.5 when an incident UUID is present. |
…
FAQ
Do I need a special account?
Yes, you need to have a Monte Carlo (MCP) account configured for the tool to work.
What if I don't have a connected database account?
The tool can still analyze using Monte Carlo's information but won't be able to check data directly in your database.
Does this consume credits?
Certain specific actions, like starting a deep analysis or a quick assessment, may consume Monte Carlo credits.
Details
Original description by the author
Curated upstream guidance for Monte Carlo Analyze Root Cause; use when the workflow matches the user goal.
Popularity
- GitHub stars
- 48k
- Ranking position
- #5239
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
48kHelps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
007
48kLets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
10-andruia-skill-smith
48kHelps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
20-andruia-niche-intelligence
48kLets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.