# dt-setup-oneagent

> Claude/Codex skill by [@dynatrace](https://omgskills.com/library/dynatrace/index.md) · 167 stars · Updated 2026-10-23

Reference knowledge for installing, uninstalling, or creating-and-installing Dynatrace OneAgent across VM/server, Kubernetes (Operator + DynaKube), AWS Lambda (layer + env vars, plus optional fresh function provisioning), Windows hosts, remote Linux hosts / EC2 instances over SSH, and Azure VMs / VM Scale Sets. Returns documented endpoints, env vars, token scopes, and copy-paste-ready commands. Returns the exact commands to run rather than executing them. Use when the user asks to install or uninstall OneAgent, or asks "how do I…", "what URL/scope/var do I need for…", or "explain the OneAgent deployment for X".

Tags: agent-skills, ai-agents, claude-code, devops, dql, dynatrace, mcp, observability

## Install

```sh
git clone https://github.com/Dynatrace/dynatrace-for-ai /tmp/dynatrace-for-ai && ln -s /tmp/dynatrace-for-ai/skills/dt-setup-oneagent ~/.claude/skills/dt-setup-oneagent
```

## From README

Deploy Dynatrace OneAgent — knowledge reference This skill is reference-only. It contains the documented endpoints, environment variables, token scopes, and commands that an operator (or another agent) needs to OneAgent manually across the supported targets. It executes nothing. This skill gives you the commands; it does not run them. Follow the procedure for the target you need, substituting the environment URL and token as documented below. Hard rules for any agent consuming this skill Operate only on resources the user explicitly named. Never create a placeholder/test Lambda, IAM role, K8s namespace, secret, S3 bucket, EC2 instance, or any other fixture on your own initiative — not to "demonstrate", not "while we're at it", not preemptively. If the named resource doesn't exist and the user hasn't asked for it to be created, stop and ask.

## Links

- HTML page: https://omgskills.com/library/dynatrace/dynatrace-for-ai/skills/dt-setup-oneagent/
- GitHub: https://github.com/Dynatrace/dynatrace-for-ai
- Author: [@dynatrace](https://omgskills.com/library/dynatrace/index.md)

## More from this repo

- [dt-obs-analytics](https://omgskills.com/library/dynatrace/dynatrace-for-ai/skills/dt-obs-analytics/index.md) — Used to analyze dashboards and notebooks using Davis analyzers — anomaly detection, novelty scoring, and correlation.
   - [@dynatrace](https://omgskills.com/library/dynatrace/index.md) · 167 stars
- [dt-obs-compliance-assistant](https://omgskills.com/library/dynatrace/dynatrace-for-ai/skills/dt-obs-compliance-assistant/index.md) — Used to monitor and investigate EU DORA compliance posture using Dynatrace Compliance Assistant.
   - [@dynatrace](https://omgskills.com/library/dynatrace/index.md) · 167 stars
- [dt-obs-ext-monitors](https://omgskills.com/library/dynatrace/dynatrace-for-ai/skills/dt-obs-ext-monitors/index.md) — 3rd-party test and monitor result ingestion into Dynatrace Grail via the platform events ingest API...
   - [@dynatrace](https://omgskills.com/library/dynatrace/index.md) · 167 stars
