Agent skill

Datadog

by letta-ai in letta-ai/skills

Query Datadog observability data (logs, metrics, monitors, dashboards, hosts) via direct API.

MITAuto-check passedDevOps & Cloud

Install Datadog

skills CLI
$ npx skills add letta-ai/skills --skill datadog -a claude-code

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

GitHub CLI
$ gh skill install letta-ai/skills 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/letta-ai/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tools/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
149
Token cost
~792 tokens
SKILL.md length
129 words
Files
7 (incl. scripts, assets)
Skills in repo
22
Repo updated
First seen
Licence
MIT

At a glance

Query Datadog observability data (logs, metrics, monitors, dashboards, hosts) via direct API.

  • Investigating production issues
  • SKILL.md covers Prerequisites, Quick Start, Commands and Time Formats, plus 2 more sections
  • Runs TypeScript scripts from its folder; calls npx; needs DD_API_KEY and DD_APP_KEY
  • Checking monitors

What it does

Datadog is an agent skill from letta-ai/skills. Query Datadog observability data (logs, metrics, monitors, dashboards, hosts) via direct API. Use when investigating production issues, checking monitors, searching logs, or accessing Datadog data.

Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and assets (for example `scripts/datadog.ts`, `scripts/package-lock.json` and `scripts/package.json`).

It sits in DevOps & Cloud, covering Observability. It works with Datadog. The repository describes itself as: A shared repository for skills. Intended to be used with Letta Code, Claude Code, Codex CLI, and other agents that support skills. The licence is MIT.

When your agent uses it

  • Investigating production issues
  • Checking monitors
  • Accessing Datadog data

Example prompts

  • “/datadog”

Requirements

  • Node.js
  • A credential in DD_API_KEY
  • A credential in DD_APP_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 6785511. 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

    Ships 3 files in scripts/ (TypeScript), which the agent can run.

    Shell commands in SKILL.md call:

    • npx

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

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

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

  • Credentials

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

    • DD_API_KEY
    • DD_APP_KEY

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

Context cost

Datadog loads about 792 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 129 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

The full file from letta-ai/skills at commit 6785511, republished under its MIT licence (© letta-ai). 129 words, ~792 tokens.

Download SKILL.mdSave it as .claude/skills/datadog/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
datadog
description
Query Datadog observability data (logs, metrics, monitors, dashboards, hosts) via direct API. Use when investigating production issues, checking monitors, searching logs, or accessing Datadog data.

Datadog CLI

Direct API access to Datadog observability data — logs, metrics, monitors, dashboards, hosts, and APM spans.

Prerequisites

Set these environment variables:

bash
export DD_API_KEY="your-32-char-hex-api-key"
export DD_APP_KEY="your-application-key"
export DD_SITE="us5.datadoghq.com"  # or datadoghq.com, datadoghq.eu, etc.

Get keys from Datadog:

  • API Key: Organization Settings → API Keys
  • App Key: Organization Settings → Application Keys

Required scopes (for read-only access):

  • dashboards_read, monitors_read, metrics_read, logs_read_data, incidents_read, hosts_read, apm_read

Quick Start

bash
# Test credentials
npx tsx <skill-path>/scripts/datadog.ts validate

# Search logs
npx tsx <skill-path>/scripts/datadog.ts search-logs "status:error" --from -1h

# Query metrics
npx tsx <skill-path>/scripts/datadog.ts query-metrics "avg:system.cpu.user{*}" --from -4h

# List monitors
npx tsx <skill-path>/scripts/datadog.ts list-monitors

Commands

Logs
bash
# Search logs (default: last hour, 50 results)
npx tsx <skill-path>/scripts/datadog.ts search-logs "service:api status:error"
npx tsx <skill-path>/scripts/datadog.ts search-logs "env:prod" --from -30m --limit 100
Metrics
bash
# Query metric timeseries
npx tsx <skill-path>/scripts/datadog.ts query-metrics "avg:system.cpu.user{*}" --from -4h
npx tsx <skill-path>/scripts/datadog.ts query-metrics "sum:requests.count{service:api}.as_count()" --from -1d
Monitors
bash
# List all monitors
npx tsx <skill-path>/scripts/datadog.ts list-monitors

# Filter monitors
npx tsx <skill-path>/scripts/datadog.ts list-monitors --query "status:alert"

# Get specific monitor
npx tsx <skill-path>/scripts/datadog.ts get-monitor 12345
Dashboards
bash
npx tsx <skill-path>/scripts/datadog.ts list-dashboards
Hosts
bash
npx tsx <skill-path>/scripts/datadog.ts list-hosts
npx tsx <skill-path>/scripts/datadog.ts list-hosts --filter "env:production"
Incidents
bash
npx tsx <skill-path>/scripts/datadog.ts list-incidents
APM (Spans & Services)
bash
# Search spans
npx tsx <skill-path>/scripts/datadog.ts search-spans "service:api @http.status_code:500" --from -1h

# List services
npx tsx <skill-path>/scripts/datadog.ts list-services

Time Formats

The --from and --to flags accept:

  • Relative: -1h, -30m, -1d, -4h
  • ISO 8601: 2026-03-20T00:00:00Z

Datadog Sites

RegionDD_SITE value
US1datadoghq.com
US3us3.datadoghq.com
US5us5.datadoghq.com
EUdatadoghq.eu
AP1ap1.datadoghq.com

Troubleshooting

403 Forbidden:

  • Check DD_SITE matches your Datadog region
  • Verify app key has required scopes
  • Confirm API key is active

Credentials not found:

  • Ensure DD_API_KEY and DD_APP_KEY are exported
  • Check for typos in env var names

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

Files

SKILL.md and 6 other files (scripts, assets) in tools/datadog of letta-ai/skills.

  • SKILL.md
  • LICENSE
  • assets/datadog-small.svg
  • assets/datadog.png
  • scripts/datadog.ts
  • scripts/package-lock.json
  • scripts/package.json

Open the folder on GitHubat commit 6785511

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 skillletta-ai/skills149—~792Automated safety check: PassMIT
Apm IntegrationsDataDog/dd-trace-java736—~3.7kAutomated safety check: NotesApache-2.0
Redis Observabilityredis/agent-skills1662 repos~911Automated safety check: PassMIT
Frontmcp Observabilityagentfront/frontmcp146—~4.6kAutomated safety check: PassApache-2.0
Monitoring Observabilityahmedasmar/devops-claude-skills203—~3.9kAutomated safety check: PassNone
Observability Architecturemajiayu000/litellm-rs117—~1.3kAutomated safety check: PassMIT

Similar skills

  • Apm Integrations

    DataDog/dd-trace-java

    Official

    Write a new library instrumentation end-to-end. An agent skill from DataDog/dd-trace-java.

    736 GitHub stars~3.7k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Redis Observability

    redis/agent-skills

    Official

    Redis observability guidance — which metrics to monitor (memory, connections, hit ratio, ops/sec, rejected connections), which built-in commands to reach for during incident triage (SLOWLOG, INFO…

    166 GitHub starsUsed in 2 repos~911 tokens
    DevOps & CloudAuto-check passed
  • Frontmcp Observability

    agentfront/frontmcp

    A skill your agent uses when adding tracing, structured logging, metrics, or monitoring to a FrontMCP server.

    146 GitHub stars~4.6k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Monitoring Observability

    ahmedasmar/devops-claude-skills

    Monitoring and observability strategy, implementation, and troubleshooting.

    203 GitHub stars~3.9k tokensUpdated 6 mo ago
    DevOps & CloudAuto-check passed
  • Observability Architecture

    majiayu000/litellm-rs

    LiteLLM-RS Observability Architecture. An agent skill from majiayu000/litellm-rs.

    117 GitHub stars~1.3k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Error Handler

    EliasOulkadi/shokunin

    Design error handling, structured logging, and observability with OpenTelemetry (traces, metrics, logs), error classification, recovery patterns (retry with jitter, circuit breaker, bulkhead…

    114 GitHub stars~3.6k tokensUpdated 5 days ago
    DevOps & CloudAuto-check: notes

More from letta-ai/skills

All 22 skills in this repo
  • Visual Identity

    letta-ai/skills

    Build and maintain a persistent visual identity for your agent using Flux Kontext Pro.

    149 GitHub stars~2.6k tokensUpdated 8 days ago
    Auto-check passed
  • AI News

    letta-ai/skills

    Fetch and summarize recent AI news from curated RSS feeds (Hugging Face, VentureBeat, The Verge, OpenAI, Anthropic, DeepMind, etc.) and YouTube channels (Yannic Kilcher, Two Minute Papers, AI…

    149 GitHub stars~582 tokensUpdated 8 days ago
    Auto-check passed
  • Builds and debugs Letta Code channels, including first-party channel adapters and dynamic user channel plugins under ~/.letta/channels.

    149 GitHub stars~1.1k tokensUpdated 8 days ago
    Auto-check passed
  • Letta Configuration

    letta-ai/skills

    Configure LLM models and providers for Letta agents and servers.

    149 GitHub stars~1.3k tokensUpdated 8 days ago
    Auto-check: notes
  • Migrates deprecated Letta Filesystem folders/files to MemFS using markdown document corpora, chunking, local lexical search, and QMD semantic search via the memfs-search skill.

    149 GitHub stars~1.3k tokensUpdated 8 days ago
    Auto-check passed
  • Memfs Search

    letta-ai/skills

    Semantic search over agent memory files. An agent skill from letta-ai/skills.

    149 GitHub stars~901 tokensUpdated 8 days ago
    Auto-check passed

Works with

Categories

Questions about Datadog

What does Datadog do?

Query Datadog observability data (logs, metrics, monitors, dashboards, hosts) via direct API. Datadog is an agent skill from letta-ai/skills. Query Datadog observability data (logs, metrics, monitors, dashboards, hosts) via direct API.

When should I use Datadog?

Datadog fits situations like: investigating production issues; checking monitors; accessing Datadog data.

How do I install Datadog in Claude Code?

Run `npx skills add letta-ai/skills --skill datadog -a claude-code`. Or copy the skill folder (tools/datadog in letta-ai/skills) 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 letta-ai/skills --skill datadog -a codex`. Or copy the skill folder (tools/datadog in letta-ai/skills) 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 letta-ai/skills --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 TypeScript for the scripts in its folder, the command-line tools its instructions call (npx) and credentials named DD_API_KEY and DD_APP_KEY. Our summary lists: Node.js; A credential in DD_API_KEY; A credential in DD_APP_KEY.

Does Datadog access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Datadog use?

Datadog is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Datadog use?

About 792 tokens (SKILL.md is roughly 3.2k 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: Apm Integrations (DataDog/dd-trace-java, 736 stars), Redis Observability (redis/agent-skills, 166 stars), Frontmcp Observability (agentfront/frontmcp, 146 stars) and Monitoring Observability (ahmedasmar/devops-claude-skills, 203 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Datadog?

letta-ai (a GitHub organization) maintains it in letta-ai/skills, which has 149 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 1, 2026.

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