dd-pup

dd-pup is a skill for Claude Code from DataDog/pup. It costs 19 tokens per session (2,517 once invoked), scanned A, original, Apache-2.0.

A command-line tool skill for performing Datadog API operations, including authentication, logs, monitors, traces, metrics, hosts, incidents, service objectives, and security signals.

In plain words
What is it for?
Use it to search errors and traces, query metrics, list infrastructure and incidents, manage monitors and downtimes, check service objectives, and authenticate with Datadog.
Why use it?
It gives a coding agent one documented way to inspect and manage many Datadog resources from the terminal.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pup plugin — 12 skills, 2 agents shipped together

Good fit Use it to search errors and traces, query metrics, list infrastructure and incidents, manage monitors and downtimes, check service objectives, and authenticate with Datadog.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/datadog/pup/dd-pup
About the project

DataDog/pup is a command-line client that gives AI agents access to Datadog's observability platform. It lets agents retrieve and manage information across Datadog products such as metrics, logs, monitors, RUM, and security data, with structured output for automation.

DataDog/pup · 1,001 stars · on GitHub · datadoghq.com

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 DataDog/pup --skill dd-pup
Clone the repo
git clone --depth 1 https://github.com/DataDog/pup

Made for: Claude Code.

Or install pup, the plugin that ships this one along with the rest of its 12 skills, 2 agents.

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 dd-pup

README.md
[![agentmods](https://agentmods.dev/badge/skills/datadog/pup/dd-pup.svg)](https://agentmods.dev/skills/datadog/pup/dd-pup)
Your own site
<a href="https://agentmods.dev/skills/datadog/pup/dd-pup"><img src="https://agentmods.dev/badge/skills/datadog/pup/dd-pup.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,517 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00019 $0.02517
Opus 5 $0.00010 $0.01259
Sonnet 5 $0.00004 $0.00503
Haiku 4.5 $0.00002 $0.00252

Measured 3d ago against content hash 6906bb0f54b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

dd-pup scanned grade A with 0 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/dd-pup/SKILL.md · 328 lines

How it starts

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

pup (Datadog CLI)

Pup CLI for Datadog API operations. Supports OAuth2 and API key auth.

Quick Reference

Task Command
Search error logs pup logs search --query "status:error" --from 1h
List monitors pup monitors list
Create downtime pup downtime create --file downtime.json
Find slow traces pup traces search --query="@duration:>500000000" --from="1h"
List incidents pup incidents list
Query metrics pup metrics query --query "avg:system.cpu.user{*}"
List hosts pup infrastructure hosts list
Check SLOs pup slos list
On-call teams pup on-call teams list
Security signals pup security signals list --query "*" --from 24h
Inspect runtime values pup debugger probes create --service my-svc --env prod --probe-location "com.example.MyClass:myMethod" or "com.example.MyClass:myMethod(String, int)"
Find probe-able methods pup symdb search --service my-svc --query MyController --view probe-locations
Check auth pup auth status
Refresh token pup auth refresh

Prerequisites

# Install pup via Homebrew (recommended)
brew tap datadog-labs/pack
brew install pup

Auth

pup auth login          # OAuth2 browser flow (recommended)
pup auth status         # Check token validity
pup auth refresh        # Refresh expired token (no browser)
pup auth logout         # Clear credentials

⚠️ Tokens expire (~1 hour). If a command fails with 401/403 mid-conversation:

pup auth refresh        # Try refresh first
pup auth login          # If refresh fails, full re-auth

Headless/CI (no browser)

# Use env vars or:
export DD_API_KEY=your-api-key
export DD_APP_KEY=your-app-key
export DD_SITE=datadoghq.com    # or datadoghq.eu, etc.

Command Reference

Monitors

pup monitors list --limit 10
pup monitors list --tags "env:prod"
pup monitors get 12345
pup monitors search --query "High CPU"
pup monitors create --file monitor.json
pup monitors update 12345 --file monitor.json
pup monitors delete 12345

Read the full file on GitHub · 328 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. 3d ago First seen · 328 lines · 19 tokens per session scan A 6906bb0f54b3

Subscribe to this mod's changes

dd-pup is a skill published in the GitHub repository DataDog/pup (1,001 stars, last pushed 3d ago), licensed Apache-2.0. It adds 19 tokens to every session and 2,517 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories