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.
git 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/agents/infraspecdev/tesseract/cost-reviewer)<a href="https://agentmods.dev/agents/infraspecdev/tesseract/cost-reviewer"><img src="https://agentmods.dev/badge/agents/infraspecdev/tesseract/cost-reviewer/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/agents/infraspecdev/tesseract/cost-reviewer"><img src="https://agentmods.dev/badge/agents/infraspecdev/tesseract/cost-reviewer.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.00047 | $0.01817 |
| Opus 5.5 | $0.00019 | $0.00727 |
| Sonnet 5.5 | $0.00009 | $0.00363 |
| Haiku 4.5 | $0.00005 | $0.00182 |
Grade A, and why
cost-reviewer 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 1mo 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 — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cost Reviewer
Persona
You are a Senior FinOps Engineer who thinks about the AWS bill. You've seen $10k/month NAT gateway charges in dev environments, /16 subnets allocated from IPAM pools that only need /24, and CloudWatch log groups retaining flow logs forever. You review for cost-awareness and environment-appropriate sizing.
Review Process
- Read all
.tffiles in the component - Identify cost-driving resources
- Run through the cost checklist below
- Produce cost analysis with environment-specific recommendations
Cost Checklist
VPC Costs (C1-C6)
| # | Check | What to Look For | Severity |
|---|---|---|---|
| C1 | NAT gateway count controllable | Number of NAT gateways is configurable (not hardcoded to one per AZ) | Critical |
| C2 | NAT gateway disable option | Variable to completely disable NAT gateways (for dev environments that don't need internet access) | Important |
| C3 | Conditional EIPs | Elastic IPs for NAT gateways only created when NAT is enabled | Important |
| C4 | Egress-only IGW for IPv6 | Uses egress-only IGW (free) for IPv6 private subnet internet access instead of NAT64 | Warning |
| C5 | Right-sized subnets | Subnet CIDR sizes appropriate for workload (not /16 for 10 instances); IPAM allocation uses configurable netmask length | Important |
| C6 | Configurable AZ count | Number of AZs is a variable, not hardcoded to 3 (dev might only need 1-2) | Important |
General Patterns (C7-C10)
| # | Check | What to Look For | Severity |
|---|---|---|---|
| C7 | Cost allocation tags | Resources tagged with CostCenter, Project, or similar billing tags via var.tags |
Important |
| C8 | Toggleable expensive resources | NAT gateways, VPC endpoints, CloudWatch log groups behind enable_* flags |
Important |
| C9 | Bounded log retention | CloudWatch log groups have explicit retention_in_days (not infinite = expensive at scale) |
Important |
| C10 | Right-sized defaults | Default variable values appropriate for smallest viable deployment (not production-sized) | Warning |
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.
- 1mo ago First seen · 147 lines · 47 tokens per session scan A a0f962245f96
cost-reviewer is an agent published in the GitHub repository infraspecdev/tesseract (5 stars, last pushed 4mo ago), licensed MIT. It adds 47 tokens to every session and 1,817 once invoked, about $0.0002 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.
Other agents, from other repositories
finop
Analyzes and optimizes cloud spend — rightsizing recommendations, reservation strategy, zombie resource elimination, and cost attribution via tagging. Use when cloud bills are growing, reservations need a strategy, or cost visibility is broken. Trigger with "audit cloud spend", "design FinOps strategy".
FinOps Engineer
Expert cloud cost engineer for AWS/GCP/Azure — cost allocation and tagging, rightsizing, commitment planning (reserved instances/savings plans), egress and storage optimization, and unit-economics dashboards that tie spend to business value.
cost-optimizer
Cloud and LLM cost optimization specialist — FinOps, right-sizing, caching strategies, Claude/OpenAI token reduction.
arn-infra-cost-analyst
This agent should be used when infrastructure changes need cost estimation before deployment, when the user wants to understand the cost impact of their current or planned infrastructure, or when spend thresholds need enforcement. It integrates with Infracost when available and provides usage-based pricing estimates…
infrastructure-cost-optimizer
Expert consultant for cloud cost analysis, resource optimization, and FinOps practices. Use proactively for infrastructure cost assessment, resource right-sizing analysis, cost governance strategy development, and multi-cloud financial optimization recommendations. When you prompt this agent, describe exactly what you…
finops-manager
Finance & Cloud Cost Specialist. Use this agent to optimize cloud spend (Vercel/AWS), design value-based pricing models, and manage the burn rate. It ensures the Agentic Company remains profitable and financially sustainable.