Audit Trail investigations - who changed what, key compromise, cost spike root cause, compliance evidence (SOC 2/PCI), and AI activity auditing.
npx skills add https://github.com/datadog-labs/agent-skills --skill dd-audit
Investigate user activity, configuration changes, access patterns, and compliance evidence using pup audit-logs.
| Sub-skill | Use when |
|-----------|----------|
| security-investigation | "Who changed X?", "What did this user do?", "Show me deletions in the last 24h" |
| key-compromise | "Was this API key compromised?", "What did key XYZ do?", "Investigate suspicious key activity" |
| cost-spike-investigation | "Why did my bill go up?", "What caused this usage spike?", "Investigate LLM cost increase" |
| compliance-report | "Generate SOC 2 evidence", "PCI audit log", "User provisioning report for auditor" |
| ai-activity-audit | "What did the AI assistant do?", "Audit MCP tool calls", "AI governance report" |
pup auth login # OAuth2 (recommended)
# or set DD_API_KEY + DD_APP_KEY with audit_logs_read scope
# List recent events
pup audit-logs list --from 1h --limit 100
# Search with a query
pup audit-logs search --query "@action:deleted" --from 24h
# JSON output for piping to jq
pup audit-logs search --query "@usr.email:[email protected]" --from 7d -o json | jq '.data[].attributes'
| Field | Description | Example values |
|-------|-------------|----------------|
| @usr.email | Actor email | [email protected] |
| @evt.actor.type | How action was taken | USER, API_KEY, SUPPORT_USER |
| @action | Verb | created, modified, deleted, accessed, login |
| @evt.name | Event category | Dashboard, Monitor, Authentication, Access Management |
| @asset.type | Resource type | dashboard, monitor, api_key, role, user |
| @asset.id | Resource identifier | abc-123 |
| @metadata.api_key.id | API key used (if applicable) | key_abc123 |
| @metadata.app_key.id | App key used (if applicable) | app_abc123 |
| @network.client.ip | Client IP address | 1.2.3.4 |
| @network.client.geoip.country.name | Country | United States |
| @network.client.geoip.as.name | ASN name | Amazon.com |
| @http.url_details.path | API endpoint path | /api/v1/dashboard/xyz |
Same Lucene-style syntax as Log Explorer:
| Query | Meaning |
|-------|---------|
| @evt.name:Dashboard | Exact field match |
| @action:deleted | Action filter |
| @usr.email:[email protected] | Specific user |
| @evt.name:Monitor AND @action:modified | Compound |
| -@action:deleted | Negation |
| @usr.email:* | Field exists |
| @network.client.ip:1.2.3.4 | IP filter |
Default retention is 90 days. If querying beyond 90 days, archive to S3/GCS/Azure Blob must be configured. Always check whether the requested time window falls within retention before running a query.
| Problem | Cause | Fix |
|---------|-------|-----|
| 403 Forbidden | Missing audit_logs_read scope | Add scope to app key in Datadog UI |
| Empty results | Time window outside retention | Check archive config; default max is 90 days |
| Timeout | Query too broad | Narrow time window or add more filters |
| No IP data | Internal action or pre-enrichment event | Not all events have geo data |
Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.
Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances
Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.
Build and distribute Expo development clients locally or via TestFlight
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.
Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.
Take datadog-labs/dd-audit from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.