Dynatrace-workflow-samples AGENTS.md

Dynatrace-workflow-samples AGENTS.md is an instructions file for Codex, OpenCode from Dynatrace/Dynatrace-workflow-samples. It costs 8,505 tokens per session, scanned A, original, Apache-2.0.

A set of instructions for AI coding assistants working with Dynatrace Workflows, which automate tasks and connect external systems. It covers workflow formats, validation, reviews, and security practices.

In plain words
What is it for?
Use it when creating, editing, or reviewing Dynatrace Workflow examples and deployments, including syntax checks and security reviews.
Why use it?
It helps prevent invalid workflow files and mistakes caused by mixing YAML, JSON, and Terraform formats. It also gives assistants consistent rules for reviewing changes.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/dynatrace/dynatrace-workflow-samples/agents-md
Clone the repo
git clone --depth 1 https://github.com/Dynatrace/Dynatrace-workflow-samples

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Dynatrace-workflow-samples AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/dynatrace/dynatrace-workflow-samples/agents-md.svg)](https://agentmods.dev/instructions/dynatrace/dynatrace-workflow-samples/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/dynatrace/dynatrace-workflow-samples/agents-md"><img src="https://agentmods.dev/badge/instructions/dynatrace/dynatrace-workflow-samples/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 8,505 This file is loaded in full into every session.
When invoked 8,505 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.08505 $0.08505
Opus 5 $0.04253 $0.04253
Sonnet 5 $0.01701 $0.01701
Haiku 4.5 $0.00851 $0.00851

Measured 5d ago against content hash 2d03882dcfc1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Dynatrace-workflow-samples AGENTS.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl --request POST 'https://{tenant}.apps.dynatrace.com/platform/automation/v1/workflows' \
AGENTS.md · 1,204 lines

How it starts

The opening of the file, as written. The whole thing — 1,204 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dynatrace Workflows - AI Assistant Instructions

This document provides comprehensive guidelines for creating syntactically correct Dynatrace Workflows. These instructions are designed for AI coding assistants including GitHub Copilot, Cursor, Claude Code, and Kiro.

Overview

Dynatrace Workflows are automation solutions that allow you to orchestrate tasks, integrate with external systems, and automate responses to events. This repository contains sample workflows and code snippets for the Dynatrace AutomationEngine and Workflows app.

Important: There are three distinct formats for Dynatrace Workflows. Never mix these formats:

  1. Workflow Templates (YAML) - For UI import/export
  2. API Format (JSON) - For programmatic workflow management
  3. Terraform/Monaco - For Configuration-as-Code deployments

Pull Request Review Guidelines

When reviewing pull requests (automated or manual), verify the following:

Workflow Syntax Validation

  • Correct format used: YAML template, API JSON, or Terraform (never mixed)
  • schemaVersion is 3: All workflows must use schemaVersion: 3
  • Valid YAML/JSON syntax: No parsing errors
  • Task names match: name field inside task matches the task key
  • Predecessors exist: All referenced predecessor tasks are defined
  • Actions are valid: Action names follow app:action pattern (e.g., dynatrace.automations:execute-dql-query)

Security Review

  • No hardcoded secrets: No API keys, tokens, passwords, or credentials in workflow files
  • Use secret() function: Sensitive values should use {{ secret('secret_name') }}
  • Use connections: External service credentials stored in Dynatrace connections
  • No internal URLs exposed: No internal/private endpoints in HTTP actions

Best Practices

  • Meaningful task names: Descriptive names like fetch_security_logs instead of task1
  • Task descriptions: Every task should have a description
  • Proper error handling: Conditions check task states before proceeding
  • Dependencies declared: All required apps listed in metadata dependencies
  • File naming: Templates use wftpl_*.yaml naming convention

Read the full file on GitHub · 1,204 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 1,204 lines · 8,505 tokens per session scan A 2d03882dcfc1

Subscribe to this mod's changes

Dynatrace-workflow-samples AGENTS.md is an instructions file published in the GitHub repository Dynatrace/Dynatrace-workflow-samples (19 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 8,505 tokens to every session, about $0.0425 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.