monte-carlo-monitor-creation

sickn33/agentic-awesome-skills

Помогает создавать мониторы Monte Carlo через инструменты MCP, формируя monitors-as-code в YAML для деплоя в CI/CD.

Звёзды49 917
Авторsickn33
Установок1

Установка

SKILL.md

Monte Carlo Monitor Creation Skill

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:

  • Metric monitor details: references/metric-monitor.md (relative to this file)
  • Validation monitor details: references/validation-monitor.md (relative to this file)
  • Custom SQL monitor details: references/custom-sql-monitor.md (relative to this file)
  • Comparison monitor details: references/comparison-monitor.md (relative to this file)
  • Table monitor details: references/table-monitor.md (relative to this file)

When to activate this skill

Activate when the user:

  • Asks to create, add, or set up a monitor (e.g. "add a monitor for...", "create a freshness check on...", "set up validation for...")
  • Mentions monitoring a specific table, field, or metric
  • Wants to check data quality rules or enforce data contracts
  • Asks about monitoring options for a table or dataset
  • Requests monitors-as-code YAML generation
  • Wants to add monitoring after new transformation logic (when the prevent skill is not active)

When NOT to activate this skill

Do not activate when the user is:

  • Just querying data or exploring table contents
  • Triaging or responding to active alerts (use the prevent skill's Workflow 3)
  • Running impact assessments before code changes (use the prevent skill's Workflow 4)
  • Asking about existing monitor configuration (use getMonitors directly)
  • Editing or deleting existing monitors

Available MCP tools

All tools are available via the monte-carlo MCP server.

ToolPurpose
testConnectionVerify auth and connectivity before starting
searchFind tables/assets by name; use include_fields for columns
getTableSchema, stats, metadata, domain membership, capabilities
getValidationPredicatesList available validation rule types for a warehouse
getDomainsList MC domains (only needed if table has no domain info)
createMetricMonitorMacGenerate metric monitor YAML (dry-run)
createValidationMonitorMacGenerate validation monitor YAML (dry-run)
createComparisonMonitorMacGenerate comparison monitor YAML (dry-run)
createCustomSqlMonitorMacGenerate custom SQL monitor YAML (dry-run)
createTableMonitorMacGenerate table monitor YAML (dry-run)

Monitor types

TypeToolUse When
MetriccreateMetricMonitorMacTrack statistical metrics on fields (null rates, unique counts, numeric stats) or row count changes over time. Requires a timestamp field for aggregation.
ValidationcreateValidationMonitorMacRow-level data quality checks with conditions (e.g. "field X is never null", "status is in allowed set"). Alerts on INVALID data.
Custom SQLcreateCustomSqlMonitorMacRun arbitrary SQL returning a single number and alert on thresholds. Most flexible; use when other types don't fit.
ComparisoncreateComparisonMonitorMacCompare metrics between two tables (e.g. dev vs prod, source vs target).
TablecreateTableMonitorMacMonitor groups of tables for freshness, schema changes, and volume. Uses asset selection at database/schema level.

Procedure

Follow these steps in order. Do NOT skip steps.

Validation Phase (Steps 1-3) -- MUST complete before any creation tool is called

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.

Step 1: Understand the request

Ask yourself:

  • What does the user want to monitor? (a specific table, a metric, a data quality rule, cross-table consistency, freshness/volume at schema level)
  • Which monitor type fits? Use the monitor types table above.
  • Does the user have all the details, or do they need guidance?

If the user's intent is unclear, ask a focused question before proceeding.

Step 2: Identify the table(s) and columns

If you don't have the table MCON:

  1. Use search with the table name and include_fields: ["field_names"] to find the MCON and get column names.
  2. If the user provided a full table ID like database:schema.table, search for it.
  3. Once you have the MCON, call getTable with include_fields: true and include_table_capabilities: true to verify capabilities and get domain info.

If you already have the MCON:

  1. Call getTable with the MCON, include_fields: true, and include_table_capabilities: true.

CRITICAL: You need the actual column names from getTable results. NEVER guess or hallucinate column names. This is the most common source of monitor creation failures.

For monitor types that require a timestamp column (metric monitors), review the column names and identify likely timestamp candidates. Present them to the user if ambiguous.

Step 3: Handle domain assignment

Monitors must be assigned to a domain that contains the table being monitored. The getTable response includes a domains list with uuid and name.

  1. If domains is empty: skip domain assignment.
  2. If domains has exactly one entry: default domain_id to that domain's UUID.
  3. If domains has multiple entries: present only those domains and ask the user to pick.

Do NOT present all account domains as options -- only domains that contain the table are valid.

ALWAYS check the table's domains BEFORE calling any creation tool.


Creation Phase (Steps 4-8)

Only enter this phase after the validation phase is complete with real data from MCP tools.

Step 4: Load the sub-skill reference

Based on the monitor type, read the detailed reference for parameter guidance:

  • Metric -- Read the detailed reference: references/metric-monitor.md (relative to this file)
  • Validation -- Read the detailed reference: references/validation-monitor.md (relative to this file)
  • Custom SQL -- Read the detailed reference: references/custom-sql-monitor.md (relative to this file)
  • Comparison -- Read the detailed reference: references/comparison-monitor.md (relative to this file)
  • Table -- Read the detailed reference: references/table-monitor.md (relative to this file)

Step 5: Ask about scheduling

Skip this step for table monitors. Table monitors do not support the schedule field in MaC YAML — adding it will cause a validation error on montecarlo monitors apply. Table monitor scheduling is managed automatically by Monte Carlo.

For all other monitor types, the creation tools default to a fixed schedule running every 60 minutes. Present these options:

  1. Fixed interval -- any integer for interval_minutes (30, 60, 90, 120, 360, 720, 1440, etc.)
  2. Dynamic -- MC auto-determines when to run based on table update patterns.
  3. Loose -- runs once per day.

Schedule format in MaC YAML:

  • Fixed: schedule: { type: fixed, interval_minutes: <N> }
  • Dynamic: schedule: { type: dynamic }
  • Loose: schedule: { type: loose, start_time: "00:00" }

Step 6: Confirm with the user

Before calling the creation tool, present the monitor configuration in plain language:

  • Monitor type
  • Target table (and columns if applicable)
  • What it checks / what triggers an alert
  • Domain assignment
  • Schedule

Ask: "Does this look correct? I'll generate the monitor configuration."

NEVER call the creation tool without user confirmation.

Step 7: Create the monitor

Call the appropriate creation tool with the parameters built in previous steps. Always pass an MCON when possible. If only table name is available, also pass warehouse.

Step 8: Present results

CRITICAL: Always include the YAML in your response. The user needs copy-pasteable YAML.

  1. If a non-default schedule was chosen, modify the schedule section in the YAML before presenting.
  2. Wrap the YAML in the full MaC structure (see "MaC YAML format" section below).
  3. ALWAYS present the full YAML in a ```yaml code block.
  4. Explain where to put it and how to apply it (see below).
  5. ALWAYS use ISO 8601 format for datetime values.
  6. NEVER reformat YAML values returned by creation tools.

MaC YAML format

The YAML returned by creation tools is the monitor definition. It must be wrapped in the standard MaC structure to be applied:

montecarlo:
  <monitor_type>:
    - <returned yaml>

For example, a metric monitor would look like:

montecarlo:
  metric:
    - <yaml returned by createMetricMonitorMac>

Important: montecarlo.yml (without a directory path) is a separate Monte Carlo project configuration file -- it is NOT the same as a monitor definition file. Monitor definitions go in their own .yml files, typically in a monitors/ directory or alongside dbt model schema files.

Tell the user:

  • Save the YAML to a .yml file (e.g. monitors/<table_name>.yml or in their dbt schema)
  • Apply via the Monte Carlo CLI: montecarlo monitors apply --namespace <namespace>
  • Or integrate into CI/CD for automatic deployment on merge

Common mistakes to avoid

  • NEVER guess column names. Always get them from getTable.
  • NEVER skip the confirmation step (Step 6).
  • For metric monitors, aggregate_time_field MUST be a real timestamp column from the table.
  • For validation monitors, conditions match INVALID data, not valid data.
  • Always pass an MCON when possible. If only table name is available, also pass warehouse.
  • ALWAYS check table's domains BEFORE calling any creation tool.
  • ALWAYS use ISO 8601 format for datetime values.
  • NEVER reformat YAML values returned by creation tools.
  • Do not call creation tools before the validation phase is complete.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: monte-carlo-monitor-creation](https://darkplay.ru/ai/skills/sickn33-agentic-awesome-skills-monte-carlo-monitor-creation)

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

Loop Operatoraffaan-m · Управляет автономными циклами агентов, следит за прогрессом и вмешивается при сбоях.
225 587 ★
Mle Revieweraffaan-m · Ревьюер ML-инженерии: данные, признаки, обучение, оценка, сервинг и мониторинг.
225 587 ★
ruflo-security-auditruvnet · Проверка безопасности, сканирование зависимостей, политики-гейты и мониторинг CVE.
240 комп.
ruflo-swarmruvnet · Команды агентов, координация роёв, потоки Monitor и изоляция worktree.
240 комп.
agentic-bundle-observability-monitoringsickn33 · Установите набор редакционных навыков «Observability & Monitoring» для Claude Code.
49 917 ★
clickhouseanthropics · Подключение Claude к базам данных ClickHouse Cloud. Просмотр организаций, сервисов, баз…
100 комп.
convexanthropics · Официальный плагин Convex для Claude Code с набором навыков Convex, субагентом…
100 комп.
datarobot-agent-skillsanthropics · Навыки DataRobot для AI/ML-процессов: обучение моделей, развёртывание, предсказания…
100 комп.
hostingeranthropics · Развёртывание, управление и мониторинг сервисов Hostinger: сайты, домены, ecommerce…
100 комп.
knowledge-cataloganthropics · Подключение к Knowledge Catalog для поиска, управления, мониторинга и контроля данных и…
100 комп.

Лучшие ИИ-инструменты для программирования

ИИ для программирования

Подборка нейросетей и ИИ-ассистентов для разработки и автоматизации кода. Сервисы, которые ускоряют написание, ревью и отладку, экономят часы рутины и снижают порог входа в сложные

GenAPIGenapi
По запросу
5.0
Notepad++ AINotepad-plus-plus
По запросу
4.9
GitHub CopilotGitHub
По подписке
4.9
Creatium MaxCremax
По запросу
4.8
Emacs AIGnu
По запросу
4.8
KiteKite
По запросу
4.8
Amazon Q DeveloperAmazon
По запросу
4.8
VECTA
Есть бесплатный тариф
4.8
SoftPractice
Есть бесплатный тариф
4.8
VibeForge
Есть бесплатный тариф
4.7

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8