Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add infraspecdev/tesseract --skill terraform-cost-reviewgit clone --depth 1 https://github.com/infraspecdev/tesseractWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/infraspecdev/tesseract/terraform-cost-review)<a href="https://agentmods.dev/skills/infraspecdev/tesseract/terraform-cost-review"><img src="https://agentmods.dev/badge/skills/infraspecdev/tesseract/terraform-cost-review/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/infraspecdev/tesseract/terraform-cost-review"><img src="https://agentmods.dev/badge/skills/infraspecdev/tesseract/terraform-cost-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.00652 |
| Opus 5.5 | $0.00013 | $0.00261 |
| Sonnet 5.5 | $0.00006 | $0.00130 |
| Haiku 4.5 | $0.00003 | $0.00065 |
Grade A, and why
terraform-cost-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Terraform Cost Review
Overview
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.
When to Use
- Reviewing a new Terraform component before deployment
- Evaluating existing components for cost optimization
- Planning environment-specific variable overrides in Atmos stacks
- After receiving a surprisingly high AWS bill
- During FinOps review of infrastructure components
When NOT to Use
- Pure application code changes with no infrastructure impact
- Reviewing Atmos stack YAML without underlying component changes
- Terraform modules that don't create AWS resources (e.g., label/naming modules)
- When the user explicitly asks for a security or compliance review only
Cost Analysis Process
Step 1: Resource Inventory
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.
Step 2: Configuration Analysis
For each cost-driving resource, check:
- Toggleability -- Is there an
enable_*variable to disable in dev? - Sizing -- Are instance types, CIDR sizes, counts configurable via variables?
- Scaling -- Can counts be reduced (AZs, replicas, NAT gateways)?
- Retention -- Are log retention periods configurable and bounded?
- Tier selection -- Are storage classes, instance families configurable?
- Data transfer -- Are there unnecessary cross-AZ or cross-region transfers?
Step 3: Environment-Specific Recommendations
For each variable that affects cost, recommend values for dev, staging, and production. See pricing-reference.md for common variable patterns.
Common Cost Traps
| 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 |
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 64 lines · 32 tokens per session scan A 68b46c504bce
terraform-cost-review is a skill published in the GitHub repository infraspecdev/tesseract (6 stars, last pushed 5mo ago), licensed MIT. It adds 32 tokens to every session and 652 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
terraform-cost-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| terraform-cost-reviewinfraspecdev/tesseract | Skill | 6 | 5mo ago | MIT | A | 32 | Claude Code |
| aws-cost-cleanupsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 15 | Claude Code |
| aws-cost-operationssickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 44 | Claude Code |
| estimating-aws-workload-costsaws/agent-toolkit-for-aws | Skill | 3.7k | today | Apache-2.0 | A | 173 | Claude Code, Codex |
| azure-computemicrosoft/skills | Skill | 3.3k | today | MIT | A | 154 | Claude Code |
| cost-estimationmicrosoft/skills | Skill | 3.3k | today | MIT | A | 97 | Claude Code |
| cost-optimizationmicrosoft/skills | Skill | 3.3k | today | MIT | A | 98 | Claude Code |