investigation-cost-guardrail SKILL.md skillA

investigation-cost-guardrail from aws/tools-for-devops-agent is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add aws/tools-for-devops-agent/investigation-cost-guardrail@v2.1.1

Pins v2.1.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
aws/tools-for-devops-agent
Path
skills/investigation-cost-guardrail/SKILL.md
Versions recorded
5
Latest version
v2.1.1, committed Oct 21, 2026
First version recorded
Aug 21, 2026
Size
18,275 bytes
Repository stars
137
License
Apache-2.0

Cost guardrail for AWS DevOps Agent that covers ALL AWS services and native agent tools. Before the agent makes any paid API call, this skill estimates cost, enforces budgets per investigation, detects expensive operations across all services (Athena queries, S3 scans, DynamoDB scans, SageMaker inference, PromQL, etc.), enforces time window requirements, monitors cumulative call volume, and cancels if thresholds are exceeded. This skill applies to ALL investigations regardless of which…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Investigation Cost Guardrail Skill

## Overview

This skill provides cost guardrails for ANY AWS service and ALL native agent tools — not just a hardcoded list. It uses **heuristic classification** to determine whether an API operation is free or paid, estimates cost before execution, and enforces per-investigation budgets.

## Design Principle

Rather than listing every free/paid operation across 200+ AWS services, this skill uses three layers:

1. **Heuristic rules** — classify any operation based on naming patterns and behavior
2. **Known-paid registry** — explicit overrides for high-cost operations with pricing formulas
3. **Response validation** — detect metered usage from API response fields after execution

## Activation

This skill MUST be ALWAYS ACTIVE during investigations. It does NOT require user invocation.

## Fetch Live Rate Before Estimating

The **first time** an operation is classified **PAID** by Layer 2, fetch the live rate **before** estimating cost.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add aws/tools-for-devops-agent/investigation-cost-guardrail@sha256:b5ac604a1435c27b

The line at the top of this page pins the label v2.1.1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ic4amnium5lgnd5i.svg)](https://markdownregistry.com/a/art_ic4amnium5lgnd5i)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Aug 21, 2026 and Oct 21, 2026, about one every 15 days.

versioncommittedcommitsizeaudit
v2.1.1 latest2026-10-21 35b9537 18,275 BA view · diff
v2.1.02026-08-28 af78d2f 18,275 BA view · diff
v2.1.02026-08-28 0a8354b 18,298 BA view · diff
v2.1.02026-08-26 8baaafc 18,252 BA view · diff
v2.1.02026-08-21 486787f 15,837 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (18275 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

aws/tools-for-devops-agent · 137 stars · license Apache-2.0 · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ic4amnium5lgnd5i
GET https://markdownregistry.com/api/v1/resolve?ref=aws/tools-for-devops-agent/investigation-cost-guardrail
GET https://markdownregistry.com/api/v1/blob/b5ac604a1435c27bffd21e353d97c1daccb88f28bb9ced1e7cc407158898de44

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from aws/tools-for-devops-agent

CLAUDE.md@.claude CLAUDE.md file
aws/tools-for-devops-agent · .claude/CLAUDE.md
git:20261027.03aea14 · audit A · 137 stars
llms.txt llms.txt file
aws/tools-for-devops-agent · llms.txt
git:20261029.e65384c · audit A · 137 stars
agentcore-observability-setup SKILL.md skill
aws/tools-for-devops-agent · skills/agentcore-observability-setup/SKILL.md · Validates and bootstraps Amazon Bedrock AgentCore observability so customers can trace
v1.0.2 · audit A · 137 stars
agentcore-ops-review SKILL.md skill
aws/tools-for-devops-agent · skills/agentcore-ops-review/SKILL.md · Comprehensive operational review procedures for Amazon Bedrock
v1.0.3 · audit A · 137 stars
aiml-access-diagnostics SKILL.md skill
aws/tools-for-devops-agent · skills/aiml-access-diagnostics/SKILL.md · Use this skill when diagnosing IAM and access failures for Bedrock and SageMaker. It traces the authorization chain —…
v1.2.4 · audit A · 137 stars
aiml-gpu-training-cluster-investigation SKILL.md skill
aws/tools-for-devops-agent · skills/aiml-gpu-training-cluster-investigation/SKILL.md · Use this skill for GPU training or inference clusters on SageMaker HyperPod (Slurm or
v1.0.6 · audit A · 137 stars
analytics-opensearch-expertise SKILL.md skill
aws/tools-for-devops-agent · skills/analytics-opensearch-expertise/SKILL.md · Amazon OpenSearch Service domain health assessment. Performs read-only, API-driven checks against a customer's…
v2.6.2 · audit A · 137 stars
aws-backup-coverage-review SKILL.md skill
aws/tools-for-devops-agent · skills/aws-backup-coverage-review/SKILL.md · AWS Backup coverage and data protection posture review. Determines
v1.0.3 · audit A · 137 stars
aws-eks-healthdashboard SKILL.md skill
aws/tools-for-devops-agent · skills/aws-eks-healthdashboard/SKILL.md · Use this skill when the user wants to know whether an Amazon EKS cluster is healthy right now, or asks you to assess…
v1.0.0 · audit A · 137 stars
aws-eks-operations-review SKILL.md skill
aws/tools-for-devops-agent · skills/aws-eks-operations-review/SKILL.md · Use this skill when someone wants an Amazon EKS cluster graded against best practices. Use it when they ask to review…
v1.9.6 · audit A · 137 stars
aws-fsxn-operations-review SKILL.md skill
aws/tools-for-devops-agent · skills/aws-fsxn-operations-review/SKILL.md · Amazon FSx for NetApp ONTAP Operational Review. Use when a user asks to review, audit, assess, or health-check FSx for…
v1.0.0 · audit A · 137 stars
aws-health-events SKILL.md skill
aws/tools-for-devops-agent · skills/aws-health-events/SKILL.md · ALWAYS use this skill in the beginning of any incident investigation, root cause
v1.0.1 · audit A · 137 stars

Every file in aws/tools-for-devops-agent

Browse by kind, by grade A, or by owner.