monte-carlo-monitor-creation
できること
データ品質をチェックする'モニター'を作成するのに役立ちます。これらのチェックを自動で設定するためのコードを生成します。
使う場面
- ✓新しいデータ品質チェックを作成したいとき。
- ✓データの問題に対する自動アラートを設定したいとき。
- ✓自動化された処理にデータチェックを追加するためのコードが必要なとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/monte-carlo-monitor-creation/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“'my_db.my_table'の'email'列がNULLにならないことを確認するモニターを作成してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
ツールはまず、何を監視したいのか、どのようなデータが必要かを理解します。その後、このチェックを記述するコード(YAML)を生成しますが、それを直接適用はしません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
getMonitorsdirectly) - Editing or deleting existing monitors
Available MCP tools
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) |
Monitor types
| 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. |
Procedure
Follow these steps in order. Do NOT skip steps.
Validation Phase (Steps 1-3) -- MUST complete before any creation tool is called
…
よくある質問
'モニター'とは何ですか?
欠落や誤りのあるデータなど、データ品質の問題を知らせてくれる自動チェックです。
'YAML'とは何ですか?
これらのデータチェックなどの設定に使われるファイル形式です。命令の一覧のようなものです。
このツールはデータを変更しますか?
いいえ、モニターを設定するためのコードを作成するだけです。チェックを機能させるには、このコードを別途適用する必要があります。
詳細
作者による元の説明
Guides creation of Monte Carlo monitors via MCP tools, producing monitors-as-code YAML for CI/CD deployment.
人気
- GitHubのスター
- 48k
- ランキング
- #5242
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。