nitinjain999/platform-skills/datadog
Claude Code and agent skill by nitinjain999/platform-skills
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Set up and troubleshoot Datadog — Agent deployment on Kubernetes, APM instrumentation, Log Management, Monitors, Dashboards, SLOs, Synthetic tests, and live incident investigation using the Datadog MCP server. Covers Terraform-managed Datadog resources.
Install
npx vskill@latest install nitinjain999/platform-skills/datadogSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Configure, troubleshoot, or investigate incidents in Datadog.
Mode: setup
Deploy and configure the Datadog Agent on Kubernetes.
Steps:
- Ask for: Kubernetes distribution (EKS/AKS/GKE), Datadog site (EU:
datadoghq.eu/ US:datadoghq.com), features needed (APM, logs, process monitoring) - Generate Helm values with: API key from Secret (never hardcoded), APM enabled, log collection enabled, cluster name set, Cluster Agent enabled with 2 replicas
- Provide install command:
helm upgrade --install datadog datadog/datadog -f values.yaml -n datadog - Provide verification commands:
kubectl exec -n datadog ds/datadog -- agent status - Add Unified Service Tagging labels (
DD_ENV,DD_SERVICE,DD_VERSION) to app Deployment
Mode: instrument
Add APM tracing to a service.
Steps:
- Ask for: language (Node.js / Python / Java / Go), framework (Express / Django / Spring / etc.), whether log-trace correlation is needed
- Generate tracer initialisation code —
dd-traceinit must be the first import in Node.js; useddtrace-runorpatch_all()in Python - Add Unified Service Tagging env vars to the Deployment manifest
- Add custom spans for business-critical paths (payment processing, order creation, etc.)
- Show expected APM UI outcome: service map entry, latency/error rate populated
Mode: monitor
Create a Datadog monitor for a service.
Steps:
- Ask for: metric to alert on (error rate / latency / availability), thresholds, notification targets (PagerDuty / Slack)
- Generate Terraform
datadog_monitorresource (preferred over UI / API for IaC) - Set
notify_no_data: trueandno_data_timeframeso silent services alert - Include warning and critical thresholds
- Tag with
service:,env:,team:for routing
Output monitor query, thresholds, notification message with @pagerduty-* and @slack-* handles.
Mode: dashboard
Create a Datadog dashboard for a service.
Steps:
- Default to RED method: request rate, error rate %, p50/p95/p99 latency
- Generate Terraform
datadog_dashboardresource withtimeseries_definitionwidgets - Use APM metrics:
trace.web.request.hits,trace.web.request.errors,trace.web.requestpercentiles - Add template variables for
envandservicefor reuse across environments
Mode: slo
Define a Datadog SLO.
Steps:
- Ask for: SLI metric (availability / latency), target (e.g. 99.9%), timeframe (7d / 30d / 90d)
- Generate Terraform
datadog_service_level_objectiveresource - Set both target and warning thresholds
- Link SLO to relevant monitors for error budget burn alerts
Mode: investigate
Live incident investigation using the Datadog MCP server.
Requires the Datadog MCP server connected to Claude Code. See setup in references/datadog.md → MCP Server Setup.
Phase 1 — Triage (what is broken right now?)
Ask Claude to run these via the MCP server:
- List all active monitors in ALERT or WARN state for the affected service and environment
- Fetch the triggering monitor's event stream for the last 30 minutes
- Check recent deployments — list events tagged
service:<name>over the last 2 hours
Phase 2 — Signals (logs, metrics, traces)
Correlate the three pillars through the MCP:
- Pull error logs for the affected service filtered to the incident window
- Query APM error rate and p99 latency time series
- Fetch a sample of failing traces to identify the error message and stack trace
Phase 3 — Root cause
Narrow down with MCP queries:
- Compare metrics before and after the incident start time
- Check downstream dependencies — are errors concentrated on one endpoint or database host?
- Query infrastructure metrics (CPU, memory, disk) for the affected hosts
Phase 4 — Resolution and follow-up
- Acknowledge or resolve the triggering monitor via MCP
- Post an incident update to Slack via the MCP integration
- Create a notebook capturing the timeline, evidence, and resolution for the post-mortem
Mode: debug
If you need deeper context on any Datadog component, load references/datadog.md.
Diagnose Datadog data gaps or agent issues without the MCP server.
Classify the failure:
- Agent — no data flowing, agent status unhealthy
- APM — traces missing, service not appearing in service map
- Logs — logs not ingested, missing trace correlation
- Monitor — "No Data" state, incorrect thresholds
- Metrics — custom metric not visible in Metrics Explorer
Evidence to collect:
Provide: symptom → root cause hypothesis → evidence command → fix → validation
Mode: pup
Perform Datadog operations via the pup CLI — log search, metric queries, monitor management, and post-deploy gates.
Requires pup installed and DD_API_KEY, DD_APP_KEY, DD_SITE set in shell. See references/datadog.md → pup CLI for install and config.
Steps:
- Classify the request:
- search — search logs for a service/time range
- query — fetch a metric time series
- monitors — list, mute, unmute, or resolve a monitor
- gate — generate a post-deploy quality gate script
- Generate the exact
pupcommand with flags - For scripting/gate use cases, generate a bash script using the scripting pattern from
references/datadog.md→ pup CLI - Include jq expression to extract the value of interest from
--format jsonoutput
Mode: llmo
Instrument an AI application with Datadog LLM Observability, bootstrap evaluators, analyze experiments, or root-cause LLM failures.
Steps:
- Classify the request:
- instrument — add LLMObs spans to a Python or Node.js LLM application
- evaluate — attach evaluation scores to spans and set up a CI quality gate
- rca — root-cause a failing LLM trace using
dd-llmo-eval-trace-rca - experiment — compare model/prompt variants using
dd-llmo-experiment-analyzer
- For instrument: ask for language (Python/Node.js) and LLM provider (OpenAI/Anthropic/Bedrock); generate
LLMObs.enable()init and@llm/llmobs.trace()call for the main LLM call; addDD_LLMOBS_ML_APPandDD_LLMOBS_AGENTLESS_ENABLEDto the Deployment env vars - For evaluate: generate
LLMObs.submit_evaluation()calls (kwargspan=LLMObs.export_span()) after each LLM span; generate a pup-based CI gate queryingml_obs.evaluations.<label>metric - For rca: instruct user to invoke
/dd-llmo-eval-trace-rcawith the failing trace ID; provide the manualpup apm traces getfallback - For experiment: generate
experiment.name,experiment.variant,experiment.cohorttag annotations; instruct user to invoke/dd-llmo-experiment-analyzer; provide manual pup comparison fallback - Always set
DD_LLMOBS_ML_APP— spans without this tag are silently discarded
Reference: references/llm-observability.md
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/datadog/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nitinjain999/platform-skills/datadog)