dd-logs

dd-logs is a skill for Claude Code, Codex from neverinfamous/memory-journal-mcp. It costs 85 tokens per session (1,580 once invoked), scanned A, original, MIT.

A set of tools for searching and managing Datadog logs. Datadog is a service that collects application and infrastructure data so teams can investigate what happened.

In plain words
What is it for?
Use it to search logs, aggregate log data, create metrics from logs, configure archives, and set exclusion filters.
Why use it?
It helps find relevant errors and inspect log volume, while identifying ways to control log storage and ingestion costs.

Skill for Claude CodeCodex

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

Good fit Use it to search logs, aggregate log data, create metrics from logs, configure archives, and set exclusion filters.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/neverinfamous/memory-journal-mcp/dd-logs"><img src="https://agentmods.dev/badge/skills/neverinfamous/memory-journal-mcp/dd-logs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,580 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.00085 $0.01580
Opus 5.5 $0.00034 $0.00632
Sonnet 5.5 $0.00017 $0.00316
Haiku 4.5 $0.00009 $0.00158

Measured today against content hash c688d00146fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dd-logs 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 today.

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/datadog/dd-logs/SKILL.md · 225 lines

How it starts

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

Datadog Logs

Search, process, and archive logs with cost awareness.

Prerequisites

Datadog Pup should already be installed. See Setup Pup if not.

Command Execution Order (Token-Efficient)

For scoped commands, use this order:

  1. Check context first (prior outputs, conversation, saved values).
  2. If a required value is missing, run a discovery command first.
  3. If still ambiguous, ask the user to confirm.
  4. Then run the target command.
  5. Avoid speculative commands likely to fail.

Quick Start

pup auth login

Search Logs

# Basic search
pup logs search --query="status:error" --from="1h"

# With filters
pup logs search --query="service:api status:error" --from="1h" --limit 100

# JSON output
pup logs search --query="@http.status_code:>=500" --from="1h"

Search Syntax

Query Meaning
error Full-text search
status:error Tag equals
@http.status_code:500 Attribute equals
@http.status_code:>=400 Numeric range
service:api AND env:prod Boolean
@message:*timeout* Wildcard

Commands

pup logs search --query="status:error" --from="1h"
pup logs list
pup logs aggregate --query="*" --from="1h" --compute="count" --group-by="service"
pup logs patterns --query="status:error" --pattern-field="message" --from="1h"   # Requires pup v2.x+
pup logs query --query="service:api" --from="1h"
pup logs saved-views list   # Requires pup v2.x+

pup logs archives list
pup logs archives get <archive-id>
pup logs custom-destinations list
pup logs metrics list
pup logs metrics get <metric-id>

# Restriction queries are a top-level command, not a logs subcommand.
pup logs-restriction list

--compute and --group-by on aggregate, and the pattern flags, follow the installed pup logs <command> --help if it disagrees with the examples above.

Common Processors

{
  "name": "API Logs",
  "filter": {"query": "service:api"},
  "processors": [
    {
      "type": "grok-parser",
      "name": "Parse nginx",
      "source": "message",
      "grok": {"match_rules": "%{IPORHOST:client_ip} %{DATA:method} %{DATA:path} %{NUMBER:status}"}
    },
    {
      "type": "status-remapper",
      "name": "Set severity",
      "sources": ["level", "severity"]
    },
    {
      "type": "attribute-remapper",
      "name": "Remap user_id",
      "sources": ["user_id"],
      "target": "usr.id"
    }
  ]
}

Read the full file on GitHub · 225 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. today First seen · 225 lines · 85 tokens per session scan A c688d00146fb

Subscribe to this mod's changes

dd-logs is a skill published in the GitHub repository neverinfamous/memory-journal-mcp (20 stars, last pushed yesterday), licensed MIT. It adds 85 tokens to every session and 1,580 once invoked, about $0.0003 per session on Opus 5.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-12-04.

Related

dd-logs compared with skills from other repositories

dd-logs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dd-logsneverinfamous/memory-journal-mcpSkill20yesterdayMITA85Claude Code, Codex
solr-semantic-searchgriddynamics/rosettaSkill384yesterdayApache-2.0A24Claude Code, Codex
setupqdrant/mcp-server-qdrantSkill1.6ktodayApache-2.0C45Claude Code, Codex
disease-analysisdbcls/togomcpSkill232d agoMITA149Claude Code, Codex
research-article-analysisdbcls/togomcpSkill232d agoMITA147Claude Code, Codex
lacuna-code-to-papertiptreesystems/lacuna-research-mcpSkill965d agoMITA53Claude Code, Codex
lacuna-prior-worktiptreesystems/lacuna-research-mcpSkill965d agoMITA46Claude Code, Codex