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.
mdr add aws/tools-for-devops-agent/investigation-cost-guardrail@v2.1.1Pins 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
mdr add aws/tools-for-devops-agent/investigation-cost-guardrail@sha256:b5ac604a1435c27bThe 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.1.1 latest | 2026-10-21 | 35b9537 | 18,275 B | A | view · diff |
| v2.1.0 | 2026-08-28 | af78d2f | 18,275 B | A | view · diff |
| v2.1.0 | 2026-08-28 | 0a8354b | 18,298 B | A | view · diff |
| v2.1.0 | 2026-08-26 | 8baaafc | 18,252 B | A | view · diff |
| v2.1.0 | 2026-08-21 | 486787f | 15,837 B | A | view |
Audit of the latest version
- 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
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.