Use when reviewing Terraform components for AWS cost optimization, right-sizing, or identifying unnecessary expensive resources like NAT gateways or over-provisioned subnets
From shieldnpx claudepluginhub infraspecdev/tesseract --plugin shieldThis skill uses the workspace's default tool permissions.
pricing-reference.mdreport-template.mdObserves Claude Code sessions via hooks to create atomic project-scoped instincts with confidence scores, evolving them into skills, commands, or agents.
Automatically extracts reusable patterns like error resolutions, workarounds, and debugging techniques from Claude Code sessions via Stop hook, saving them as learned skills for reuse.
Provides patterns for continuous autonomous agent loops with loop selection, quality gates, evals, recovery controls, and failure mitigation. Useful for production AI agent workflows.
Cost analysis framework for Terraform AWS components. Every resource must be toggleable or right-sizable per environment so non-production environments never pay production prices.
Read all .tf files and inventory every resource that incurs AWS charges. Categorize by networking, compute, storage, database, monitoring, and security. See pricing-reference.md for resource categories and approximate costs.
For each cost-driving resource, check:
enable_* variable to disable in dev?For each variable that affects cost, recommend values for dev, staging, and production. See pricing-reference.md for common variable patterns.
| Trap | Typical Monthly Cost | Fix |
|---|---|---|
| 3 NAT gateways in dev | ~$100 + data transfer | Add enable_nat_gateway and nat_gateway_count variables |
| Flow logs to CloudWatch (high traffic) | $50-500 at scale | Set bounded retention_in_days, consider S3 destination |
| /16 subnets from IPAM | Wastes IP space | Use /20 or /24, make configurable |
| VPC interface endpoints everywhere | $7.50/endpoint/AZ/month | Toggle with enable_vpc_endpoints, use free gateway endpoints for S3/DynamoDB |
| Infinite CloudWatch log retention | Grows unbounded | Always set explicit retention_in_days |
| EIPs without NAT gateways | $3.60/month each unused | Conditional creation tied to NAT gateway enable flag |
| Cross-AZ data transfer | $0.01/GB | Co-locate when possible, or accept as HA cost |
pricing-reference.md -- AWS resource pricing, inventory categories, and environment variable patternsreport-template.md -- Full output format template for cost review reports