/agent-skills:dd-coding-agent-mcpfrom agent-skills
Connects Claude Code and other coding agents to the Datadog MCP server, configuring toolsets for logs, metrics, monitors, incidents, APM, Error Tracking, LLM Observability, RUM, Database Monitoring, dashboards, and CI.
Ships in agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Datadog MCP server gives a coding agent Datadog tools: Live Debugger (live-debugger), logs, metrics, monitors, and incidents (core), and toolsets for APM traces, Error Tracking, LLM Observability, RUM, Database Monitoring, dashboards, and CI (software-delivery). The server and the Datadog plugins load only core unless asked for more. This skill installs the client's Datadog plugin or writes its MCP config so the right toolsets load, then checks the result.
references/clients.md).Use the first that applies:
core,apm,error-tracking,live-debugger): use exactly that list. Add core if it's missing.all.all rejected (the server returns an error for it, or the org can't use it): fall back to core and say so in the report.all covers generally available toolsets only. Preview toolsets load only when named, so a caller that needs one lists it explicitly.
DD_SITE from the environment or an env file, else ask. The endpoint is https://mcp.<site>/v1/mcp (for example mcp.datadoghq.com, mcp.datadoghq.eu, mcp.us5.datadoghq.com). Government sites (ddog-gov.com) have no MCP server: stop and report that.references/clients.md before writing anything: those commands and formats are tested, and a CLI's --help doesn't say which header format Datadog needs.<cli> mcp list, or read its config file). Note any server whose URL is mcp.<site>, any Datadog plugin, and the toolsets each one loads (the toolsets URL parameter or the X-Datadog-MCP-Toolsets header).
datadog.Pick one:
references/clients.md). Use this whenever a person is at the keyboard.DD_API_KEY and DD_APP_KEY are already set where the agent runs (CI, a remote machine with no browser), or the user asks for keys. Send them as DD-API-KEY and DD-APPLICATION-KEY headers that reference those variables, in the client's syntax. Never a bearer token: Datadog rejects one key alone (in Codex that means env_http_headers, not bearer_token_env_var). Ask once before writing a key-based entry if a person is present.Install the plugin and set its site and toolsets, or write the entry with the URL https://mcp.<site>/v1/mcp?toolsets=<list>, as shown in references/clients.md. Then ask once, using the host's native question or selector if it has one:
Datadog MCP is configured with the
<list>toolsets. To load it, , then if prompted.
Headless, with no one to ask: print that line, plus any sign-in URL the client printed, in the report. Don't wait either way.
Run the client's list command (<cli> mcp list) and confirm the Datadog entry (datadog, or the plugin's, such as plugin:datadog:mcp) is there and connected. "Needs authentication" or "Not logged in" means the sign-in step is still the user's to do. A listed entry alone doesn't prove it works.
On the keys path, also confirm the server accepts the entry. Send the same URL and headers the entry uses; HTTP 200 means the keys and URL work, and 401 or 403 means they don't:
curl -s -o /dev/null -w '%{http_code}\n' -X POST "<URL>" \
-H "DD-API-KEY: $DD_API_KEY" -H "DD-APPLICATION-KEY: $DD_APP_KEY" \
-H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"setup-check","version":"1"}}}'
When the tools load in your session (after a reload, or from the start), confirm what was asked for:
| Requested | Passes when |
|---|---|
core | search_datadog_logs is in your tool list |
| Specific toolsets | each requested toolset contributes at least one tool to your tool list |
all | the tool list matches what the server lists for toolsets=all, not one hand-picked tool |
If the server is connected but a requested toolset's tools never appear, the org may not have that toolset yet (some are in Preview). Report it and suggest contacting Datadog support.
One line first: Datadog MCP configured for <client> with <list>; connected and verified. (only when step 5 showed the requested tools, or a 200 on the keys path) or ... configured; waiting on you to <reload / sign in>. or Not configured: <reason>. Then the file or command changed, and the exact steps left for the user. Never include a key value.
A calling skill continues either way: missing tools are a follow-up, never a stop.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub datadog-labs/agent-skills --plugin agent-skills78 skills in this plugin
/agent-observability-auto-experimentRun an iterative code-improvement hill-climb against real Datadog LLM-Obs data, locally, with Claude Code as the agent. Establishes a baseline eval, makes one focused change, re-scores both splits with the same harness, keeps the change when held-out test improves without overfitting val (labeling within-noise gains tentative), and repeats. This is the skill published as "Autoresearch" in Datadog Agent Observability. Use when the user says "run an auto experiment", "run autoresearch", "hill-climb this code", "iteratively improve X and measure the delta", "optimize this code/agent/pipeline/prompt against my traces", "auto-optimize against LLM-Obs", or wants the local equivalent of the auto_experiments worker. Works from an ml_app, a dataset_id, an annotation_queue_id (a queue of human-labelled interactions), a list of trace_ids, or (by exception) a local dataset file. The corpus and its val/test splits live in Datadog LLM-Obs Datasets, created once per run with a timestamp in their names./agent-observability-build-eval-from-annotationsFit a Datadog LLM-Obs evaluator to human labels. Takes an annotation queue, works out where in the trace the labelled property actually lives, drafts an LLM-judge that predicts the human label, scores that judge against the already-labelled rows with a metric agreed with the user, then hill-climbs it — inspect the errors, make one focused change, re-score, keep it only if it beats the best — for a bounded number of iterations, and finally publishes the winner to Datadog as a DISABLED evaluator (not a Datadog draft — a real evaluator with `enabled: false`). Use when the user says "build an eval from my annotations", "build an evaluator from the annotation queue", "turn my annotations into an evaluator", "learn an evaluator from my labels", "fit a judge to the annotation queue", "auto-label", "auto labelling", "automate this annotation queue", "scale up my human labels", or wants the rest of a queue graded the way the humans graded the first rows. Needs an annotation queue with at least two classes present in the human labels (e.g. one true and one false for a boolean)./agent-observability-eval-bootstrapBootstrap evaluators from production traces — by default propose online LLM-judge evaluators and, after you confirm, create them in Datadog as disabled drafts (never auto-enabled); on request emit Python SDK code or a framework-agnostic JSON spec instead. Use when user says "bootstrap evaluators", "generate evaluators", "create evals from traces", "eval bootstrap", "write evaluators", "build eval suite", "publish evaluators", or wants to generate BaseEvaluator/LLMJudge code or online judge configs from production LLM trace data. Works with ml_app and optional RCA report or failure hypothesis./agent-observability-eval-pipelineEnd-to-end Agent Observability pipeline for an instrumented ml_app — classify production traces, root-cause failures, bootstrap evaluators, then (optionally) sample + publish a dataset, generate + run an experiment, and analyze results. Six narrated phases with a standardized banner and a "continue" checkpoint between each. Pure orchestration over the agent-observability sub-skills (`agent-observability-session-classify`, `agent-observability-trace-rca`, `agent-observability-eval-bootstrap`, `agent-observability-experiment-bootstrap`, `agent-observability-experiment-analyzer`). Use when user says "run the eval pipeline", "go from traces to evals", "bootstrap evals end to end", "classify then RCA then bootstrap", "build an eval set from scratch", "onboard me to datasets and experiments", "walk me through experiments", "I have an ml_app, now what", "Agent Observability onboarding", "guided experiment setup", "from traces to experiments", or wants a deterministic, narrated tour from production data through evaluators, datasets, and experiments. Stop early with `--stop-after <phase>` to short-circuit at evaluators or dataset, or resume mid-flow with `--start-at <phase>`./agent-observability-experiment-analyzerAnalyze LLM experiment results. Handles single or comparative experiments, exploratory or Q&A modes. Use when user says "analyze experiment", "compare experiments", "analyze against baseline", or provides one or two experiment IDs for analysis./agent-observability-experiment-bootstrapBootstrap a reproducible LLM Observability experiment through the Python ddtrace SDK or the Node dd-trace SDK. Use for experiment, dataset, evaluator, benchmark, regression, or LLM-as-a-judge scaffolding. The legacy Python invocation remains supported.Other plugins' skills for the same job