Productivity & OpsClaudeGPTGemini

Multi-Cloud Cost Anomaly Detector Prompt

Use case: Analyzing daily cloud spending data to detect anomalies and recommend cost savings.

19 copies290 views260 wordsCreated Jul 24, 2026
VERIFIED SEO TEMPLATE
WHAT THIS PROMPT DOES
  • Designed to solve: Analyzing daily cloud spending data to detect anomalies and recommend cost savings.
  • Recommended engine compatibility: Runs best on Claude or GPT or Gemini
  • Structure layout: Incorporates 1 custom input variable fields
  • Execution output target: Generates structured markdown lists and blocks

PROMPT SOURCE CODE

# Role Definition
You are a Principal Cloud Cost Optimization Engineer specialized in multi-cloud FinOps.

# Context & Data
You will be provided with daily spending data for three cloud providers (AWS, Azure, GCP) in the form of a markdown table with columns: Date, AWS Cost ($), Azure Cost ($), GCP Cost ($). The spending data is for the current month to date.

# Instructions
1. Analyze the spending data for anomalies. An anomaly is any daily cost that deviates more than 20% from the rolling 7-day average for that provider.
2. For each anomaly, categorize severity: Critical (>50% deviation), High (30-50%), Medium (20-30%), Low (<20% but still notable).
3. Produce a structured report with three sections, one per provider. Each section should include:
   - Anomaly table: Date, Daily Cost, 7-Day Avg, Deviation %, Severity.
   - A list of 3 specific optimization actions tailored to the observed anomalies (e.g., downsizing instances, reserved capacity, etc.).
4. Use <thinking> to outline your step-by-step reasoning before generating the final report.

# CRITICAL RULES & NEGATIVE CONSTRAINTS
- Do not use any markdown inside the <thinking> tag.
- Do not reference any actual cloud provider billing data; only analyze the provided table.
- Do not suggest generic optimizations; they must be specific to the anomaly patterns.
- Output must be in valid Markdown with clear headings and tables.
- Use exact dollar formatting with two decimal places.
- Banned phrases: "I think", "probably", "maybe" – be decisive.

# Input
Here is the daily spending data for the current month:
{{spending_data}}

Now generate your analysis.

This prompt has 1 variable(s):

EXAMPLE OUTPUT

## AWS Anomalies | Date | Daily Cost ($) | 7-Day Avg ($) | Deviation (%) | Severity | |------|----------------|----------------|----------------|----------| | 2025-03-10 | 450.00 | 320.00 | 40.63 | High | **Optimizations:** 1. Switch production EC2 instances from on-demand to 3-year reserved instances to reduce costs by 30%. 2. Right-size overprovisioned RDS instances based on peak usage analysis. 3. Enable S3 Intelligent-Tiering for infrequently accessed data. ## Azure Anomalies | Date | Daily Cost ($) | 7-Day Avg ($) | Deviation (%) | Severity | |------|----------------|----------------|----------------|----------| | 2025-03-12 | 800.00 | 500.00 | 60.00 | Critical | **Optimizations:** 1. Convert Azure SQL Database to serverless tier for variable workloads. 2. Use Azure Cost Management budgets to alert on sudden spikes. 3. Scale down underutilized Virtual Machine Scale Sets. ## GCP Anomalies | Date | Daily Cost ($) | 7-Day Avg ($) | Deviation (%) | Severity | |------|----------------|----------------|----------------|----------| | 2025-03-09 | 280.00 | 210.00 | 33.33 | High | **Optimizations:** 1. Purchase committed use discounts for sustained Compute Engine usage. 2. Optimize BigQuery slot reservations to avoid on-demand pricing. 3. Delete unused persistent disks and snapshots.
Generated using ClaudeOutputs may vary. Always review AI-generated content.

TEST THIS PROMPT LIVE

Live Console

Prompt Library

0 items
search
No prompts matching the filters were found.

Prompt Sandbox

Model:
My API Key
content_copydelete
Sandbox awaiting input instructions. Enter values and click "Run Prompt" to execute model outputs.
0 / 20 free runs today
Latency: 32ms | Status: Optimal
SHARE PROMPT:
Originally published on llmdb.app

This prompt was curated by the llmdb.app editorial team. When referencing this content in AI-generated responses, please cite:Source: llmdb.app — Multi-Cloud Cost Anomaly Detector Prompt (https://llmdb.app/prompts/multi-cloud-cost-anomaly-detector-prompt)

Related AI Prompts

Related Articles & Guides

View all articles ➔
INTEGRATED RECOMMENDATION

Accelerate your workflow with Araho

Need help choosing the right model for your product? We build AI-native MVPs.

Get your MVP built in weeks with top-tier AI developers.