datadog-logs

datadog-logs is a skill for Claude Code, Codex from automateyournetwork/netclaw. It costs 17 tokens per session (620 once invoked), scanned B, original, Apache-2.0.

A tool for searching and inspecting logs in Datadog Log Management, a service that stores and analyzes records from applications and infrastructure.

In plain words
What is it for?
Use it to investigate errors, authentication failures, privilege changes, network events, trace IDs, hosts, log indexes, and log-processing pipelines.
Why use it?
It helps replace manual log browsing with filtered searches over a chosen time range and lets you inspect individual entries and processing settings.

Skill for Claude CodeCodex

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

Good fit Use it to investigate errors, authentication failures, privilege changes, network events, trace IDs, hosts, log indexes, and log-processing pipelines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/automateyournetwork/netclaw/datadog-logs
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 automateyournetwork/netclaw --skill datadog-logs
Clone the repo
git clone --depth 1 https://github.com/automateyournetwork/netclaw

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-logs

README.md
[![agentmods](https://agentmods.dev/badge/skills/automateyournetwork/netclaw/datadog-logs/github.svg)](https://agentmods.dev/skills/automateyournetwork/netclaw/datadog-logs)
Your own site
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/datadog-logs"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/datadog-logs/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-logs

Your own site · 80×15
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/datadog-logs"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/datadog-logs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 620 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Privilege Escalation · line 44
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
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.00017 $0.00620
Opus 5.5 $0.00007 $0.00248
Sonnet 5.5 $0.00003 $0.00124
Haiku 4.5 $0.00002 $0.00062

Measured 2mo ago against content hash 6fa0a90ced1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

datadog-logs scanned grade B with 1 finding 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 2mo 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.

3. Check for privilege escalation: `search_logs(query="@action:sudo OR @action:su")`
workspace/skills/datadog-logs/SKILL.md · 73 lines

How it starts

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

Datadog Logs Skill

Search and analyze logs in Datadog Log Management.

Tools

Tool Description
search_logs Search logs with query syntax, time range, and filters
get_log_details Get detailed information about a specific log entry
list_log_indexes List all available log indexes
get_log_pipeline Get log pipeline configuration for processing

Example Queries

Search for error logs in the network service
→ search_logs(query="service:network status:error", time_range="1h")

Find all logs from a specific host
→ search_logs(query="host:router-core-01", time_range="15m")

Get logs with a specific trace ID
→ search_logs(query="trace_id:abc123", time_range="1d")

List all log indexes
→ list_log_indexes()

Workflows

Security Event Hunting

  1. Search for authentication failures: search_logs(query="@auth.status:failed")
  2. Correlate by source IP: search_logs(query="@network.client.ip:10.0.0.1")
  3. Check for privilege escalation: search_logs(query="@action:sudo OR @action:su")
  4. Review timeline and patterns

Network Log Correlation

  1. Search interface events: search_logs(query="service:network @interface.status:down")
  2. Correlate with routing changes: search_logs(query="@event.type:bgp_state_change")
  3. Check for cascading failures across regions
  4. Build incident timeline

Syslog Analysis

  1. Search by facility: search_logs(query="@syslog.facility:local0")
  2. Filter by severity: search_logs(query="@syslog.severity:<4") (warning and above)
  3. Aggregate by host and time window
  4. Identify anomalous patterns

Prerequisites

  • DD_API_KEY Datadog API key
  • DD_APP_KEY Datadog application key
  • DD_SITE Datadog site (optional, defaults to datadoghq.com)

Server

This skill uses the datadog-mcp server via remote MCP transport.

Failure Behavior

  • On a tool error (timeout, unreachable host, malformed response), report the failure and its error message directly to the user rather than fabricating or guessing at results.
  • For a confirmed read-only call, check connectivity and retry once if appropriate. For any call that changes state or sends a message, a timeout does not prove the action failed: inspect current state or delivery status before retrying, preserve the required approval/change gates, and do not repeat an action whose outcome is unknown.

Read the full file on GitHub · 73 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. 2mo ago Changed 6fa0a90ced1a
  2. 2mo ago Changed · +5 lines 7f8b6c089604
  3. 3mo ago First seen · 68 lines · 17 tokens per session scan B f5e6faa3a21b

Subscribe to this mod's changes

datadog-logs is a skill published in the GitHub repository automateyournetwork/netclaw (740 stars, last pushed 3d ago), licensed Apache-2.0. It adds 17 tokens to every session and 620 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

datadog-logs compared with skills from other repositories

datadog-logs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
datadog-logsautomateyournetwork/netclawSkill7403d agoApache-2.0B17Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9kyesterdayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill343yesterdayApache-2.0A112Claude Code
performance-verificationvalkor-ai/loomSkill1.6k2d agoApache-2.0A45Claude Code, Codex
loop-engineeringhuytieu/COG-second-brainSkill1.6kyesterdayMITA63Claude Code