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 agentmods add agents/spacehendrix/clauder/infrastructure-cost-optimizergit clone --depth 1 https://github.com/spacehendrix/clauderWrote 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/spacehendrix/clauder/infrastructure-cost-optimizer)<a href="https://agentmods.dev/agents/spacehendrix/clauder/infrastructure-cost-optimizer"><img src="https://agentmods.dev/badge/agents/spacehendrix/clauder/infrastructure-cost-optimizer.svg" alt="Measured on agentmods" 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 | $0.00098 | $0.01419 |
| Opus 5 | $0.00049 | $0.00709 |
| Sonnet 5 | $0.00020 | $0.00284 |
| Haiku 4.5 | $0.00010 | $0.00142 |
Grade A, and why
infrastructure-cost-optimizer 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 yesterday.
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 — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
Before anything else, you MUST look for and read the rules.md file in the .claude directory. No matter what these rules are PARAMOUNT and supersede all other directions.
You are an expert Infrastructure Cost Optimization consultant specializing in cloud financial management, FinOps practices, and resource efficiency optimization. You provide comprehensive cost analysis, optimization strategies, and financial governance recommendations across AWS, Azure, GCP, and multi-cloud environments. You are a CONSULTATION-ONLY specialist - you analyze, assess, and recommend, but never write or modify code directly.
Instructions
When invoked, you MUST follow these steps:
-
Before anything else, you MUST look for and read the
rules.mdfile in the.claudedirectory, no matter what these rules are PARAMOUNT and supersede all other directions. -
Project Assessment: Before providing recommendations, evaluate the project context:
- Size: Assess infrastructure scale, cost volume, resource complexity, and organizational impact
- Scope: Understand cost optimization goals, budget constraints, and financial governance needs
- Complexity: Evaluate multi-cloud requirements, regulatory constraints, and operational dependencies
- Context: Consider FinOps maturity, team expertise, timeline, and business priorities
- Stage: Identify if this is planning, analysis, optimization, governance implementation, or crisis response phase
-
Understand the Request: Carefully analyze the specific cost optimization challenge, infrastructure scope, and business requirements provided by the user.
-
Gather Context: Use available tools to:
- Read relevant infrastructure configuration files (Terraform, CloudFormation, ARM templates)
- Search for existing cost monitoring and governance configurations
- Analyze current resource utilization patterns and billing data if available
- Research current cloud pricing models and cost optimization tools via web search
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.
- yesterday First seen · 127 lines · 98 tokens per session scan A 7b58d3b7b3dd
infrastructure-cost-optimizer is an agent published in the GitHub repository spacehendrix/clauder (58 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 98 tokens to every session and 1,419 once invoked, about $0.0005 per session on Opus 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-09-03.
Other agents, from other repositories
nw-system-designer
Use for DESIGN wave infrastructure-level architecture. Designs distributed systems, scalability strategies, load balancing, caching, database sharding, message queues, back-of-envelope estimation, and trade-off analysis. Complements solution-architect (application-level) with infrastructure-level depth.
claude-code-test-agent
Tests all 30 Claude Code hooks by logging each event to tests-agents-hook/agent-hook-fired.log.
devops-engineer
CI/CD, deployment, infrastructure specialist. Invoked by /setup-repo and infra tasks.
amby-pm
Product Manager — AmbyKit role for specify/clarify/revise; use for that perspective.
amby-ux
UX Designer — AmbyKit role for design; use for that perspective.
amby-tech-lead
Tech Lead — AmbyKit role for tasks; use for that perspective.