Sandbox
@Dynatrace/dynatrace-for-ai

Dynatrace skills and prompts for AI agents

This repo packages Dynatrace domain knowledge for AI agents as Agent Skills, reusable prompts, and plugin bundles. The skills cover observability, security, platform, mobile, and migration tasks, while the prompts package common workflows like incident response and health checks.

137 stars28 forksJavaScriptUpdated 7d ago
Who it's for

Builders who want their agent to query and interpret Dynatrace data with reusable context.

What it delivers

You can keep your agent grounded in Dynatrace-specific rules and workflows instead of re-explaining the platform every time.

What it does

Dynatrace skill packs

Reusable skills under `skills/` for DQL, observability, security, mobile instrumentation, platform work, and migration.

Task prompts

Copyable prompts under `prompts/` for standup reports, health checks, incident response, error investigation, and regression analysis.

Claude Code and Cursor plugin bundles

Plugin metadata in `.claude-plugin/` and `.cursor-plugin/` for installing the repo as a packaged agent add-on.

MCP server connection

The repo documents Dynatrace MCP access through `mcp.json`, `.mcp.json`, and the Claude Code plugin setup.

Validation scripts

Test scripts in `tests/` and `scripts/check-versions.js` to check structure and skill quality.

How to get it

  1. 1Run
    npx skills add dynatrace/dynatrace-for-ai
  2. 2Run
    claude plugin marketplace add dynatrace/dynatrace-for-ai
    claude plugin install dynatrace@dynatrace-for-ai
  3. 3The plugin includes the Dynatrace MCP server. Set these environment variables before…
    export DT_ENVIRONMENT=https://<env>.apps.dynatrace.com   # e.g. https://abc12345.apps.dynatrace.com
    export DT_PLATFORM_TOKEN=<your-platform-token>

README

Dynatrace for AI

OpenSSF Scorecard

Everything AI agents need to work with Dynatrace, starting with skills.

Skills are portable knowledge packages following the Agent Skills open format. They give AI coding agents the domain-specific context to query, analyze, and interpret Dynatrace data. They work with Claude Code, GitHub Copilot, Cursor, OpenCode, Gemini CLI, and 30+ other compatible tools.

Installation

Skills Package (skills.sh)

npx skills add dynatrace/dynatrace-for-ai

Works with Claude Code, Cursor, Cline, GitHub Copilot, OpenCode, and other compatible agents.

Claude Code Plugin

claude plugin marketplace add dynatrace/dynatrace-for-ai
claude plugin install dynatrace@dynatrace-for-ai

The plugin includes the Dynatrace MCP server. Set these environment variables before starting Claude Code to connect it to your environment:

export DT_ENVIRONMENT=https://<env>.apps.dynatrace.com   # e.g. https://abc12345.apps.dynatrace.com
export DT_PLATFORM_TOKEN=<your-platform-token>

Please consult the Dynatrace MCP server docs for a full list of scopes required for using the MCP Server with a Platform Token.

Update with claude plugin marketplace update && claude plugin update dynatrace@dynatrace-for-ai.

The bundled MCP server connects to your Dynatrace environment. See the Dynatrace Privacy Policy for details on data handling.

Manual

Copy skill directories into your agent's skills path (.agents/skills/, .claude/skills/, .cursor/skills/, etc.).

Connecting to Dynatrace

Skills provide knowledge only. To run live queries and manage your environment, pair them with a tool.

Dynatrace CLI (dtctl)

dtctl is a kubectl-style CLI for the Dynatrace platform. It ships with its own Agent Skill that teaches agents how to operate it.

brew install dynatrace-oss/tap/dtctl                        # Install
dtctl auth login --context my-env \
  --environment "https://<env>.apps.dynatrace.com"           # Authenticate
npx skills add dynatrace-oss/dtctl                           # Install the dtctl skill
dtctl doctor                                                 # Verify setup

Or install the dtctl skill with dtctl itself: dtctl skills install

Dynatrace MCP Server

The Dynatrace MCP server provides Dynatrace API access via MCP. The Claude Code plugin bundles the MCP server configuration automatically — just set DT_ENVIRONMENT and DT_PLATFORM_TOKEN as shown above. For other agents that support MCP natively, see the MCP server docs.

The MCP server is remote — Dynatrace hosts it, so there is nothing to install. Releases are published to the official MCP registry as io.github.Dynatrace/dynatrace-for-ai, so MCP hosts that read the registry can add it by name.

Skills

DQL & Query Language

SkillDescription
dt-dql-essentialsDQL syntax rules, common pitfalls, and query patterns. Load this before writing any DQL.

Observability

SkillDescription
dt-obs-servicesService RED metrics and runtime telemetry for .NET, Java, Node.js, Python, PHP, and Go.
dt-obs-frontendsReal User Monitoring, Web Vitals, user sessions, mobile crashes, and frontend errors.
dt-obs-tracingDistributed traces, spans, service dependencies, and failure detection.
dt-obs-hostsHost and process metrics: CPU, memory, disk, network, and containers.
dt-obs-kubernetesKubernetes clusters, pods, nodes, workloads, labels, and resource relationships.
dt-obs-awsAWS resources: EC2, RDS, Lambda, ECS/EKS, VPC, load balancers, and cost optimization.
dt-obs-azureAzure resources: VMs, VMSS, SQL Database, Storage, AKS, App Service, Functions, VNet, Event Hubs, Container Apps, and Key Vault.
dt-obs-gcpGCP resources: Compute Engine, GKE, Cloud Run, Pub/Sub, VPC, DNS, IAM, and Secret Manager.
dt-obs-logsLog queries, filtering, pattern analysis, and log correlation.
dt-obs-problemsProblem entities, root cause analysis, impact assessment, and problem correlation.
dt-obs-predictive-analyticsTime series forecasting, capacity saturation planning, and trend/anomaly detection across hosts, services, and infrastructure.
dt-alertingEnd-to-end alerting lifecycle: anomaly detector setup, alert events in Grail, problem grouping, and workflow notification routing.
dt-obs-analyticsAnalyze Dynatrace dashboards and notebooks with Davis analyzers: anomaly detection, novelty scoring, and metric correlation.
dt-obs-ext-monitorsIngest third-party test and monitor results into Dynatrace Grail via the platform events ingest API.
dt-obs-genaiAnalyze observability signals from GenAI applications: golden signals, LLM cost/token analytics, agent tool-call behavior, and evaluation results.
dt-obs-log-semantic-mappingSuggest and validate semantic dictionary mappings for audit log integrations, using vendor log payloads or live ingested events.

Security

SkillDescription
dt-sec-insightsQuery and analyze security data in security.events: Runtime Vulnerability Analytics, Runtime Application Protection, Automated Detections (MITRE ATT&CK), and Security Posture Management (KSPM/CSPM).
dt-sec-contextualizationResolve security signals and IoC matches to runtime entities, and connect findings across topology levels through a shared runtime entity.
dt-sec-ioc-huntingHunt threat-intelligence indicators of compromise across logs and spans, producing a threat-exposure score.
dt-sec-semantic-mappingSuggest and validate semantic dictionary mappings for new security integrations, using vendor API samples or live events.

Mobile Instrumentation

SkillDescription
dt-obs-androidInstrument an existing Android project (Kotlin or Java) with the Dynatrace Mobile Agent: Gradle plugin, agent config, and user privacy opt-in.
dt-obs-flutterIntegrate the Dynatrace Flutter Plugin: dependency setup, config, SDK bootstrap, navigation tracking, and verification.
dt-obs-iosSet up the Dynatrace iOS SDK via Swift Package Manager: SPM dependency, Dynatrace.plist config, privacy opt-in, and Xcode build verification.
dt-obs-react-nativeIntegrate the Dynatrace React Native Plugin for bare React Native and Expo: dependency setup, dynatrace.config.js, Babel registration, navigation tracking, and verification.

Platform

SkillDescription
dt-app-dashboardsCreate, modify, and analyze Dynatrace dashboards: tiles, layouts, variables, and visualizations.
dt-app-notebooksCreate, modify, and analyze Dynatrace notebooks: sections, DQL queries, and analytics workflows.
dt-js-runtimeDynatrace server-side JavaScript runtime: function contract, runtime limits, Web APIs, Node.js modules, and the @dynatrace-sdk/* catalog.
dt-platform-costsQuery and analyze a Dynatrace tenant's actual billing and usage data with DQL: DPS consumption breakdown, cost-normalized spend ranking, chargeback/showback, cost drivers, and entity-level cost drill-down.

Migration

SkillDescription
dt-migrationMigrate classic entity-based DQL and topology navigation to Smartscape equivalents.

Prompts

Prompts are reusable task templates for common Dynatrace workflows. You can copy them from the /prompts/ directory and paste them directly into any AI chat. For VS Code/GitHub Copilot users, copy prompts into .github/prompts/ to use as slash commands (e.g. /troubleshoot-problem).

Each prompt references the relevant skills above — load those skills first for best results.

PromptDescription
dt-daily-standupGenerate a daily standup report for one or more services.
dt-health-checkCheck the health of a service in production.
dt-incident-responseRespond to an active production incident with triage, root cause, and a shareable report.
dt-investigate-errorInvestigate recent errors using Davis Problems as the entry point (problems → logs → traces).
dt-performance-regressionAnalyze whether a recent deployment caused a performance regression.
dt-troubleshoot-problemTroubleshoot an existing Dynatrace problem with structured log and trace investigation.

How Skills Work

Skills follow the Agent Skills specification and use progressive disclosure:

  1. Catalog - Agents load only name + description (~100 tokens per skill) to know what's available.
  2. Instructions - When relevant, the full SKILL.md is loaded (<5000 tokens).
  3. Resources - Detailed reference files in references/ are loaded on demand.

Install all skills without penalty. Agents only load what they need.

Contributing

Skill content (skills/) is maintained internally at Dynatrace and published here periodically. PRs that modify skill files will not be accepted — please open an issue instead to suggest changes. See CONTRIBUTING.md for details on what can be contributed directly.

License

Apache-2.0

Files in the repo

Repository payload18 top-level entries
  • .claude-plugin
  • .cursor-plugin
  • .github
  • prompts
  • scripts
  • skills
  • tests
  • .gitignore
  • .mcp.json
  • CLAUDE.md
  • CODEOWNERS
  • CONTRIBUTING.md
  • Dynatrace_Logo_color_positive.png
  • LICENSE
  • llms.txt
  • mcp.json
  • README.md
  • server.json

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More skills

obra/
superpowers

An agentic skills framework & software development methodology that works.

285k
1 add

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

117k
1 add
Vincentwei1021/
anything2explainer

Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.

666

Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)

71k