monte-carlo-instrument-agent SKILL.md skillA

monte-carlo-instrument-agent from monte-carlo-data/mc-agent-toolkit is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add monte-carlo-data/mc-agent-toolkit/monte-carlo-instrument-agent@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
monte-carlo-data/mc-agent-toolkit
Path
skills/instrument-agent/SKILL.md
Versions recorded
3
Latest version
v1.0.0, committed Jul 19, 2026
First version recorded
May 13, 2026
Size
11,856 bytes
Repository stars
93
License
Apache-2.0

Instrument a new AI agent in a Python codebase for Monte Carlo Agent Observability. Detects AI libraries, installs the Monte Carlo OpenTelemetry SDK, and proposes tracing setup and decorator placements as diffs. Asks before editing any file.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Monte Carlo Instrument-Agent Skill

This skill walks an MC Agent Observability customer through instrumenting a new AI agent in their Python codebase: detect AI libraries → install the Monte Carlo OpenTelemetry SDK + matching instrumentors → generate `mc.setup()` (with `SimpleSpanProcessor` when serverless) → propose `@trace_with_workflow` / `@trace_with_task` decorator diffs → confirm env vars (only when needed) → verify traces flow via `get_agent_metadata`.

The skill produces traces. It is **not** for monitoring or alerting on existing traces — that's `monte-carlo-monitoring-advisor`. The two skills are sequential: instrument-agent first, monitoring-advisor afterward.

> **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-configured `monte-carlo-mcp` server, do **not** route to it — it may point at a
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add monte-carlo-data/mc-agent-toolkit/monte-carlo-instrument-agent@sha256:6ed1c7b5194f76fa

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_wmq7rkdo5vkp7275.svg)](https://markdownregistry.com/a/art_wmq7rkdo5vkp7275)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between May 13, 2026 and Jul 19, 2026, about one every 33 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-07-19 0b4edc3 11,856 BA view · diff
v1.0.02026-06-19 6ade6f3 11,863 BA view · diff
v1.0.02026-05-13 737a656 11,314 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11856 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

monte-carlo-data/mc-agent-toolkit · 93 stars · license Apache-2.0 · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wmq7rkdo5vkp7275
GET https://markdownregistry.com/api/v1/resolve?ref=monte-carlo-data/mc-agent-toolkit/monte-carlo-instrument-agent
GET https://markdownregistry.com/api/v1/blob/6ed1c7b5194f76fa0dd88f2549100ea6e99c0f9805ce8d5f76f0d5492337d81b

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from monte-carlo-data/mc-agent-toolkit

toolkit-skill-author SKILL.md skill
monte-carlo-data/mc-agent-toolkit · .claude/skills/toolkit-skill-author/SKILL.md · Authors or extends a skill in mc-agent-toolkit. Gates for forbidden buckets and name collisions, applies CONTRIBUTING's…
git:20260618.50ca708 · audit A · 93 stars
monte-carlo-account-analytics SKILL.md skill
monte-carlo-data/mc-agent-toolkit · skills/account-analytics/SKILL.md · Answers questions about your Monte Carlo account (alerts, data quality, coverage, monitors, credits, monitor runs) from…
git:20261106.9b1b1e0 · audit A · 93 stars
monte-carlo-analyze-root-cause SKILL.md skill
monte-carlo-data/mc-agent-toolkit · skills/analyze-root-cause/SKILL.md · Investigate data incidents and find root causes using Monte Carlo's observability data. Guides the agent through…
v1.0.0 · audit A · 93 stars
monte-carlo-asset-health SKILL.md skill
monte-carlo-data/mc-agent-toolkit · skills/asset-health/SKILL.md · Check the health of a data table/asset using Monte Carlo. Activates on "how is table X", "check health of X", "is X…
v1.0.0 · audit A · 93 stars
automated-triage SKILL.md skill
monte-carlo-data/mc-agent-toolkit · skills/automated-triage/SKILL.md · Triage Monte Carlo alerts interactively or build an automated workflow. Fetch, score, and troubleshoot alerts using MCP…
v1.1.1 · audit A · 93 stars
connection-auth-rules SKILL.md skill
monte-carlo-data/mc-agent-toolkit · skills/connection-auth-rules/SKILL.md · Build a Connection Auth Rules for a Monte Carlo connection type. Fetches live connector schemas and transform steps…
v1.0.0 · audit A · 93 stars
monte-carlo-context-detection SKILL.md skill
monte-carlo-data/mc-agent-toolkit · skills/context-detection/SKILL.md · Route data-related requests to the right Monte Carlo skill or workflow. USE WHEN alerts, incidents, data broken, stale…
v1.0.0 · audit A · 93 stars
generate-validation-notebook SKILL.md skill
monte-carlo-data/mc-agent-toolkit · skills/generate-validation-notebook/SKILL.md · Generate SQL validation notebooks for dbt changes. Pass a GitHub PR URL or local dbt repo path.
git:20260428.4eb6e59 · audit A · 93 stars
monte-carlo-incident-response SKILL.md skill
monte-carlo-data/mc-agent-toolkit · skills/incident-response/SKILL.md · Orchestrate incident response — triage, root cause, remediate, prevent recurrence. USE WHEN active alerts, data broken…
v1.0.0 · audit A · 93 stars
monte-carlo-manage-mac SKILL.md skill
monte-carlo-data/mc-agent-toolkit · skills/manage-mac/SKILL.md · Create, edit, validate, and import Monitors-as-Code YAML files. CLI-first; falls back to MC MCP tools, then manual…
v1.0.0 · audit A · 93 stars
monte-carlo-monitoring-advisor SKILL.md skill
monte-carlo-data/mc-agent-toolkit · skills/monitoring-advisor/SKILL.md · Analyze data coverage, create monitors for warehouse tables and AI agents. Covers coverage gaps, use-case analysis…
v2.1.1 · audit A · 93 stars
monte-carlo-onboarding SKILL.md skill
monte-carlo-data/mc-agent-toolkit · skills/onboarding/SKILL.md · Connect warehouses, BI tools (Tableau, Looker, Power BI) and custom connectors to Monte Carlo with API v2 tools: show…
git:20261106.7532937 · audit A · 93 stars

Every file in monte-carlo-data/mc-agent-toolkit

Browse by kind, by grade A, or by owner.