datadog-cli

Query Datadog logs, metrics, and dashboards via command-line interface.

Updated Jul 24, 2026
One-click install
npx skills add https://github.com/imMamdouhaboammar/kaku-chatgpt-harness --skill datadog-cli-immamdouhaboammar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: datadog-cli
Source: https://github.com/imMamdouhaboammar/kaku-chatgpt-harness/tree/main/.agents/skills/datadog-cli
Command: npx skills add https://github.com/imMamdouhaboammar/kaku-chatgpt-harness --skill datadog-cli-immamdouhaboammar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill addresses the friction of switching between terminal environments and web dashboards by providing a direct command-line interface for Datadog observability, enabling faster incident triage and log analysis.

Core Features & Use Cases

  • Log Triage: Search, tail, and correlate logs across distributed services using Datadog syntax.
  • Metrics & Dashboards: Query timeseries metrics and manage dashboard definitions programmatically.
  • Incident Response: Quickly identify error patterns, compare log volumes across time periods, and trace requests to pinpoint root causes.

Quick Start

Ask the agent to search for error logs in the payments service from the last hour using the datadog cli.

Frequently Asked Questions about datadog-cli

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

FAQPage Schema
How do I debug production issues with Datadog logs and metrics from the command line?

You can debug production issues by using this command-line interface to search, tail, and correlate Datadog logs across distributed services. It allows you to identify error patterns and trace requests directly from your terminal environment.

Can I query Datadog timeseries metrics and manage dashboards programmatically?

Yes, you can query timeseries metrics and manage dashboard definitions programmatically. This enables you to retrieve metric data and automate dashboard management tasks without switching between your terminal and the Datadog web dashboard.

Do I need Datadog API and application keys to authenticate requests?

Yes, you need valid Datadog API and application keys to authenticate requests against the Datadog platform. These credentials are required to authorize the command-line interface to access your logs, metrics, and dashboards.

What is the best way to search for error logs in a specific service from the last hour?

The best way to search for error logs in a specific service from the last hour is to ask your agent to use the Datadog CLI. It supports searching and tailing logs across distributed services using Datadog syntax.

How does distributed trace correlation help pinpoint root causes during incident response?

Distributed trace correlation helps pinpoint root causes by linking related logs and metrics across different services. This allows you to quickly identify error patterns, compare log volumes across time periods, and trace requests to find the origin of production issues.