Agent skill · data analytics · davila7

datadog-cli

Datadog CLI for searching logs, querying metrics, tracing requests, and managing dashboards. Use this when debugging production issues or working with Datadog observability.

Why this skill is useful

Provides specific commands and workflows for querying and managing Datadog logs and metrics that the AI wouldn't reliably generate on its own.

What it needs

Requires npx installed locally. Requires datadog account access. About 2k tokens when loaded. Last updated 2026-08-06. 30,138 stars on the source repository.

What this skill does

Datadog CLI A CLI tool for AI agents to debug and triage using Datadog logs and metrics. Required Reading You MUST read the relevant reference docs before using any command: Log Commands Metrics Query Syntax Workflows Dashboards Setup Environment Variables (Required) Get keys from: https://app.datadoghq.com/organization-settings/api-keys Running the CLI For non-US Datadog sites, use --site flag: Commands Overview Command Description --------- ------------- logs search Search logs with filters logs tail Stream logs in real-time logs trace Find logs for a distributed trace logs context Get logs before/after a timestamp logs patterns Group similar log messages logs compare Compare log counts between periods logs multi Run multiple queries in parallel logs agg Aggregate logs by facet metrics query Query timeseries metrics errors Quick error summary by service/type services List services with log activity dashboards Manage dashboards (CRUD) dashboard-lists Manage dashboard lists Quick Examples Search Errors Tail Logs (Real-time) Error Summary Trace Correlation Query Metrics Compare Periods Global Flags Flag Description ------ ------------- --pretty Human-readable output with colors --output <file> Export results to JSON file --site <site> Datadog site (e.g., datadoghq.eu) Time Formats Relative: 30m, 1h, 6h, 24h, 7d ISO 8601: 2024-01-15T10:30:00Z Incident Triage Workflow See workflows.md for more debugging workflows.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills davila7/datadog-cli

View the source on GitHub

Browse the @skills marketplace