skills/monte-carlo-monitor-creation/SKILL.md
Guides creation of Monte Carlo monitors via MCP tools, producing monitors-as-code YAML for CI/CD deployment.
npx skillsauth add ranbot-ai/awesome-skills monte-carlo-monitor-creationInstall 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.
This skill teaches you to create Monte Carlo monitors correctly via MCP. Every creation tool runs in dry-run mode and returns monitors-as-code (MaC) YAML. No monitors are created directly -- the user applies the YAML via the Monte Carlo CLI or CI/CD.
Reference files live next to this skill file. Use the Read tool (not MCP resources) to access them:
references/metric-monitor.md (relative to this file)references/validation-monitor.md (relative to this file)references/custom-sql-monitor.md (relative to this file)references/comparison-monitor.md (relative to this file)references/table-monitor.md (relative to this file)Activate when the user:
Do not activate when the user is:
getMonitors directly)All tools are available via the monte-carlo MCP server.
| Tool | Purpose |
| ---------------------------- | ---------------------------------------------------------- |
| testConnection | Verify auth and connectivity before starting |
| search | Find tables/assets by name; use include_fields for columns |
| getTable | Schema, stats, metadata, domain membership, capabilities |
| getValidationPredicates | List available validation rule types for a warehouse |
| getDomains | List MC domains (only needed if table has no domain info) |
| createMetricMonitorMac | Generate metric monitor YAML (dry-run) |
| createValidationMonitorMac | Generate validation monitor YAML (dry-run) |
| createComparisonMonitorMac | Generate comparison monitor YAML (dry-run) |
| createCustomSqlMonitorMac | Generate custom SQL monitor YAML (dry-run) |
| createTableMonitorMac | Generate table monitor YAML (dry-run) |
| Type | Tool | Use When |
| -------------- | ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| Metric | createMetricMonitorMac | Track statistical metrics on fields (null rates, unique counts, numeric stats) or row count changes over time. Requires a timestamp field for aggregation. |
| Validation | createValidationMonitorMac | Row-level data quality checks with conditions (e.g. "field X is never null", "status is in allowed set"). Alerts on INVALID data. |
| Custom SQL | createCustomSqlMonitorMac | Run arbitrary SQL returning a single number and alert on thresholds. Most flexible; use when other types don't fit. |
| Comparison | createComparisonMonitorMac | Compare metrics between two tables (e.g. dev vs prod, source vs target). |
| Table | createTableMonitorMac | Monitor groups of tables for freshness, schema changes, and volume. Uses asset selection at database/schema level. |
Follow these steps in order. Do NOT skip steps.
The number one error pattern is agents skipping validation and calling a creation tool with guessed or incomplete parameters. Every field in the creation call must be grounded in data retrieved during this phase. Do not proceed to Step 4 until Steps 1-3 are fully satisfied.
Ask yourself:
tools
Use when a user asks to mine or update a private, evidence-backed work profile from local Claude Code, Codex, Copilot CLI, or OpenCode sessions.
data-ai
Use when diagnosing Android overheating, idle heat, thermal throttling, charging or radio heat, or abnormal battery drain with read-only ADB evidence and approval gates.
research
Research public competitor ads, analyze creative patterns and landing pages, and produce an evidence-labeled strategic teardown.
tools
Compiled CLI covering all 52 endpoints of the Anytype local API — objects, properties, tags, search, chat, files — one binary, no MCP server needed.