datadog-cli

datadog-cli is a skill for Claude Code, Codex from abdullahkhawer/devops-skills. It costs 34 tokens per session (951 once invoked), scanned B, original, Apache-2.0.

A guide for accessing Datadog through its web API, the interface programs use to query monitoring data. It covers metrics, logs, monitors, dashboards, and events across configured environments.

In plain words
What is it for?
It is for querying measurements, application and system logs, alert monitors, dashboards, and recorded events in Datadog.
Why use it?
It provides a consistent way to inspect operational data without exposing API keys. It also makes the target Datadog site and environment explicit.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for querying measurements, application and system logs, alert monitors, dashboards, and recorded events in Datadog.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abdullahkhawer/devops-skills/datadog-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add abdullahkhawer/devops-skills --skill datadog-cli
Clone the repo
git clone --depth 1 https://github.com/abdullahkhawer/devops-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for datadog-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/abdullahkhawer/devops-skills/datadog-cli/github.svg)](https://agentmods.dev/skills/abdullahkhawer/devops-skills/datadog-cli)
Your own site
<a href="https://agentmods.dev/skills/abdullahkhawer/devops-skills/datadog-cli"><img src="https://agentmods.dev/badge/skills/abdullahkhawer/devops-skills/datadog-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for datadog-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/abdullahkhawer/devops-skills/datadog-cli"><img src="https://agentmods.dev/badge/skills/abdullahkhawer/devops-skills/datadog-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 951 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.00951
Opus 5.5 $0.00014 $0.00380
Sonnet 5.5 $0.00007 $0.00190
Haiku 4.5 $0.00003 $0.00095

Measured 23d ago against content hash 9384d7fe496d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

datadog-cli scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

mkdir -p ~/.datadog && echo "<your-api-key>" > <API_KEY_FILE> && echo "<your-app-key>" > <APP_KEY_FILE> && chmod 600 ~/.datadog/*

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: Perform Datadog operations using the Datadog HTTP API via curl. Use for querying metrics, logs, monitors, dashboards, and events.
skills/datadog-cli/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Datadog CLI Skill

Use the instance and rules below when constructing all Datadog API commands.

Configuration

Update the table below with your Datadog site and credential file paths:

Environment Site API Key File App Key File
Production <your-datadog-site> (e.g. datadoghq.com, datadoghq.eu) ~/.datadog/prod.api_key ~/.datadog/prod.app_key
Staging <your-datadog-site> ~/.datadog/staging.api_key ~/.datadog/staging.app_key

If the target environment is unclear, ask the user before running any command.

Prerequisites (one-time setup by user)

Generate a Datadog API key and Application key for each environment (Organization Settings → API Keys / Application Keys) and save them to the corresponding files. Never print or display key values. Do not perform these steps yourself.

mkdir -p ~/.datadog && echo "<your-api-key>" > <API_KEY_FILE> && echo "<your-app-key>" > <APP_KEY_FILE> && chmod 600 ~/.datadog/*

Command Format

curl -s -H "DD-API-KEY: $(cat <API_KEY_FILE>)" \
  -H "DD-APPLICATION-KEY: $(cat <APP_KEY_FILE>)" \
  "https://api.<your-datadog-site>/api/<endpoint>" | jq .

Available API Endpoints

Read-only (safe, no confirmation needed)

Endpoint Method Description
/api/v1/query?query=<metric-query>&from=<ts>&to=<ts> GET Query timeseries metrics
/api/v2/logs/events/search POST Search log events
/api/v1/monitor GET List monitors
/api/v1/monitor/<id> GET Get a specific monitor
/api/v1/dashboard GET List dashboards
/api/v1/dashboard/<id> GET Get a specific dashboard
/api/v2/incidents GET List incidents
/api/v1/events GET List events
/api/v1/hosts GET List hosts

Mutating operations (confirm with user before running)

Endpoint Method Description
/api/v1/monitor POST Create a monitor
/api/v1/monitor/<id> PUT Update a monitor
/api/v1/dashboard POST Create a dashboard
/api/v1/monitor/<id>/mute POST Mute a monitor
/api/v1/events POST Post a custom event

Read the full file on GitHub · 80 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago First seen · 80 lines · 34 tokens per session scan B 9384d7fe496d

Subscribe to this mod's changes

datadog-cli is a skill published in the GitHub repository abdullahkhawer/devops-skills (8 stars, last pushed 24d ago), licensed Apache-2.0. It adds 34 tokens to every session and 951 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.

Related

Other skills, from other repositories

proposal-troubleshoot

Diagnose a problem with the proposal skills themselves — a script that fails, a rule applied wrongly, output that contradicts the skill's own stated mandate — and assemble a bug report when it turns out to be a real defect. Use when a skill misbehaved, not when the proposal needs improving.

hutzelmann/thesis-proposal-skills · 66 tokens

agents-sdk-dotnet-debugging

Use when troubleshooting an agent built with the Microsoft Agents SDK (Microsoft.Agents.Hosting.AspNetCore and related packages) in C# / .NET. Trigger on any of these symptoms: build or C# compile errors, crashes on startup, 401 or auth errors on incoming requests, the bot not responding to messages, appsettings.json…

microsoft/Agents · 136 tokens

observability

Periodic health sweep of the running system via the debug pipeline (cloud logs / k8s / daemon / DB slices). On a real anomaly, open a bug task (--kind workitem) carrying the evidence refs so it re-enters the bugfix loop. A healthy sweep opens NO task — never fabricate a bug.

Prismer-AI/PrismerCloud · 67 tokens

prismer-python-debugpy

Debug Python: pdb REPL + debugpy remote (DAP).

Prismer-AI/PrismerCloud · 19 tokens

fetch-url

Fetch a single URL and convert its content to Markdown. Use when you need to read a web page, documentation page, or API reference without indexing it. The content is returned as plain Markdown text on stdout.

arabold/docs-mcp-server · 45 tokens

workthreads

SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…

specstoryai/getspecstory · 126 tokens