Agent skill

Agent Observability Experiment Bootstrap

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

Bootstrap a reproducible LLM Observability experiment through the Python ddtrace SDK or the Node dd-trace SDK.

MITAuto-check passedDevOps & Cloud

Install Agent Observability Experiment Bootstrap

skills CLI
$ npx skills add datadog-labs/agent-skills --skill agent-observability-experiment-bootstrap -a claude-code

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

GitHub CLI
$ gh skill install datadog-labs/agent-skills agent-observability-experiment-bootstrap --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/agent-observability/agent-observability-experiment-bootstrap .claude/skills/agent-observability-experiment-bootstrap && 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
agent-observability-experiment-bootstrap
GitHub stars
177
Token cost
~2.3k tokens
SKILL.md length
1,001 words
Files
14 (incl. references)
Skills in repo
39
Repo updated
First seen
Licence
MIT

At a glance

Bootstrap a reproducible LLM Observability experiment through the Python ddtrace SDK or the Node dd-trace SDK.

  • Works in 7 steps: Resolve purpose and project → Resolve the dataset → Resolve the task → …
  • LLM-as-a-judge scaffolding
  • SKILL.md covers Invocation and compatibility, Mandatory context loading, Adapter selection and Shared experiment model, plus 4 more sections
  • Runs Python scripts from its folder; calls python and node

What it does

Agent Observability Experiment Bootstrap is an agent skill from datadog-labs/agent-skills. Bootstrap a reproducible LLM Observability experiment through the Python ddtrace SDK or the Node dd-trace SDK. Use for experiment, dataset, evaluator, benchmark, regression, or LLM-as-a-judge scaffolding. The legacy Python invocation remains supported.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 18 other files, including reference files (for example `references/node/nodejs.md`, `references/python/env_setup_template.py` and `references/python/evaluator-styles/class.md`).

It sits in DevOps & Cloud, covering Observability, LLM observability and Project scaffolding. It works with Python. The repository describes itself as: Public repository for Datadog Agent Skills. The licence is MIT.

When your agent uses it

  • LLM-as-a-judge scaffolding
  • Tasks that involve Observability
  • Tasks that involve LLM observability

Example prompts

  • “/agent-observability-experiment-bootstrap”

Requirements

  • Python 3
  • Node.js

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Resolve purpose and project
  2. Resolve the dataset
  3. Resolve the task
  4. Select evaluators
  5. Emit the artifact
  6. Validate locally
  7. Report completion

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

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • node

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

  • Network

    No URLs in SKILL.md.

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

Context cost

Agent Observability Experiment Bootstrap loads about 2.3k tokens when it runs, and up to ~16k if it reads all its reference files. Until then it costs about 73 tokens; SKILL.md has 1,001 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~73
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~16k

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). 1,001 words, ~2,260 tokens.

Download SKILL.mdSave it as .claude/skills/agent-observability-experiment-bootstrap/SKILL.md (or your agent's skills folder). This skill also uses 13 other files; get the full folder from GitHub.
name
agent-observability-experiment-bootstrap
description
Bootstrap a reproducible LLM Observability experiment through the Python ddtrace SDK or the Node dd-trace SDK. Use for experiment, dataset, evaluator, benchmark, regression, or LLM-as-a-judge scaffolding. The legacy Python invocation remains supported.

LLM Observability Experiment Bootstrap

Generate one reproducible experiment artifact. The artifact evaluates a task over a versioned dataset, records outputs and evaluator metrics, carries configuration and provenance, and prints a result link or identifiers when possible.

This skill is adapter-independent. Each adapter owns a language-specific directory under references/; load only the selected adapter contract. The directories are intentionally symmetric even when one adapter currently has fewer supporting references.

Invocation and compatibility

The installed directory and legacy invocation remain valid:

text
/agent-observability-experiment-bootstrap [--purpose TEXT] [--format py|ipynb|mjs]
  [--dataset PATH | --dataset-name NAME] [--dataset-version N]
  [--project-name NAME] [--evaluator-style function|class|remote]
  [--jobs N] [--output PATH] [--task-source module:function]
  [--placeholder-task] [--app-root PATH] [--env-file PATH]

General options:

text
--adapter python|node             # default: python
--format py|ipynb|mjs             # Python: py/ipynb; Node: mjs
--site SITE                      # otherwise DD_SITE or datadoghq.com

Do not prompt for optional defaults. Resolve a non-empty purpose from --purpose, the request, or a focused question. Keep the purpose as reasoning context, not a fixed taxonomy.

Mandatory context loading

Load context in this order:

  1. Parse the adapter.
  2. Read exactly one adapter reference:
    • Python SDK → references/python/python.md
    • Node SDK → references/node/nodejs.md
  3. For Python task generation, read only the selected provider reference under references/python/providers/.
  4. For Python task generation, read only the selected evaluator reference under references/python/evaluator-styles/.

Do not load all provider, evaluator, Python, and Node references “for completeness.” The selected reference is the source of truth for syntax and API behavior.

Adapter selection

Use Python when the application or requested artifact is Python, or when no adapter is specified. Use Node when the application is JavaScript/TypeScript and the local dd-trace package exposes tracer.llmobs.experiments.

Never mix the Python and Node SDKs in one generated artifact. Do not use private SDK modules or invent a missing symbol. If local source and an installed package disagree, report the discrepancy and generate against the selected version.

Shared experiment model

Every adapter must represent the following concepts:

  1. Project — resolve an explicit project name, configured service metadata, or a clearly documented generated fallback. Never silently use an unrelated project.
  2. Dataset — records with input, optional expected output, optional metadata, and tags. Pin a remote dataset version when supplied.
  3. Task — a deterministic adapter from record input to the application under test. Keep evaluation logic outside the task.
  4. Evaluators — named row-level or summary-level metrics. Use deterministic checks for contracts and judges only where semantic evaluation is needed.
  5. Run state — preserve task errors, evaluator errors, completion state, result rows, and partial failures separately.
  6. Provenance — include purpose, adapter, skill name/version, project, dataset identity/version, task source, evaluator labels/rubrics, model/configuration, Git revision, and generation timestamp.

expected_output is optional and must not be synthesized from an observed production output without explicit validation. Distinguish a missing value from an intentionally empty object. Dataset tags must use the backend’s validated key:value form where the selected reference requires it.

Generation workflow

1. Resolve purpose and project

Derive the purpose and project without guessing across product boundaries. A project is not automatically the same as an ml_app, service, dataset, or repository name. Record how each value was resolved.

2. Resolve the dataset

Support:

  • inline records;
  • local JSON or CSV;
  • a named remote dataset and optional version; and
  • an explicitly approved trace/annotation export.

For local JSON, require a top-level array, validate the selected adapter’s record shape, scrub obvious PII and credential-like values, and report affected record indices. Do not invent canonical or remote record IDs.

For CSV, preserve the runtime path and document the dependency. Use the Python CSV column contract from references/python/python.md; Node generation must not pretend that a Python-only CSV helper exists.

3. Resolve the task

Use --task-source when provided. Otherwise use the selected language’s bounded application discovery rules:

  • Python: inspect the resolved app root and rank real callable candidates.
  • Node: prefer an explicit import/module function and emit a clearly marked placeholder when absent.

Never claim that an invented import is wired. Preserve side-effect warnings for network, database, filesystem, environment, or tool calls.

Show full SKILL.md (396 more words)Show less
4. Select evaluators

Select two or three evaluators based on purpose and available signals. Keep labels unique and stable.

  • Accuracy: exact/near match plus a richer rule or judge when needed.
  • Tool use: inspect structured tool calls; state the limitation when the task does not expose them.
  • Structured output: parse and validate the schema.
  • Retrieval: evaluate groundedness only when retrieved context is available.
  • Regression: prefer deterministic checks and explicit thresholds.
  • Exploration: include diagnostics or taxonomy metrics, not only a pass/fail score.

Evaluator failures must not become passing values. Summary evaluators must remain distinct from row evaluators.

5. Emit the artifact

Use the selected adapter reference for the exact generated code. Include:

  • purpose and project resolution;
  • dataset source and version;
  • real task source or a prominent placeholder warning;
  • evaluator labels and rubrics;
  • configuration and provenance;
  • credential instructions without literal secrets; and
  • a result URL/ID placeholder and next steps.

Preserve the historical Python section ordering and evaluator/provider reference behavior when using the Python adapter.

6. Validate locally

Before presenting the artifact:

  • Python .py: python -m py_compile <path>.
  • Python .ipynb: parse JSON and require code/markdown cells.
  • Node .mjs: node --check <path>.

For every adapter, check for private imports, literal credentials, malformed tags, missing provenance, mismatched dataset versions, fabricated IDs, and task/evaluator errors that were collapsed into false or pass.

7. Report completion

Use this compact structure:

text
Generated LLM Observability experiment: <adapter>/<format>
Path: <path>
Purpose: "<purpose>"
Project: <project>
Dataset: <local path | name>, version=<version or latest>
Task: <wired source | placeholder>
Evaluators: <labels>
Provenance: generated_by=claude-code, adapter=<adapter>, skill=agent-observability-experiment-bootstrap
Validation: <commands and pass/fail>
Result link: <URL or pending until run>

Next steps:
1. Verify the task source and evaluator semantics.
2. Set the credentials required by the selected SDK.
3. Install the selected SDK and run the generated artifact.
4. Review per-row errors before treating metrics as a successful run.

Safety and uncertainty

  • Do not modify application source code unless explicitly asked.
  • Do not write credentials into generated files or artifacts.
  • Do not publish prompts, outputs, traces, datasets, or evaluations without explicit user approval.
  • Do not use production data as ground truth without labeling and validation.
  • Do not retry non-idempotent writes automatically unless the selected SDK explicitly supports it.
  • On partial publication, preserve IDs and failed rows and provide a reconciliation path.

Reference maintenance

Each adapter reference must identify the public source links and branch used to verify it. Re-check the reference when the SDK version changes. The Python reference uses the public dd-trace-py main branch; the Node reference uses the public dd-trace-js master branch.

Keep shared workflow guidance here and language-specific syntax in the references. If a detail is only true for one SDK, do not duplicate it in this file.

Existing references

  • references/python/ — Python ddtrace.llmobs API, providers, evaluator styles, environment template, and legacy compatibility.
  • references/node/ — Node tracer.llmobs.experiments API and future Node-specific references.

Do not modify dd-trace-py or dd-trace-js while updating this skill.

© 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

SKILL.md and 13 other files (references) in agent-observability/agent-observability-experiment-bootstrap of datadog-labs/agent-skills.

  • SKILL.md
  • references/node/nodejs.md
  • references/python/env_setup_template.py
  • references/python/evaluator-styles/class.md
  • references/python/evaluator-styles/function.md
  • references/python/evaluator-styles/remote.md
  • references/python/providers/anthropic.md
  • references/python/providers/bedrock.md
  • references/python/providers/gemini.md
  • references/python/providers/langchain.md
  • references/python/providers/litellm.md
  • references/python/providers/llamaindex.md
  • references/python/providers/openai.md
  • references/python/python.md

Open the folder on GitHubat commit d2411cc

Compare with similar skills

Agent Observability Experiment Bootstrap 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.

Agent Observability Experiment Bootstrap compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agent Observability Experiment Bootstrap this skilldatadog-labs/agent-skills177—~2.3kAutomated safety check: PassMIT
Failproof AI SDK IntegrationFailproofAI/failproofai5.3k—~6kAutomated safety check: PassCustom licence
Phoenix Tracinggithub/awesome-copilot40k2 repos~1.6kAutomated safety check: PassApache-2.0
Caveman Gateway SetupJuliusBrussee/caveman111k1 repos~2.6kAutomated safety check: WarnApache-2.0
Agent Kill Switchvivekchand/clawmetry426—~1.1kAutomated safety check: PassMIT
Clawmetry Selfcheckvivekchand/clawmetry426—~515Automated safety check: PassMIT

Similar skills

  • Failproof AI SDK Integration

    FailproofAI/failproofai

    Helps instrument a custom Python or TypeScript agent to record events for Failproof AI, verify what gets written, and run an evaluator worker that scores the runs.

    5.3k GitHub stars~6k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Phoenix Tracing

    github/awesome-copilot

    Official

    OpenInference semantic conventions and instrumentation for Phoenix AI observability.

    40k GitHub starsUsed in 2 repos~1.6k tokens
    AI & LLM EngineeringAuto-check passed
  • Caveman Gateway Setup

    JuliusBrussee/caveman

    Routes every LLM call in a repository through the Caveman Cloud gateway in record mode, so requests and costs are measured without changing behavior.

    111k GitHub starsUsed in 1 repo~2.6k tokens
    DevOps & CloudAuto-check: warnings
  • Agent Kill Switch

    vivekchand/clawmetry

    Give the human an off switch and a cost meter for the coding agents on this machine, using ClawMetry.

    426 GitHub stars~1.1k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Clawmetry Selfcheck

    vivekchand/clawmetry

    Read your own agent telemetry from ClawMetry (waste, progress, cost) and act on it before finishing a task.

    426 GitHub stars~515 tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Official

    Writes Terraform alerting policies for AI agents that emit OpenTelemetry metrics, covering reliability, cost, safety, security and quality signals on Google Cloud.

    21k GitHub stars~4.2k tokensUpdated today
    DevOps & CloudAuto-check passed

More from datadog-labs/agent-skills

All 39 skills in this repo
  • 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 today
    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 today
    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 today
    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 today
    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 today
    Auto-check: notes
  • Agent Install

    datadog-labs/agent-skills

    Install the Datadog Agent on Linux hosts via SSH with Single Step Instrumentation (SSI) enabled — SSI automatically instruments applications for APM without code changes.

    177 GitHub stars~2.7k tokensUpdated today
    Auto-check: warnings

Works with

Questions about Agent Observability Experiment Bootstrap

What does Agent Observability Experiment Bootstrap do?

Bootstrap a reproducible LLM Observability experiment through the Python ddtrace SDK or the Node dd-trace SDK. Agent Observability Experiment Bootstrap is an agent skill from datadog-labs/agent-skills. Bootstrap a reproducible LLM Observability experiment through the Python ddtrace SDK or the Node dd-trace SDK.

When should I use Agent Observability Experiment Bootstrap?

Agent Observability Experiment Bootstrap fits situations like: LLM-as-a-judge scaffolding; tasks that involve Observability; tasks that involve LLM observability.

How do I install Agent Observability Experiment Bootstrap in Claude Code?

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

How do I install Agent Observability Experiment Bootstrap in Codex?

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

Can I use Agent Observability Experiment Bootstrap 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 agent-observability-experiment-bootstrap -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-observability-experiment-bootstrap, .gemini/skills/agent-observability-experiment-bootstrap, .github/skills/agent-observability-experiment-bootstrap and .opencode/skills/agent-observability-experiment-bootstrap in your project.

What does Agent Observability Experiment Bootstrap need to run?

Going by SKILL.md and its folder, Agent Observability Experiment Bootstrap needs Python for the scripts in its folder and the command-line tools its instructions call (python and node). Our summary lists: Python 3; Node.js.

Does Agent Observability Experiment Bootstrap access the network?

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.

Is Agent Observability Experiment Bootstrap 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 Agent Observability Experiment Bootstrap use?

Agent Observability Experiment Bootstrap 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 Agent Observability Experiment Bootstrap use?

About 2.3k tokens (SKILL.md is roughly 9k 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 14k tokens, read only when the agent opens those files.

What are the alternatives to Agent Observability Experiment Bootstrap?

Skills that share tags, products or a category with Agent Observability Experiment Bootstrap: Failproof AI SDK Integration (FailproofAI/failproofai, 5.3k stars), Phoenix Tracing (github/awesome-copilot, 40k stars), Caveman Gateway Setup (JuliusBrussee/caveman, 111k stars) and Agent Kill Switch (vivekchand/clawmetry, 426 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agent Observability Experiment Bootstrap?

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.