monte-carlo-analyze-root-cause
它能做什么
这个工具可以帮你找出数据出问题的原因,比如数据延迟、意外变化或任务失败。它会用特定的工具调查问题,找到根本原因。
适用场景
- ✓数据告警出现的时候。
- ✓你发现某张数据表的内容不对的时候。
- ✓你想弄清楚某个数据处理流程为什么失败的时候。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/monte-carlo-analyze-root-cause/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“调查一下今天出现的 'sales' 表的数据量告警。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会利用你的数据和分析工具的相关信息来追踪问题。它会查看告警、表的历史记录,如果条件允许,还会检查最近的代码变更。
技术内容(原始 SKILL.md)
作者在 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. |
…
常见问题
我需要专门的账号吗?
需要。你要先配置好 Monte Carlo(MCP)账号,这个工具才能正常使用。
如果我没有连接数据库账号怎么办?
工具仍然可以基于 Monte Carlo 的信息进行分析,只是无法直接到你的数据库里检查数据。
这会消耗积分吗?
某些操作会消耗 Monte Carlo 积分,比如启动深度分析或快速评估。
详情
作者的原始描述
Curated upstream guidance for Monte Carlo Analyze Root Cause; use when the workflow matches the user goal.
热度
- GitHub 星标
- 48k
- 排名
- #5239
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。