Add eos-cost-analysis skill and custom agent - #62
Open
rajatgoy wants to merge 1 commit into
Open
Conversation
Discovers AWS resources approaching or past End of Standard Support and calculates Extended Support cost impact across all associated accounts. Skill (skills/eos-cost-analysis): - 5-phase workflow: Scope -> Discover -> Classify -> Calculate -> Report - Services: EKS, RDS/Aurora, Lambda, ElastiCache, OpenSearch - RDS covers standalone + Aurora clusters; ElastiCache covers redis/valkey/ memcached across node clusters, replication groups, and serverless caches - Lambda deprecated-runtime detection verified at runtime; mandatory pagination - Per-version EOS date verification from AWS docs (no guessing / no date-bleed); OpenSearch vs Elasticsearch engine families verified independently - Live pricing from AWS Pricing API; RDS usagetype region-prefix-free; region prefix resolved via GetAttributeValues; OpenSearch NIH doc-verified - Year 1/2 vs Year 3 tiers (boundary >= 24 mo); Multi-AZ doubling for RDS - Reactive (current) vs proactive (projected) cost split; CSV artifact Custom agent (custom-agents/eos-cost-analysis): - System prompt for dedicated/scheduled runs; cross-account; persisted artifacts CloudFormation (cloudformation/devops-agent-skill-policies.yaml): - Add EnableEosCostAnalysis toggle granting read-only discovery across the five services plus pricing:GetProducts/GetAttributeValues/DescribeServices
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a new eos-cost-analysis skill and a matching custom agent that discover AWS resources approaching or past End of Standard Support (EOS) and calculate the Extended Support (ES) cost impact across all associated accounts, producing an actionable cost report.
Skill (
skills/eos-cost-analysis):pricing:GetAttributeValues; OpenSearch NIH factors doc-verifiedCustom agent (
custom-agents/eos-cost-analysis):Infrastructure (
cloudformation/devops-agent-skill-policies.yaml):EnableEosCostAnalysistoggle granting read-only discovery across the five services pluspricing:GetProducts/pricing:GetAttributeValues/pricing:DescribeServicesType of change
Testing
Validated end-to-end against two AWS accounts across multiple regions (us-east-1, eu-west-1, ap-south-1) using CloudFormation-provisioned test fixtures covering a mix of EOS, approaching-EOS, and supported versions:
DescribeDBClusterspath and Year 3 tiering)DescribeCacheClusters,DescribeReplicationGroups, andDescribeServerlessCaches)OpenSearch_*andElasticsearch_*engine-family domains (validated independent EOS calendars)Reviewed the agent's reasoning trace to confirm all discovery APIs were invoked (including serverless/replication-group paths), pricing came live from the AWS Pricing API with cross-account fallback, and EOS dates were verified from AWS documentation. The CloudFormation policy template validates via
aws cloudformation validate-template.License confirmation