Proactive monitoring

From monte-carlo-data/mc-agent-toolkit · View interactive version

Proactive monitoring is an AI agent skill from the GitHub repository monte-carlo-data/mc-agent-toolkit. Guide users from coverage analysis to monitor creation. USE WHEN user asks what should I monitor, where are my gaps, improve coverage, or wants a systematic approach to monitoring across their data estate.

How to use this skill

Skill file

Monte Carlo Proactive Monitoring Workflow

This workflow guides users through improving their monitoring coverage by

sequencing existing Monte Carlo skills. It does not contain coverage analysis

or monitor creation logic itself — each step loads the relevant skill's

SKILL.md which has the actual instructions.

When to activate this workflow

Activate when:

When NOT to activate this workflow


Workflow Steps

Step 1 (conditional): Assess current state — when user has specific tables in mind
Step 2: Identify gaps — the core of this workflow
Step 3: Create monitors — act on identified gaps

Determine entry point

Before starting, determine which step to enter based on the user's context:


Step 1: Assess Current State (conditional)

Skill: Read and follow ../asset-health/SKILL.md

Goal: Check health of the specific tables the user cares about — freshness, alerts, existing monitoring coverage, importance score, upstream dependencies.

When to run: Only when the user has specific tables in mind or a model file open. Provides table-level context before the broader coverage analysis.

Transition to Step 2: After the health report, offer the broader view:

"[Table] has [summary of health and existing monitors]. Want me to analyze monitoring coverage more broadly — across your warehouse or use cases — to find where the gaps are?"

If the user says yes, proceed to Step 2. If they're satisfied with the table-level view, stop.


Step 2: Identify Gaps

Skill: Read and follow ../monitoring-advisor/SKILL.md

When loading monitoring-advisor for this step, frame the request as coverage analysis — not direct monitor creation. The monitoring-advisor skill has two flows; this step uses the coverage analysis flow:

Goal: Analyze coverage across warehouses and use cases, identify unmonitored tables, prioritize by importance and anomaly activity.

This is the core step. Most workflow entries start here.

Transition to Step 3: When gaps are identified and the user wants to act:

"I've identified [N] monitoring gaps, prioritized by importance. Ready to create monitors for the top priorities?"

If yes, proceed to Step 3 (which stays within monitoring-advisor). If no, stop.


Step 3: Create Monitors

Skill: Continues within ../monitoring-advisor/SKILL.md — transitions from coverage analysis flow to direct monitor creation flow.

This step does NOT load a separate skill. The monitoring-advisor skill handles both gap identification (Step 2) and monitor creation (Step 3). The workflow just signals the transition from "analysis" to "creation."

Goal: Create monitors-as-code YAML for the identified gaps. For each gap:

  1. Determine the appropriate monitor type (freshness, volume, validation, custom SQL, comparison)
  2. Generate the monitor configuration
  3. Output as monitors-as-code YAML

The user can create monitors for all identified gaps or select specific ones.


Orchestration Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.