datadog

Query and manage Datadog logs, traces, monitors, and infrastructure through the pup CLI.

9|Updated Jul 17, 2026
One-click install
npx skills add https://github.com/Yassimba/loom --skill datadog-yassimba
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: datadog
Source: https://github.com/Yassimba/loom/tree/main/skills/datadog
Command: npx skills add https://github.com/Yassimba/loom --skill datadog-yassimba

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pup, and includes references (resource) components.

What problem does it solve? Working with Datadog through the web UI is slow for agents and scripts, and the API surface is large. This Skill gives an agent a structured, safe way to read and change Datadog resources—logs, traces, APM, monitors, dashboards, SLOs, incidents, synthetics, security signals, and Live Debugger probes—using the pup CLI with clear authentication and safety rules. ## Core Features & Use Cases - Observability queries: Search logs, traces, and metrics with scoped time ranges, services, and environments, plus aggregation for latency and error analysis. - Resource management: List, create, update, and safely mark monitors, dashboards, SLOs, downtimes, and observability pipelines for deletion with approval gates. - Live debugging: Place temporary log probes with capture expressions on running Java, Python, or .NET services without redeploying, then stream and clean up probe events. - Use Case: When investigating a production latency spike, ask the agent to find slow traces for a service, aggregate p99 duration by endpoint, check related error logs, and place a short-lived debugger probe to capture request values. ## Quick Start Use the datadog skill to search error logs for the api-gateway service in production over the last hour.

Frequently Asked Questions about datadog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search Datadog logs from the command line?

Use pup logs search with a query, time range, and limit, for example pup logs search --query "service:api status:error" --from 1h --limit 100. Narrow searches by setting service, environment, and time range to keep results small.

How do I find slow traces in Datadog APM?

Run pup traces search with a duration filter, such as pup traces search --query="service:api @duration:>1000000000" --from="1h". APM durations are in nanoseconds, so one second equals 1000000000. You can also aggregate with pup traces aggregate to compute p99 latency by endpoint.

How does pup CLI authentication work with Datadog?

Run pup auth login for an OAuth2 browser flow, then pup auth status to check validity. Tokens expire after about an hour; use pup auth refresh first and login only if refresh fails. For headless environments, set DD_API_KEY, DD_APP_KEY, and DD_SITE environment variables.

Can I debug a running service without redeploying?

Yes, Datadog Live Debugger places temporary log probes on running Java, Python, or .NET services. Verify the environment with pup debugger context, create a probe with capture expressions and a TTL, watch events with pup debugger probes watch, and delete the probe when finished.

Why is dd.trace_id missing from log search API results?

When a trace ID attribute is remapped for trace correlation, Datadog stores it as an internal attribute that the Logs Search API does not return, even though the UI shows the trace link. This is expected behavior; emit the trace ID under a separate non-remapped attribute or search spans directly instead.

Is it safe to delete Datadog monitors with this skill?

The skill never deletes monitors directly by default. It renames a monitor with a [MARKED FOR DELETION] prefix and only performs permanent deletion after explicit user approval, and all mutating commands require showing the exact target and change first.