Dynatrace-workflow-samples: Instructions file for Codex

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

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code.

This is Dynatrace/Dynatrace-workflow-samples's own configuration. It tells Codex and OpenCode how to work on Dynatrace-workflow-samples itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Dynatrace-workflow-samples configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Dynatrace/Dynatrace-workflow-samples. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Dynatrace/Dynatrace-workflow-samples/main/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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Dynatrace-workflow-samples AGENTS.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.08505 $0.08505
Opus 5.5 $0.03402 $0.03402
Sonnet 5.5 $0.01701 $0.01701
Haiku 4.5 $0.00851 $0.00851

Measured 2mo ago against content hash 2d03882dcfc1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 14d ago), licensed Apache-2.0. It adds 8,505 tokens to every session, about $0.0340 per session on Opus 5.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.

Related

Dynatrace-workflow-samples AGENTS.md compared with instructions from other repositories

Dynatrace-workflow-samples AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Dynatrace-workflow-samples AGENTS.mdDynatrace/Dynatrace-workflow-samplesInstructions file1914d agoApache-2.0A8,505Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode