Query metrics, manage monitors, post events, and interact with Datadog via the dogshell CLI.

MITAuto-check passedAI & LLM Engineering

Install Datadog

skills CLI
$ npx skills add olasunkanmi-SE/codebuddy --skill datadog -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install olasunkanmi-SE/codebuddy datadog --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/olasunkanmi-SE/codebuddy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/datadog .claude/skills/datadog && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
datadog
GitHub stars
141
Token cost
~1.4k tokens
SKILL.md length
115 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Query metrics, manage monitors, post events, and interact with Datadog via the dogshell CLI.

  • AI & LLM Engineering work in your project
  • SKILL.md covers Setup, Common Commands, Environment Variables and Security Notes, plus 2 more sections
  • Calls npm; reaches api.datadoghq.com and api.datadoghq.eu; needs DATADOG_API_KEY and DATADOG_APP_KEY

What it does

Datadog is an agent skill from olasunkanmi-SE/codebuddy. Query metrics, manage monitors, post events, and interact with Datadog via the dogshell CLI.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering. It works with Datadog. The repository describes itself as: An Autonomous AI Software Engineer. The licence is MIT.

When your agent uses it

  • AI & LLM Engineering work in your project

Example prompts

  • “/datadog”

Requirements

  • Node.js
  • A credential in DATADOG_API_KEY
  • A credential in DATADOG_APP_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit a9b8cd0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.datadoghq.com
    • api.datadoghq.eu

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • DATADOG_API_KEY
    • DATADOG_APP_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Datadog loads about 1.4k tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 115 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from olasunkanmi-SE/codebuddy at commit a9b8cd0, republished under its MIT licence (© olasunkanmi-SE). 115 words, ~1,450 tokens.

Download SKILL.mdSave it as .claude/skills/datadog/SKILL.md (or your agent's skills folder).
name
datadog
description
Query metrics, manage monitors, post events, and interact with Datadog via the dogshell CLI.
metadata.displayName
Datadog
metadata.icon
activity
metadata.category
monitoring
metadata.version
1.0.0

dogshell (Datadog CLI)

Use dog to interact with Datadog for metrics, monitors, events, dashboards, and more.

Setup

Before using, set your Datadog API and Application keys:

bash
export DATADOG_API_KEY="your_api_key"
export DATADOG_APP_KEY="your_app_key"

Or create ~/.dogrc:

ini
[Connection]
apikey = your_api_key
appkey = your_app_key

Secure the config file:

bash
chmod 600 ~/.dogrc

Common Commands

Query Metrics
bash
# Query metric data (last hour)
dog metric query --query "avg:system.cpu.user{*}" --start $(date -v-1H +%s) --end $(date +%s)

# Query with specific host filter
dog metric query --query "avg:system.memory.used{host:myserver}" --start $(date -v-1H +%s) --end $(date +%s)

# Query multiple metrics
dog metric query --query "avg:system.cpu.user{*},avg:system.cpu.system{*}" --start $(date -v-1H +%s) --end $(date +%s)
Post Metrics
bash
# Post a single metric
dog metric post my.custom.metric 42 --host myserver --tags env:prod,service:api

# Post metric with timestamp
dog metric post my.custom.metric 42 --timestamp $(date +%s)
Events
bash
# Post an event
dog event post "Deployment Complete" "Deployed version 1.2.3 to production" --tags env:prod,service:api

# Post event with priority
dog event post "Alert" "High memory usage detected" --priority normal --alert_type warning

# Query events (last 24 hours)
dog event query --start $(date -v-1d +%s) --end $(date +%s)

# Query events with tags
dog event query --start $(date -v-1d +%s) --end $(date +%s) --tags env:prod
Monitors
bash
# List all monitors
dog monitor list

# Get specific monitor
dog monitor show <monitor_id>

# Mute a monitor
dog monitor mute <monitor_id>

# Unmute a monitor
dog monitor unmute <monitor_id>

# Mute all monitors
dog monitor mute_all

# Create a metric monitor
dog monitor create "metric alert" "My Monitor" "avg(last_5m):avg:system.cpu.user{*} > 80" --message "CPU usage is high @slack-alerts"
Service Checks
bash
# Post a service check
dog service_check post my.service.check 0 --host myserver --tags env:prod
# Status: 0=OK, 1=WARNING, 2=CRITICAL, 3=UNKNOWN

# Post check with message
dog service_check post my.health.check 0 --message "All systems operational"
Dashboards
bash
# List all dashboards
dog dashboard list

# Get dashboard details
dog dashboard show <dashboard_id>
Hosts
bash
# Search hosts
dog host search --query "host:web*"

# Mute a host
dog host mute <hostname>

# Unmute a host
dog host unmute <hostname>
Tags
bash
# Get tags for a host
dog tag show <hostname>

# Add tags to a host
dog tag add <hostname> env:prod role:web

# Update tags for a host (replaces existing)
dog tag update <hostname> env:staging role:api

# Remove all tags from a host
dog tag detach <hostname>
Downtimes
bash
# Schedule a downtime
dog downtime schedule --scope "host:myserver" --start $(date +%s) --end $(date -v+1H +%s) --message "Maintenance window"

# List active downtimes
dog downtime list

# Cancel a downtime
dog downtime cancel <downtime_id>

Environment Variables

VariableDescription
DATADOG_API_KEYYour Datadog API key
DATADOG_APP_KEYYour Datadog Application key
DATADOG_HOSTAPI endpoint (default: https://api.datadoghq.com)

For EU region, set:

bash
export DATADOG_HOST="https://api.datadoghq.eu"

Security Notes

  • Never commit API keys to version control
  • Use Application keys with minimal required permissions
  • Store credentials in ~/.dogrc with chmod 600
  • Rotate keys periodically
  • Use separate keys for different environments

Useful Queries

System Metrics
bash
# CPU usage
dog metric query --query "avg:system.cpu.user{*} by {host}"

# Memory usage
dog metric query --query "avg:system.mem.used{*}/avg:system.mem.total{*}*100"

# Disk usage
dog metric query --query "avg:system.disk.in_use{*} by {device}"
Application Metrics
bash
# Request rate
dog metric query --query "sum:trace.http.request.hits{service:my-app}.as_rate()"

# Error rate
dog metric query --query "sum:trace.http.request.errors{service:my-app}/sum:trace.http.request.hits{service:my-app}*100"

# Latency (p95)
dog metric query --query "p95:trace.http.request.duration{service:my-app}"

Alternative: datadog-ci

For CI/CD operations, use datadog-ci:

bash
# Install
npm install -g @datadog/datadog-ci

# Upload sourcemaps
datadog-ci sourcemaps upload ./dist --service my-app --release-version 1.0.0

# Upload test results
datadog-ci junit upload --service my-app ./test-results/*.xml

# Trigger Synthetic tests
datadog-ci synthetics run-tests --public-id abc-123

© olasunkanmi-SE, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/datadog of olasunkanmi-SE/codebuddy.

Open the folder on GitHubat commit a9b8cd0

Compare with similar skills

Datadog next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Datadog compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Datadog this skillolasunkanmi-SE/codebuddy141—~1.4kAutomated safety check: PassMIT
Llmobs TestingDataDog/dd-trace-js837—~2kAutomated safety check: PassCustom licence
Weekly Production Reviewlangfuse/langfuse36k—~4.1kAutomated safety check: PassCustom licence
Dd Product Recommenderdatadog-labs/agent-skills177—~12kAutomated safety check: PassMIT
Llmobs IntegrationDataDog/dd-trace-js837—~1.4kAutomated safety check: PassCustom licence
Datadog Query Recipeslangfuse/langfuse36k—~824Automated safety check: PassCustom licence

Similar skills

  • Llmobs Testing

    DataDog/dd-trace-js

    Official

    A skill your agent uses when writing, modifying, or debugging tests for an LLMObs plugin in dd-trace-js.

    837 GitHub stars~2k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Weekly Production Review

    langfuse/langfuse

    Prepare Langfuse weekly production reviews covering failures, fixes, open issues, and tracking gaps.

    36k GitHub stars~4.1k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Dd Product Recommender

    datadog-labs/agent-skills

    Recommends the right Datadog products for a codebase and/or a stated goal — grounded in a tech-stack→product map and a use-case→product map built from Datadog product capabilities and common…

    177 GitHub stars~12k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Llmobs Integration

    DataDog/dd-trace-js

    Official

    A skill your agent uses when adding, debugging, or modifying LLMObs plugins for an LLM library in dd-trace-js.

    837 GitHub stars~1.4k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Datadog Query Recipes

    langfuse/langfuse

    Research Langfuse production telemetry with reusable Datadog queries.

    36k GitHub stars~824 tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Debug Issue With Datadog

    langfuse/langfuse

    Establish root cause by combining Datadog telemetry with the Langfuse repo.

    36k GitHub stars~1.6k tokensUpdated today
    AI & LLM EngineeringAuto-check passed

More from olasunkanmi-SE/codebuddy

All 10 skills in this repo
  • Telegram

    olasunkanmi-SE/codebuddy

    Send Telegram messages, files, and interact with Telegram bots via the telegram-send CLI tool.

    141 GitHub stars~817 tokensUpdated 1 mo ago
    Auto-check passed
  • Elasticsearch

    olasunkanmi-SE/codebuddy

    Interact with Elasticsearch clusters via the API. An agent skill from olasunkanmi-SE/codebuddy.

    141 GitHub stars~425 tokensUpdated 1 mo ago
    Auto-check passed
  • Gmail

    olasunkanmi-SE/codebuddy

    Read, send, and manage Gmail emails via the gmail-cli tool. An agent skill from olasunkanmi-SE/codebuddy.

    141 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check: warnings
  • GitHub

    olasunkanmi-SE/codebuddy

    Manage GitHub repositories, issues, and pull requests via the gh CLI.

    141 GitHub stars~611 tokensUpdated 1 mo ago
    Auto-check: notes
  • GitLab

    olasunkanmi-SE/codebuddy

    Manage GitLab issues and merge requests via the glab CLI. An agent skill from olasunkanmi-SE/codebuddy.

    141 GitHub stars~476 tokensUpdated 1 mo ago
    Auto-check: notes
  • Mysql

    olasunkanmi-SE/codebuddy

    Manage MySQL databases via the mysql CLI. An agent skill from olasunkanmi-SE/codebuddy.

    141 GitHub stars~399 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Datadog

What does Datadog do?

Query metrics, manage monitors, post events, and interact with Datadog via the dogshell CLI. Datadog is an agent skill from olasunkanmi-SE/codebuddy. Query metrics, manage monitors, post events, and interact with Datadog via the dogshell CLI.

When should I use Datadog?

Datadog fits situations like: AI & LLM Engineering work in your project.

How do I install Datadog in Claude Code?

Run `npx skills add olasunkanmi-SE/codebuddy --skill datadog -a claude-code`. Or copy the skill folder (skills/datadog in olasunkanmi-SE/codebuddy) into .claude/skills/datadog in your project. Claude Code loads it when a task matches its description.

How do I install Datadog in Codex?

Run `npx skills add olasunkanmi-SE/codebuddy --skill datadog -a codex`. Or copy the skill folder (skills/datadog in olasunkanmi-SE/codebuddy) into .agents/skills/datadog in your project. Codex loads it when a task matches its description.

Can I use Datadog in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add olasunkanmi-SE/codebuddy --skill datadog -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/datadog, .gemini/skills/datadog, .github/skills/datadog and .opencode/skills/datadog in your project.

What does Datadog need to run?

Going by SKILL.md and its folder, Datadog needs the command-line tools its instructions call (npm) and credentials named DATADOG_API_KEY and DATADOG_APP_KEY. Our summary lists: Node.js; A credential in DATADOG_API_KEY; A credential in DATADOG_APP_KEY.

Does Datadog access the network?

SKILL.md names 2 domains. In commands or code: api.datadoghq.com and api.datadoghq.eu; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Datadog safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Datadog use?

Datadog is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Datadog use?

About 1.4k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Datadog?

Skills that share tags, products or a category with Datadog: Llmobs Testing (DataDog/dd-trace-js, 837 stars), Weekly Production Review (langfuse/langfuse, 36k stars), Dd Product Recommender (datadog-labs/agent-skills, 177 stars) and Llmobs Integration (DataDog/dd-trace-js, 837 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Datadog?

olasunkanmi-SE (a GitHub user) maintains it in olasunkanmi-SE/codebuddy, which has 141 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on August 28, 2026.

Source: olasunkanmi-SE/codebuddy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.