
agent-observability-experiment-bootstrap
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.
- Installs
- 256
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/datadog-labs/agent-skills --skill agent-observability-experiment-bootstrap- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads agent-observability-experiment-bootstrap automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
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:
/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:
--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:
- Parse the adapter.
- Read exactly one adapter reference:
- Python SDK →
references/python/python.md - Node SDK →
references/node/nodejs.md
- Python SDK →
- For Python task generation, read only the selected provider reference under
references/python/providers/. - 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:
- Project — resolve an explicit project name, configured service metadata, or a clearly documented generated fallback. Never silently use an unrelated project.
- Dataset — records with input, optional expected output, optional metadata, and tags. Pin a remote dataset version when supplied.
- Task — a deterministic adapter from record input to the application under test. Keep evaluation logic outside the task.
- Evaluators — named row-level or summary-level metrics. Use deterministic checks for contracts and judges only where semantic evaluation is needed.
- Run state — preserve task errors, evaluator errors, completion state, result rows, and partial failures separately.
- 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.
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:
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/— Pythonddtrace.llmobsAPI, providers, evaluator styles, environment template, and legacy compatibility.references/node/— Nodetracer.llmobs.experimentsAPI and future Node-specific references.
Do not modify dd-trace-py or dd-trace-js while updating this skill.
FAQ
What does the agent-observability-experiment-bootstrap skill do?
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.
How do I install agent-observability-experiment-bootstrap?
Run npx skills add https://github.com/datadog-labs/agent-skills --skill agent-observability-experiment-bootstrap in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/agent-observability-experiment-bootstrap/ (personal) or .claude/skills/agent-observability-experiment-bootstrap/ (project).
Which AI agents can use agent-observability-experiment-bootstrap?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is agent-observability-experiment-bootstrap safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains agent-observability-experiment-bootstrap?
It is published by datadog-labs in datadog-labs/agent-skills. It has 256 recorded installs.
More from datadog-labs/agent-skills
dd-pup
datadog-labs/agent-skills
Datadog CLI (Rust). OAuth2 auth with token refresh.
agent-skills
datadog-labs/agent-skills
Datadog skills for AI agents. Essential monitoring, logging, tracing and observability.
dd-logs
datadog-labs/agent-skills
Log management - search, archives, metrics, and cost control.
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. Use for any request involving Datadog APM setup, instrumentation (SSI, ddtrace, agent install), or analysis.
dd-monitors
datadog-labs/agent-skills
Monitor management - list, search, file-based create, and alerting best practices.
dd-docs
datadog-labs/agent-skills
Datadog docs lookup using docs.datadoghq.com/llms.txt and linked Markdown pages.
Popular devops & cloud skills
microsoft-foundry
microsoft/azure-skills
Build, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end. USE FOR: foundry, azd ai agent, azd provision/deploy, hosted agent scaffold/develop/run/deploy/troubleshoot, prompt agent create, managed harness agent create, GitHub Copilot harness agent, create agent, update agent, add tool to agent, invoke agent, agent insights, evaluate agent, batch eval, continuous eval, continuous monitoring, agent CI/CD, optimize prompt, improve prompt, optimize agent instructions, Agent Optimizer scaffold, dataset curation from traces, deploy model, model fine-tuning (SFT/DPO/RFT), Foundry project, RBAC, role assignment, permissions, quota, capacity, region, deployment failure, AI Services, create Foundry resource, knowledge index, customize deployment, onboard, availability, training-data, grader, distillation, large file upload. DO NOT USE FOR: Azure Functions, App Service, general Azure deploy (use azure-deploy), general Azure prep (use azure
azure-diagnostics
microsoft/azure-skills
Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app service, app service high CPU, app service deployment failure, troubleshoot container apps, container app 503 or target port mismatch, troubleshoot functions, function telemetry missing or stopped after a config/connection-string change, troubleshoot AKS, VM RDP, Linux SSH, VM black screen, can't connect to VM, reset VM password, NSG or firewall blocking, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, analyze logs, KQL, insights, image pull failures, cold start issues, health probe failures, resource health, root cause of errors, troubleshoot event hubs, troubleshoot service bus, messaging SDK error, AMQP connection failure, message lock lost, lock renewal during long-running processing, service bus dead letter.
azure-prepare
microsoft/azure-skills
Prepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Terraform), and Dockerfiles for the Azure Developer CLI (azd) workflow. USE ONLY when the user explicitly wants to use azd as the deployment tool, or the project already has an azure.yaml file. DO NOT USE FOR: non-azd deployments, Python App Service code-only deploys (use python-appservice-deploy), or cross-cloud migration (use azure-cloud-migrate). WHEN: prepare app for azd, create azure.yaml, set up azd infrastructure, modernize app for Azure with azd, deploy with azd, function app, timer trigger, service bus trigger, event-driven function, managed identity, generate Bicep, generate Terraform, create and deploy to Azure.
azure-ai
microsoft/azure-skills
Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.
azure-deploy
microsoft/azure-skills
Execute Azure deployments for ALREADY-PREPARED applications that have existing .azure/deployment-plan.md and infrastructure files. DO NOT use this skill when the user asks to CREATE a new application — use azure-prepare instead. This skill runs azd up, azd deploy, terraform apply, and az deployment commands with built-in error recovery. Requires .azure/deployment-plan.md from azure-prepare and validated status from azure-validate. WHEN: "run azd up", "run azd deploy", "execute deployment", "push to production", "push to cloud", "go live", "ship it", "bicep deploy", "terraform apply", "publish to Azure", "launch on Azure". DO NOT USE WHEN: "create and deploy", "build and deploy", "create a new app", "set up infrastructure", "create and deploy to Azure using Terraform" — use azure-prepare for these.
azure-validate
microsoft/azure-skills
Pre-deployment validation for Azure readiness. Run deep checks on configuration, infrastructure (Bicep or Terraform), RBAC role assignments, managed identity permissions, and prerequisites before deploying. WHEN: validate my app, check deployment readiness, run preflight checks, verify configuration, check if ready to deploy, validate azure.yaml, validate Bicep, test before deploying, troubleshoot deployment errors, validate Azure Functions, validate function app, validate serverless deployment, verify RBAC roles, check role assignments, review managed identity permissions, what-if analysis, validate Container Apps deployment.