packmind: Skill for Claude Code

.agents/skills/datadog-analysis/SKILL.md

datadog-analysis is a skill for Claude Code, Codex from PackmindHub/packmind. It costs 68 tokens per session (1,542 once invoked), scanned A, original, Apache-2.0.

A production-error investigation procedure for Datadog, a service that collects application logs and monitoring data. It groups errors from specified API and web services, traces them to the codebase, and writes a structured bug report.

In plain words
What is it for?
It analyzes Datadog errors, examines stack traces and related source files, and reports findings for the API and frontend services.
Why use it?
Large volumes of production errors are difficult to connect to their underlying source. This organizes repeated failures and records likely root causes and useful search patterns.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is PackmindHub/packmind's own configuration. It tells Claude Code and Codex how to work on packmind itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything packmind configures →

Reuse

Borrowing it

Nothing to install: this file belongs to PackmindHub/packmind. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/PackmindHub/packmind/main/.agents/skills/datadog-analysis/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/PackmindHub/packmind

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/packmindhub/packmind/datadog-analysis"><img src="https://agentmods.dev/badge/skills/packmindhub/packmind/datadog-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,542 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.00068 $0.01542
Opus 5.5 $0.00027 $0.00617
Sonnet 5.5 $0.00014 $0.00308
Haiku 4.5 $0.00007 $0.00154

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

Security

Grade A, and why

datadog-analysis 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 1mo 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.

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.

.agents/skills/datadog-analysis/SKILL.md · 101 lines

How it starts

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

Datadog Analysis

Analyze production error logs from Packmind Datadog services, group them into patterns, cross-reference stack traces with the codebase, and produce a structured markdown report with root causes and Datadog search patterns.

Prerequisites

  • The Datadog MCP server must be connected. If not connected, prompt the user to run /mcp first.
  • Read references/datadog_mcp.md before making any MCP tool calls for guidance on tool usage, gotchas, and known pitfalls.

Services

The analysis covers two production services. Each maps to a Datadog service name, a codebase location, and a Dockerfile:

Datadog service App Codebase Dockerfile Runtime
api-proprietary API apps/api/ + all packages/ dockerfile/Dockerfile.api Node.js (NestJS, TypeORM, Redis/ioredis, BullMQ)
frontend-proprietary Frontend apps/frontend/ dockerfile/Dockerfile.frontend Nginx (static SPA serving)

Root cause analysis should trace errors back to source files in the monorepo. For Nginx (frontend), also check the Nginx configs in dockerfile/nginx.*.conf and the entrypoint dockerfile/nginx-entrypoint.sh.

Parameters

Parameter Default Description
Days to analyze 7 Number of past days to look at. Override by user request (e.g., "last 3 days")

Exclusions

The following log patterns should be discarded and not included in the report. Skip them during pattern discovery and do not count them as errors:

  • (node:1) [DEP0060] DeprecationWarning: The util._extend API is deprecated. Please use Object.assign() instead. -- Known Node.js deprecation from a transitive dependency. Noise, not actionable. Filter with -DEP0060.

  • Nginx stale asset 404s (open() "/usr/share/nginx/html/assets/..." failed (2: No such file or directory)) -- Expected SPA behavior after deployments. Browsers with a cached index.html request old hashed JS chunks that no longer exist. Not a bug. Filter with -"No such file or directory" -"/assets/" on frontend-proprietary.

Read the full file on GitHub · 101 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 101 lines · 68 tokens per session scan A 3778e1d01686

Subscribe to this mod's changes

datadog-analysis is a skill published in the GitHub repository PackmindHub/packmind (319 stars, last pushed 4d ago), licensed Apache-2.0. It adds 68 tokens to every session and 1,542 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-09-22.