Agent Observability Trace Rca
datadog-labs/agent-skills
Root cause analysis on production LLM traces. An agent skill from datadog-labs/agent-skills.
Analyze Datadog error logs for Packmind production services (api-proprietary, frontend-proprietary), group them into patterns, root-cause against the codebase, and produce a structured bug report.
$ npx skills add PackmindHub/packmind --skill datadog-analysis -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install PackmindHub/packmind datadog-analysis --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/PackmindHub/packmind.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/datadog-analysis .claude/skills/datadog-analysis && rm -rf skills-srcUse ~/.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/
Install the "datadog-analysis" agent skill from https://github.com/PackmindHub/packmind/tree/main/.agents/skills/datadog-analysis into .claude/skills/datadog-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "datadog-analysis", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/PackmindHub/packmind/tree/main/.agents/skills/datadog-analysisType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add PackmindHub/packmind --skill datadog-analysis -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install PackmindHub/packmind datadog-analysis --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PackmindHub/packmind.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/datadog-analysis .agents/skills/datadog-analysis && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "datadog-analysis" agent skill from https://github.com/PackmindHub/packmind/tree/main/.agents/skills/datadog-analysis into .agents/skills/datadog-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "datadog-analysis", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PackmindHub/packmind --skill datadog-analysis -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install PackmindHub/packmind datadog-analysis --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PackmindHub/packmind.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/datadog-analysis .cursor/skills/datadog-analysis && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "datadog-analysis" agent skill from https://github.com/PackmindHub/packmind/tree/main/.agents/skills/datadog-analysis into .cursor/skills/datadog-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "datadog-analysis", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/PackmindHub/packmind.git --path .agents/skills/datadog-analysis--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add PackmindHub/packmind --skill datadog-analysis -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install PackmindHub/packmind datadog-analysis --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PackmindHub/packmind.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/datadog-analysis .gemini/skills/datadog-analysis && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "datadog-analysis" agent skill from https://github.com/PackmindHub/packmind/tree/main/.agents/skills/datadog-analysis into .gemini/skills/datadog-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "datadog-analysis", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install PackmindHub/packmind datadog-analysisInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add PackmindHub/packmind --skill datadog-analysis -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/PackmindHub/packmind.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/datadog-analysis .github/skills/datadog-analysis && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "datadog-analysis" agent skill from https://github.com/PackmindHub/packmind/tree/main/.agents/skills/datadog-analysis into .github/skills/datadog-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "datadog-analysis", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PackmindHub/packmind --skill datadog-analysis -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install PackmindHub/packmind datadog-analysis --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PackmindHub/packmind.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/datadog-analysis .opencode/skills/datadog-analysis && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "datadog-analysis" agent skill from https://github.com/PackmindHub/packmind/tree/main/.agents/skills/datadog-analysis into .opencode/skills/datadog-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "datadog-analysis", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
datadog-analysisAnalyze Datadog error logs for Packmind production services (api-proprietary, frontend-proprietary), group them into patterns, root-cause against the codebase, and produce a structured bug report.
Datadog Analysis is an agent skill from PackmindHub/packmind. Analyze Datadog error logs for Packmind production services (api-proprietary, frontend-proprietary), group them into patterns, root-cause against the codebase, and produce a structured bug report. Triggers on Datadog, production logs, prod errors, service health, or periodic error reviews.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/datadog_mcp.md`, `references/known_patterns.md` and `references/report-template.md`).
It sits in Development, covering Root cause analysis and QA and bug reports. It works with Datadog, Docker, NGINX and Model Context Protocol. The repository describes itself as: Packmind seamlessly captures your engineering playbook and turns it into AI context, guardrails, and governance. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8a10541. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Datadog Analysis loads about 1.6k tokens when it runs, and up to ~4.3k if it reads all its reference files. Until then it costs about 77 tokens; SKILL.md has 734 words of instructions outside code blocks.
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.
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); files beside SKILL.md are not scanned.
The full file from PackmindHub/packmind at commit 8a10541, republished under its Apache-2.0 licence (© PackmindHub). 734 words, ~1,562 tokens.
.claude/skills/datadog-analysis/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.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.
/mcp first.references/datadog_mcp.md before making any MCP tool calls for guidance on tool usage, gotchas, and known pitfalls.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.
| Parameter | Default | Description |
|---|---|---|
| Days to analyze | 7 | Number of past days to look at. Override by user request (e.g., "last 3 days") |
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.
When filtering in Phase 1, exclude these patterns from the analysis by appending the exclusion terms to Datadog queries, or remove them during report consolidation.
For each of the two services, launch two parallel MCP calls (4 calls total, all in parallel). If rate-limited by the MCP server, fall back to batching 2 calls per service sequentially.
Every Datadog MCP call requires a telemetry object with an intent string describing the call's purpose (e.g., {"intent": "Discover error patterns for api-proprietary over last 7 days"}). Keep intents concise and avoid including PII or secrets.
Pattern discovery -- Use mcp__datadog-mcp__search_datadog_logs with:
query: service:{service_name} status:(error OR critical OR emergency)from: now-{N}d (where N = number of days, default 7)use_log_patterns: truemax_tokens: 10000Error message counts -- Use mcp__datadog-mcp__analyze_datadog_logs with:
filter: service:{service_name} status:(error OR critical OR emergency)sql_query: SELECT message, count(*) as cnt FROM logs GROUP BY message ORDER BY cnt DESC LIMIT 50from: now-{N}dmax_tokens: 10000From these results, identify the distinct error groups per service. If a service has zero errors in the period, mention "No issues found" in the report and skip Phases 2-3 for that service.
For each distinct error group identified in Phase 1:
Fetch raw logs -- Use search_datadog_logs with a targeted query to get full stack traces and context. Use extra_fields: ["*"] for tag metadata when useful.
Get daily distribution -- Use analyze_datadog_logs with:
sql_query: SELECT DATE_TRUNC('day', timestamp) as day, count(*) as cnt FROM logs WHERE message LIKE '%<pattern>%' GROUP BY DATE_TRUNC('day', timestamp) ORDER BY DATE_TRUNC('day', timestamp)Count occurrences -- Use analyze_datadog_logs to get total unique occurrences grouped by message.
Parallelize independent MCP calls wherever possible to save time.
For frontend-proprietary, Nginx writes all error_log output (including [notice]) to stderr. Datadog classifies stderr as status:error. Filter out Nginx lifecycle noise:
[notice] (worker start/stop, SIGQUIT, SIGCHLD, SIGIO) -- these are normal Nginx operations misclassified as errors[error] (404s for missing files) and [alert] (permission issues, config errors)For each application-level error (not infra/external):
Before grepping, consult references/known_patterns.md — if the error matches a catalogued pattern, jump straight to its entry point and skip to step 2.
SpaceMembershipRequiredError, Recipe.*not found)For frontend Nginx errors, check:
dockerfile/Dockerfile.frontend for permission/ownership issuesdockerfile/nginx.k8s.conf, dockerfile/nginx.k8s.no-ingress.conf, dockerfile/nginx.compose.conf for config issuesdockerfile/nginx-entrypoint.sh for entrypoint issuesRead references/report-template.md before writing the report for the output path, scaffold, severity ordering, occurrence labels, and final summary table.
© PackmindHub, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in .agents/skills/datadog-analysis of PackmindHub/packmind.
Open the folder on GitHubat commit 8a10541
Datadog Analysis 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Datadog Analysis this skillPackmindHub/packmind | 317 | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Agent Observability Trace Rcadatadog-labs/agent-skills | 177 | — | ~10k | Automated safety check: Pass | MIT | |
| DeerFlow Smoke Testbytedance/deer-flow | 83k | — | ~2.5k | Automated safety check: Notes | MIT | |
| Product Diagnosisamplitude/builder-skills | 159 | — | ~4k | Automated safety check: Pass | None | |
| AI Operationsmajiayu000/claude-skill-registry | 666 | 1 repos | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Code Design Rationale Investigatorcursor/plugins | 10k | 9 repos | ~2.6k | Automated safety check: Pass | None |
datadog-labs/agent-skills
Root cause analysis on production LLM traces. An agent skill from datadog-labs/agent-skills.
bytedance/deer-flow
Walks through an end-to-end smoke test of a DeerFlow deployment: pull the latest code, deploy with Docker or locally, verify services, run health checks and write a report.
amplitude/builder-skills
Diagnoses product health by cross-referencing Amplitude analytics (dashboards, charts, funnels, feedback, AI agent analytics), optionally Datadog (errors, latency, stack traces), and optionally…
majiayu000/claude-skill-registry
Configure Harness AI-powered operations (AIDA) via MCP. An agent skill from majiayu000/claude-skill-registry.
cursor/plugins
Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.
DataDog/datadog-agent
A skill your agent uses when an engineer or manager asks to recap, summarize, or post an update on a Jira Epic — a progress update for an in-progress Epic (how far along it is, what's shipped so…
PackmindHub/packmind
Produce proof-of-execution demos of the Packmind CLI (packmind-cli) as terminal-styled images (colors and formatting preserved exactly), for embedding in a GitHub PR.
PackmindHub/packmind
Record polished UI demo videos and screenshots of a running web app using Playwright MCP — for client deliverables, release notes, feature walkthroughs, or bug repros.
PackmindHub/packmind
Guide for creating effective skills. An agent skill from PackmindHub/packmind.
PackmindHub/packmind
Audit Packmind end-user documentation (apps/doc/) for broken links, outdated CLI references, non-existent concepts, misleading information, and missing coverage.
PackmindHub/packmind
Execute the implementation plan produced by /feature-spec. An agent skill from PackmindHub/packmind.
PackmindHub/packmind
Review an implemented GitHub issue the way a senior Packmind engineer would — the human-judgment checks that ESLint, the TypeScript compiler, and e2e tests cannot catch (authorization scoping…
Works with
Categories
Analyze Datadog error logs for Packmind production services (api-proprietary, frontend-proprietary), group them into patterns, root-cause against the codebase, and produce a structured bug report. Datadog Analysis is an agent skill from PackmindHub/packmind. Analyze Datadog error logs for Packmind production services (api-proprietary, frontend-proprietary), group them into patterns, root-cause against the codebase, and produce a structured bug report.
Datadog Analysis fits situations like: production logs; periodic error reviews.
Run `npx skills add PackmindHub/packmind --skill datadog-analysis -a claude-code`. Or copy the skill folder (.agents/skills/datadog-analysis in PackmindHub/packmind) into .claude/skills/datadog-analysis in your project. Claude Code loads it when a task matches its description.
Run `npx skills add PackmindHub/packmind --skill datadog-analysis -a codex`. Or copy the skill folder (.agents/skills/datadog-analysis in PackmindHub/packmind) into .agents/skills/datadog-analysis in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PackmindHub/packmind --skill datadog-analysis -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-analysis, .gemini/skills/datadog-analysis, .github/skills/datadog-analysis and .opencode/skills/datadog-analysis in your project.
SKILL.md names no scripts, command-line tools or credentials: Datadog Analysis is instructions for the agent only. Our summary lists: Node.js.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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. Review the folder before installing.
Datadog Analysis is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Datadog Analysis: Agent Observability Trace Rca (datadog-labs/agent-skills, 177 stars), DeerFlow Smoke Test (bytedance/deer-flow, 83k stars), Product Diagnosis (amplitude/builder-skills, 159 stars) and AI Operations (majiayu000/claude-skill-registry, 666 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
PackmindHub (a GitHub organization) maintains it in PackmindHub/packmind, which has 317 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 8, 2026.
Source: PackmindHub/packmind on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.