Agent skill

Dd Audit AI Activity

by datadog-labs in datadog-labs/agent-skills

Audit what the Bits AI assistant (MCP server) has done in your Datadog org — tool calls by user, resources accessed, and anomaly flags for AI governance.

MITAuto-check passedLegal & Compliance

Install Dd Audit AI Activity

skills CLI
$ npx skills add datadog-labs/agent-skills --skill dd-audit-ai-activity -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install datadog-labs/agent-skills dd-audit-ai-activity --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/datadog-labs/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/dd-audit/ai-activity-audit .claude/skills/dd-audit-ai-activity && rm -rf skills-src

Use ~/.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/

Facts

Skill name
dd-audit-ai-activity
GitHub stars
177
Token cost
~1.2k tokens
SKILL.md length
220 words
Files
1
Skills in repo
39
Repo updated
First seen
Licence
MIT

At a glance

Audit what the Bits AI assistant (MCP server) has done in your Datadog org — tool calls by user, resources accessed, and anomaly flags for AI governance.

  • Tasks that involve MCP servers
  • SKILL.md covers Prerequisites, Queries, Anomaly Flags and Output Format, plus 2 more sections
  • Calls jq; needs DD_API_KEY and DD_APP_KEY
  • Tasks that involve AI governance

What it does

Dd Audit AI Activity is an agent skill from datadog-labs/agent-skills. Audit what the Bits AI assistant (MCP server) has done in your Datadog org — tool calls by user, resources accessed, and anomaly flags for AI governance.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Legal & Compliance, covering MCP servers and AI governance. It works with Datadog and Model Context Protocol. The repository describes itself as: Public repository for Datadog Agent Skills. The licence is MIT.

When your agent uses it

  • Tasks that involve MCP servers
  • Tasks that involve AI governance

Example prompts

  • “/dd-audit-ai-activity”

Requirements

  • A credential in DD_API_KEY
  • A credential in DD_APP_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit d2411cc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.datadoghq.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • DD_API_KEY
    • DD_APP_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dd Audit AI Activity loads about 1.2k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 220 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from datadog-labs/agent-skills at commit d2411cc, republished under its MIT licence (© datadog-labs). 220 words, ~1,243 tokens.

Download SKILL.mdSave it as .claude/skills/dd-audit-ai-activity/SKILL.md (or your agent's skills folder).
name
dd-audit-ai-activity
description
Audit what the Bits AI assistant (MCP server) has done in your Datadog org — tool calls by user, resources accessed, and anomaly flags for AI governance.
metadata.version
0.1.0
metadata.author
datadog-labs
metadata.repository
https://github.com/datadog-labs/agent-skills
metadata.tags
datadog,audit,ai,mcp,bits-ai,governance,dd-audit
metadata.alwaysApply
false

Audit Trail: AI Activity Audit

Every Datadog MCP tool call is recorded in Audit Trail under the Bits AI SRE category. This skill surfaces what the AI assistant has done in your org — which users invoked it, which tools were called, and which resources were affected.

Prerequisites

bash
pup auth login   # OAuth2 (recommended)
# or set DD_API_KEY + DD_APP_KEY with audit_logs_read scope

Queries

All MCP tool activity in a time window
bash
pup audit-logs search --query "@evt.name:\"MCP Server\"" --from 7d --limit 500 -o json \
  | jq '[.data[] | {
      timestamp: .attributes.timestamp,
      user: .attributes.attributes.usr.email,
      actor_type: .attributes.attributes.evt.actor.type,
      action: .attributes.attributes.action,
      resource_type: .attributes.attributes.asset.type,
      resource_id: .attributes.attributes.asset.id,
      ip: .attributes.attributes.network.client.ip,
      country: .attributes.attributes.network.client.geoip.country.name
    }]'
Activity by user (who is using the AI assistant most?)
bash
pup audit-logs search --query "@evt.name:\"MCP Server\"" --from 30d --limit 1000 -o json \
  | jq '[.data[] | .attributes.attributes.usr.email]
    | group_by(.)
    | map({user: .[0], tool_calls: length})
    | sort_by(-.tool_calls)'
Resources modified by AI tool calls
bash
pup audit-logs search \
  --query "@evt.name:\"MCP Server\" @action:(created OR modified OR deleted)" \
  --from 7d --limit 500 -o json \
  | jq '[.data[] | {
      timestamp: .attributes.timestamp,
      user: .attributes.attributes.usr.email,
      action: .attributes.attributes.action,
      resource_type: .attributes.attributes.asset.type,
      resource_id: .attributes.attributes.asset.id
    }]'
AI activity for a specific user
bash
pup audit-logs search \
  --query "@evt.name:\"MCP Server\" @usr.email:user@example.com" \
  --from 30d --limit 500 -o json \
  | jq '[.data[] | {
      timestamp: .attributes.timestamp,
      action: .attributes.attributes.action,
      resource_type: .attributes.attributes.asset.type,
      resource_id: .attributes.attributes.asset.id
    }]'
Weekly summary report
bash
pup audit-logs search --query "@evt.name:\"MCP Server\"" --from 7d --limit 1000 -o json \
  | jq '{
      total_tool_calls: (.data | length),
      unique_users: ([.data[] | .attributes.attributes.usr.email] | unique | length),
      top_users: (
        [.data[] | .attributes.attributes.usr.email]
        | group_by(.)
        | map({user: .[0], calls: length})
        | sort_by(-.calls)
        | .[:5]
      ),
      actions_breakdown: (
        [.data[] | .attributes.attributes.action]
        | group_by(.)
        | map({action: .[0], count: length})
        | sort_by(-.count)
      ),
      resource_types: (
        [.data[] | .attributes.attributes.asset.type]
        | group_by(.)
        | map({type: .[0], count: length})
        | sort_by(-.count)
      )
    }'

Anomaly Flags

SignalGovernance concern
AI performing deleted actions on monitors or dashboardsReview whether destructive AI operations are expected
AI acting as SUPPORT_USERDatadog support using AI on behalf of org
First-time user invoking AI toolsNew user accessing AI assistant
High volume of tool calls in short windowAutomated/batch AI usage
AI accessing resources outside user's normal scopePotential over-permissioned AI session

Output Format

AI Activity Audit — [Org] — [Date Range]

Total MCP tool calls: [N]
Unique users: [N]

Top users:
  [user@example.com]: [N] calls

Actions breakdown:
  accessed: [N]
  modified: [N]
  created: [N]
  deleted: [N]

Resource types affected:
  dashboard: [N]
  monitor: [N]

Anomalies:
  [List any flagged events with timestamp, user, action, resource]

Context

This skill is most useful for:

  • Security reviews: Verifying AI actions were authorized and within expected scope
  • Compliance audits: Demonstrating AI activity is logged and attributable to specific users
  • Governance reports: Understanding adoption and risk surface of the AI assistant across the org

No other observability vendor audits their AI assistant's actions at this level of detail.

References

© datadog-labs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in dd-audit/ai-activity-audit of datadog-labs/agent-skills.

Open the folder on GitHubat commit d2411cc

Compare with similar skills

Dd Audit AI Activity 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.

Dd Audit AI Activity compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dd Audit AI Activity this skilldatadog-labs/agent-skills177—~1.2kAutomated safety check: PassMIT
Zizkadb ReleaseZIZKA-AI-SL/ZizkaDB130—~399Automated safety check: PassCustom licence
Patsnap Biological Modalitypatsnap/mcp113—~771Automated safety check: PassApache-2.0
Patsnap Chemical Molecularpatsnap/mcp113—~779Automated safety check: PassApache-2.0
Datadogspeakeasy-api/gram273—~768Automated safety check: PassAGPL-3.0
Ops Investigate Alertc0x12c/ai-toolkit106—~1.4kAutomated safety check: PassNone

Similar skills

  • Zizkadb Release

    ZIZKA-AI-SL/ZizkaDB

    Bumps versions, runs pre-push verification, and publishes ZizkaDB SDK and MCP packages.

    130 GitHub stars~399 tokensUpdated 4 days ago
    DevOps & CloudAuto-check passed
  • Biological sequence and modality intelligence via Patsnap MCP.

    113 GitHub stars~771 tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Patsnap Chemical Molecular MCP for AI agents. An agent skill from patsnap/mcp.

    113 GitHub stars~779 tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Datadog

    speakeasy-api/gram

    Use Datadog MCP tools to investigate logs, metrics, traces, and incidents for the Speakeasy project.

    273 GitHub stars~768 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Ops Investigate Alert

    c0x12c/ai-toolkit

    Investigate a monitoring alert end-to-end. An agent skill from c0x12c/ai-toolkit.

    106 GitHub stars~1.4k tokensUpdated 3 mo ago
    DevOps & CloudAuto-check passed
  • Tw Legal RAG

    aa0101181514/tw-legal-rag

    Retrieve real Taiwan court judgments with verifiable citations before answering any question about Taiwan law or case law.

    328 GitHub stars~580 tokensUpdated 2 days ago
    Legal & ComplianceAuto-check passed

More from datadog-labs/agent-skills

All 39 skills in this repo
  • Bootstrap a reproducible LLM Observability experiment through the Python ddtrace SDK or the Node dd-trace SDK.

    177 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Dd Account Setup

    datadog-labs/agent-skills

    Ensure the user has an authenticated Datadog account with a valid DDAPIKEY on the right region before any Datadog setup or instrumentation.

    177 GitHub stars~4.5k tokensUpdated yesterday
    Auto-check: notes
  • Dd Orchestrator

    datadog-labs/agent-skills

    Entry point for Datadog onboarding. An agent skill from datadog-labs/agent-skills.

    177 GitHub stars~6.7k tokensUpdated yesterday
    Auto-check passed
  • Dd Apm

    datadog-labs/agent-skills

    APM - install, onboard, instrument, enable, set up, configure, traces, services, dependencies, performance analysis, Data Streams Monitoring (DSM), queue lag, pipeline latency.

    177 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Agent Install

    datadog-labs/agent-skills

    Install the Datadog Agent on Kubernetes using the Datadog Operator — required before enabling Single Step Instrumentation (SSI), which automatically instruments applications for APM without code…

    177 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check: warnings
  • Dd AWS Integration

    datadog-labs/agent-skills

    Set up the Datadog AWS integration with Terraform - creates the cross-account IAM role Datadog assumes (external ID, no stored credentials), attaches the permission policies Datadog publishes, and…

    177 GitHub stars~6.8k tokensUpdated yesterday
    Auto-check: notes

Questions about Dd Audit AI Activity

What does Dd Audit AI Activity do?

Audit what the Bits AI assistant (MCP server) has done in your Datadog org — tool calls by user, resources accessed, and anomaly flags for AI governance. Dd Audit AI Activity is an agent skill from datadog-labs/agent-skills. Audit what the Bits AI assistant (MCP server) has done in your Datadog org — tool calls by user, resources accessed, and anomaly flags for AI governance.

When should I use Dd Audit AI Activity?

Dd Audit AI Activity fits situations like: tasks that involve MCP servers; tasks that involve AI governance.

How do I install Dd Audit AI Activity in Claude Code?

Run `npx skills add datadog-labs/agent-skills --skill dd-audit-ai-activity -a claude-code`. Or copy the skill folder (dd-audit/ai-activity-audit in datadog-labs/agent-skills) into .claude/skills/dd-audit-ai-activity in your project. Claude Code loads it when a task matches its description.

How do I install Dd Audit AI Activity in Codex?

Run `npx skills add datadog-labs/agent-skills --skill dd-audit-ai-activity -a codex`. Or copy the skill folder (dd-audit/ai-activity-audit in datadog-labs/agent-skills) into .agents/skills/dd-audit-ai-activity in your project. Codex loads it when a task matches its description.

Can I use Dd Audit AI Activity in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add datadog-labs/agent-skills --skill dd-audit-ai-activity -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dd-audit-ai-activity, .gemini/skills/dd-audit-ai-activity, .github/skills/dd-audit-ai-activity and .opencode/skills/dd-audit-ai-activity in your project.

What does Dd Audit AI Activity need to run?

Going by SKILL.md and its folder, Dd Audit AI Activity needs the command-line tools its instructions call (jq) and credentials named DD_API_KEY and DD_APP_KEY. Our summary lists: A credential in DD_API_KEY; A credential in DD_APP_KEY.

Does Dd Audit AI Activity access the network?

SKILL.md names 1 domain. As links in the text: docs.datadoghq.com. This is read from the text; nothing was executed.

Is Dd Audit AI Activity safe to install?

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.

What licence does Dd Audit AI Activity use?

Dd Audit AI Activity is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dd Audit AI Activity use?

About 1.2k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dd Audit AI Activity?

Skills that share tags, products or a category with Dd Audit AI Activity: Zizkadb Release (ZIZKA-AI-SL/ZizkaDB, 130 stars), Patsnap Biological Modality (patsnap/mcp, 113 stars), Patsnap Chemical Molecular (patsnap/mcp, 113 stars) and Datadog (speakeasy-api/gram, 273 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dd Audit AI Activity?

datadog-labs (a GitHub organization) maintains it in datadog-labs/agent-skills, which has 177 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on October 8, 2026.

Source: datadog-labs/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.