Official agent skill

Dd Debugger

by DataDog in DataDog/pup

Live Debugger - inspect runtime argument/variable values in production by placing log probes on methods.

OfficialApache-2.0Auto-check passed

Install Dd Debugger

skills CLI
$ npx skills add DataDog/pup --skill dd-debugger -a claude-code

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

GitHub CLI
$ gh skill install DataDog/pup dd-debugger --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/pup.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/dd-debugger .claude/skills/dd-debugger && 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-debugger
GitHub stars
1k
Token cost
~2.7k tokens
SKILL.md length
776 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

Live Debugger - inspect runtime argument/variable values in production by placing log probes on methods.

  • Works in 6 steps: If you don't know the service, ask the… → Verify the service using pup debugger… → Find a method using the dd-symdb skill… → …
  • Asked what values a function receives
  • SKILL.md covers Prerequisites, Authentication, Typical Workflow and Service Context, plus 5 more sections
  • Calls brew and jq; needs DD_API_KEY and DD_APP_KEY

What it does

Dd Debugger is an agent skill from DataDog/pup, published by the product's own GitHub organization. Live Debugger - inspect runtime argument/variable values in production by placing log probes on methods. Use when asked what values a function receives, what parameters look like at runtime, or to capture live data from running services without redeploying.

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

It works with Datadog. The repository describes itself as: Give your AI agent a Pup — a CLI companion with 200+ commands across 33+ Datadog products. The licence is Apache-2.0.

When your agent uses it

  • Asked what values a function receives
  • What parameters look like at runtime
  • Capture live data from running services without redeploying

Example prompts

  • “/dd-debugger”

Requirements

  • Python 3
  • A credential in DD_API_KEY
  • A credential in DD_APP_KEY

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. If you don't know the service, ask the user before proceeding.
  2. Verify the service using pup debugger context to list environments with active instances. If multiple environments exist, ask the user…
  3. Find a method using the dd-symdb skill (pup symdb search --view probe-locations)
  4. Place a probe with capture expressions for the values you need
  5. Watch events with --fields for compact output
  6. Delete the probe when done

What it can do on your machine

Read from SKILL.md and the folder at commit 6a3c662. 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:

    • brew
    • 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 Debugger loads about 2.7k tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 776 words of instructions outside code blocks.

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

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/pup at commit 6a3c662, republished under its Apache-2.0 licence (© DataDog). 776 words, ~2,657 tokens.

Download SKILL.mdSave it as .claude/skills/dd-debugger/SKILL.md (or your agent's skills folder).
name
dd-debugger
description
Live Debugger - inspect runtime argument/variable values in production by placing log probes on methods. Use when asked what values a function receives, what parameters look like at runtime, or to capture live data from running services without redeploying.
metadata.version
1.1.0
metadata.author
datadog-labs
metadata.repository
https://github.com/datadog-labs/agent-skills
metadata.tags
datadog,debugger,live-debugger,probes,dd-debugger
metadata.alwaysApply
false

Datadog Live Debugger

Place log probes on running services without redeploying. Create probes with custom templates and conditions, and stream captured events in real time.

Prerequisites

pup must be installed:

bash
brew tap datadog-labs/pack && brew install pup

Authentication

Authenticate via OAuth2 (recommended) or API keys:

bash
# OAuth2 (recommended)
pup auth login

# Or use API keys
export DD_API_KEY="key" DD_APP_KEY="key" DD_SITE="datadoghq.com"

Typical Workflow

Prefer --capture expressions over full snapshots. Capture expressions are lighter-weight, faster, and return exactly the data you need.

  1. If you don't know the service, ask the user before proceeding.
  2. Verify the service using pup debugger context <service> to list environments with active instances. If multiple environments exist, ask the user which one to target before proceeding.
  3. Find a method using the dd-symdb skill (pup symdb search --view probe-locations)
  4. Place a probe with capture expressions for the values you need
  5. Watch events with --fields for compact output
  6. Delete the probe when done
bash
# 0. List environments (if multiple, ask user which to use)
pup debugger context my-service --fields service,language,envs

# 1. Create a probe with capture expressions (recommended)
#    Use --fields id to get just the probe ID back
pup debugger probes create \
  --service my-service \
  --env production \
  --probe-location "com.example.MyController:handleRequest" \
  --capture "request.id" \
  --capture "request.headers" \
  --ttl 1h \
  --fields id

# 2. Stream events with compact output
pup debugger probes watch <PROBE_ID> --timeout 60 --limit 10 \
  --fields "message,captures,timestamp"

# 3. Clean up
pup debugger probes delete <PROBE_ID>

Service Context

Always run this before creating probes. It returns JSON by default (like all other commands) showing environments with active instances, tracer versions, and supported probe features. If the service runs in multiple environments, ask the user which one to target — don't guess.

bash
# Full JSON output (default)
pup debugger context my-service

# Compact: just the fields you need
pup debugger context my-service --fields service,language,envs

# Filter to a specific environment
pup debugger context my-service --env production --fields service,envs,repo
FlagDescriptionDefault
--envFilter to a specific environmentAll environments
--fieldsComma-separated fields: service, language, envs, repoFull JSON response

Probe Management

List Probes
bash
# All probes
pup debugger probes list

# Filter by service
pup debugger probes list --service my-service
Get Probe Details
bash
pup debugger probes get <PROBE_ID>
Create a Log Probe
bash
pup debugger probes create \
  --service my-service \
  --env staging \
  --probe-location "com.example.MyClass:myMethod" \
  --capture "user.name" \
  --capture "order.items[0].price"

To disambiguate overloaded methods, pass a signature with argument types:

bash
pup debugger probes create \
  --service my-service \
  --env staging \
  --probe-location "com.example.MyClass:myMethod(int, java.lang.String)" \
  --capture "user.name"

Options:

FlagDescriptionDefault
--serviceService name (required)—
--envEnvironment (required)—
--probe-locationTYPE:METHOD or TYPE:METHOD(args) (required). The signature form disambiguates overloaded methods.—
--languagejava, python, dotnet, goAuto-detected from symdb
--capture EXPRCapture expression (repeatable). Use dot notation for fields, brackets for indexing.None
--captureWithout value: enable full snapshot (capture everything).No snapshot
--templateLog message template with {variable} placeholders. Can combine with --capture.Auto-generated
--conditionDSL condition to filter capturesNone
--depthHow deep the tracer traverses the object graph when capturing (1–5). Start at 1 to see field names/types, increase to drill in.1
--rateSnapshots per second1
--budgetMax probe hits. Only "total" window supported (hourly/daily not yet available).1000
--ttlProbe time-to-live (e.g., 10m, 1h, 24h). Probe auto-expires.1h

Always prefer capture expressions over full snapshots. They are lighter-weight and return exactly the data you need.

bash
# Capture specific fields using dot notation
--capture "user.name"
--capture "request.headers"

# Access array elements
--capture "orders[0].total"
--capture "items[len(items)].name"

# Chain member access
--capture "response.body.data.id"

Multiple --capture flags can be combined. Each expression is independently evaluated.

bash
# Capture multiple specific values
pup debugger probes create \
  --service my-service --env prod \
  --probe-location "OrderService:processOrder" \
  --capture "order.id" \
  --capture "order.items[0].price" \
  --capture "customer.email"

Tip: Start with --depth 1 (the default) to see field names and types, then increase depth to drill into interesting subtrees. Use --depth 5 for deeply nested objects.

Full Snapshot (use sparingly)

Use bare --capture (no value) only when you don't know which fields to inspect:

bash
# Full snapshot — captures all arguments, locals, return value
pup debugger probes create \
  --service my-service --env staging \
  --probe-location "com.example.MyClass:myMethod" \
  --capture

You can combine snapshot with capture expressions:

bash
# Full snapshot + specific expressions
--capture --capture "user.name"
Templates

Templates can be used alongside capture expressions for custom log messages:

bash
# Template with capture expressions
pup debugger probes create \
  --service my-service --env prod \
  --probe-location "MyClass:myMethod" \
  --capture "user.id" \
  --template "Processing request for user={user.id}, took {@duration}ms"

Template syntax uses {variable} placeholders:

bash
--template "Processing order={orderId} for user={userId}"
--template "handleRequest took {@duration}ms"

Conditions filter when the probe fires:

bash
--condition "status == 'error'"
--condition "@duration > 100"
Delete a Probe
bash
pup debugger probes delete <PROBE_ID>
Show full SKILL.md (318 more words)Show less

Watch Probe Events

Stream log events and status errors from a probe in real time.

bash
pup debugger probes watch <PROBE_ID>

Options:

FlagDescriptionDefault
--timeoutExit after N seconds120
--limitExit after N log eventsunlimited
--fromStart time for log querynow
--waitWait up to N seconds for the probe to become available0
--fieldsComma-separated fields to include: message, captures, timestamp. Compact JSON output.Full debugger payload

Behavior:

  • Without --fields: outputs the trimmed debugger payload (snapshot, probe info, stack) — not the full log envelope
  • With --fields: outputs only the requested fields as compact JSON per event
  • Polls for new log events and probe status errors every 1s
  • Default --from is now — only shows new events going forward
  • Use --from 5m or --from 1h to include recent historical events
  • Probe status errors (e.g., instrumentation failures) go to stderr
  • Exit code 0 if events received, 1 if timed out with no events
  • Use --wait <seconds> to retry probe existence check (handles create → watch pipeline); default is 0 (fail immediately if not found)
Using --fields for compact output

For most agent use cases, --fields gives you exactly what you need without jq:

bash
# Message + captures + timestamp (most common)
pup debugger probes watch <ID> --fields "message,captures,timestamp" --limit 5

# Template message only (one line per event)
pup debugger probes watch <ID> --fields "message" --limit 10

# Just captures (expression values or snapshot data)
pup debugger probes watch <ID> --fields "captures" --limit 1
Extracting fields with jq (reference)

When using the default output (no --fields), the debugger payload is at the top level. Common jq patterns:

bash
# Extract a specific captured expression
pup debugger probes watch <ID> --limit 1 \
  | jq '.snapshot.captures.return.captureExpressions'

# Get captured argument values
pup debugger probes watch <ID> --limit 1 \
  | jq '.snapshot.captures.return.arguments'

Default output structure (trimmed to debugger payload):

.snapshot.captures.return.arguments          → method arguments
.snapshot.captures.return.locals             → local variables
.snapshot.captures.return.captureExpressions → capture expression values
.snapshot.probe.id                           → probe ID
.snapshot.probe.location                     → source location

Supported Languages

Language--language value
Javajava
Pythonpython
.NETdotnet

Failure Handling

ProblemFix
Wrong env / no instancesUse pup debugger context <service> to list valid environments
"probe not found"Use --wait <seconds> to retry, e.g. pup debugger probes watch <ID> --wait 10
No events appearingCheck --from (default is now); probe may need time to instrument
Instrumentation errorsCheck stderr output from watch for status errors
Auth errorRun pup auth login or set DD_API_KEY + DD_APP_KEY + DD_SITE
Wrong method signatureUse the dd-symdb skill to find exact TYPE:METHOD or TYPE:METHOD(args) values

References

© DataDog, 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

Files

Just SKILL.md in skills/dd-debugger of DataDog/pup.

Open the folder on GitHubat commit 6a3c662

Compare with similar skills

Dd Debugger 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 Debugger compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dd Debugger this skillDataDog/pup1k—~2.7kAutomated safety check: PassApache-2.0
Code Design Rationale Investigatorcursor/plugins10k9 repos~2.6kAutomated safety check: PassNone
Apm IntegrationsDataDog/dd-trace-js836—~3kAutomated safety check: PassCustom licence
Bump LibdatadogDataDog/dd-trace-dotnet573—~1.7kAutomated safety check: PassApache-2.0
Datadog Data Source GeneratorDataDog/terraform-provider-datadog468—~2.7kAutomated safety check: PassMPL-2.0
Write RbsDataDog/dd-trace-rb417—~805Automated safety check: PassCustom licence

Similar skills

  • Official

    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.

    10k GitHub starsUsed in 9 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Apm Integrations

    DataDog/dd-trace-js

    Official

    A skill your agent uses when adding, debugging, fixing, or modifying instrumentation and plugins for third-party libraries in dd-trace-js.

    836 GitHub stars~3k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Bump Libdatadog

    DataDog/dd-trace-dotnet

    Official

    Update/bump the libdatadog native library version in dd-trace-dotnet.

    573 GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Datadog Data Source Generator

    DataDog/terraform-provider-datadog

    Official

    Generates a Datadog Terraform provider data source from an OpenAPI operation with tfgen and opens a review-ready GitHub PR with a risk scan and testing guide.

    468 GitHub stars~2.7k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Write Rbs

    DataDog/dd-trace-rb

    Official

    A skill your agent uses when writing, reviewing, or modifying RBS type signatures (sig//.rbs, vendor/rbs//.rbs, or inline : annotations) or running Steep – e.g.

    417 GitHub stars~805 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Release

    DataDog/datadog-go

    Official

    Cut a new datadog-go release and update CHANGELOG.md following the repo's house style.

    375 GitHub stars~2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed

More from DataDog/pup

All 12 skills in this repo
  • Dd Idp

    DataDog/pup

    Official

    Find, filter, count, and connect software, teams, engineering work and delivery, infrastructure, and operational or security records through Pup's read-only Datadog entity graph.

    1k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Dd Docs

    DataDog/pup

    Official

    Datadog docs lookup using docs.datadoghq.com/llms.txt and linked Markdown pages.

    1k GitHub starsUsed in 1 repo~558 tokens
    Auto-check passed
  • Pup

    DataDog/pup

    Official

    Datadog API CLI with 49 command groups, 300+ subcommands. An agent skill from DataDog/pup.

    1k GitHub stars~523 tokensUpdated today
    Auto-check passed
  • Official

    Load when investigating a specific flaky test. An agent skill from DataDog/pup.

    1k GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Dd Apm

    DataDog/pup

    Official

    APM - traces, services, dependencies, performance analysis. An agent skill from DataDog/pup.

    1k GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Dd File Issue

    DataDog/pup

    Official

    File GitHub issues to the right repository (pup CLI or plugin)

    1k GitHub stars~2.3k tokensUpdated today
    Auto-check passed

Works with

Questions about Dd Debugger

What does Dd Debugger do?

Live Debugger - inspect runtime argument/variable values in production by placing log probes on methods. Dd Debugger is an agent skill from DataDog/pup, published by the product's own GitHub organization. Live Debugger - inspect runtime argument/variable values in production by placing log probes on methods.

When should I use Dd Debugger?

Dd Debugger fits situations like: asked what values a function receives; what parameters look like at runtime; capture live data from running services without redeploying.

How do I install Dd Debugger in Claude Code?

Run `npx skills add DataDog/pup --skill dd-debugger -a claude-code`. Or copy the skill folder (skills/dd-debugger in DataDog/pup) into .claude/skills/dd-debugger in your project. Claude Code loads it when a task matches its description.

How do I install Dd Debugger in Codex?

Run `npx skills add DataDog/pup --skill dd-debugger -a codex`. Or copy the skill folder (skills/dd-debugger in DataDog/pup) into .agents/skills/dd-debugger in your project. Codex loads it when a task matches its description.

Can I use Dd Debugger 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/pup --skill dd-debugger -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-debugger, .gemini/skills/dd-debugger, .github/skills/dd-debugger and .opencode/skills/dd-debugger in your project.

What does Dd Debugger need to run?

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

Does Dd Debugger 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 Debugger 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 Debugger use?

Dd Debugger 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.

How many tokens does Dd Debugger use?

About 2.7k tokens (SKILL.md is roughly 11k 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 Debugger?

Skills that share tags, products or a category with Dd Debugger: Code Design Rationale Investigator (cursor/plugins, 10k stars), Apm Integrations (DataDog/dd-trace-js, 836 stars), Bump Libdatadog (DataDog/dd-trace-dotnet, 573 stars) and Datadog Data Source Generator (DataDog/terraform-provider-datadog, 468 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dd Debugger?

DataDog (a GitHub organization, an official publisher) maintains it in DataDog/pup, which has 1,026 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.

Source: DataDog/pup on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.