tools/datadog/SKILL.md
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.
npx skillsauth add letta-ai/skills datadogInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Direct API access to Datadog observability data — logs, metrics, monitors, dashboards, hosts, and APM spans.
Set these environment variables:
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:
Required scopes (for read-only access):
dashboards_read, monitors_read, metrics_read, logs_read_data, incidents_read, hosts_read, apm_read# 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
# 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
# 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
# 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
npx tsx <skill-path>/scripts/datadog.ts list-dashboards
npx tsx <skill-path>/scripts/datadog.ts list-hosts
npx tsx <skill-path>/scripts/datadog.ts list-hosts --filter "env:production"
npx tsx <skill-path>/scripts/datadog.ts list-incidents
# 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
The --from and --to flags accept:
-1h, -30m, -1d, -4h2026-03-20T00:00:00Z| Region | DD_SITE value |
|--------|---------------|
| US1 | datadoghq.com |
| US3 | us3.datadoghq.com |
| US5 | us5.datadoghq.com |
| EU | datadoghq.eu |
| AP1 | ap1.datadoghq.com |
403 Forbidden:
Credentials not found:
testing
Navigates archived ChatGPT or Claude-style conversation exports and a MemFS reference archive on demand. Use when recalling what a past assistant knew, searching old conversations, rendering specific chats, seeding reference memory from export sidecars, or mining historical context without doing a full import.
testing
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. Use when replacing folders.files.upload, working with PDFs or document QA, or emulating open_file, grep_file, and search_file behavior.
data-ai
Configures Letta agent compaction settings and custom summarization prompts. Use when a user asks to change an agent's compaction prompt, improve summaries after context eviction, tune sliding-window or all-message compaction, or design companion/coding-agent continuity summaries.
development
Semantic search over agent memory files. Use when you need to find conceptually related memory blocks, discover forgotten reference files, check what you already know before creating new memory, or search beyond exact keyword matching. Currently supports QMD (local, no API keys).