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 eddiebelaval/squire --skill cost-optimizergit clone --depth 1 https://github.com/eddiebelaval/squireWrote 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/eddiebelaval/squire/cost-optimizer)<a href="https://agentmods.dev/skills/eddiebelaval/squire/cost-optimizer"><img src="https://agentmods.dev/badge/skills/eddiebelaval/squire/cost-optimizer/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/eddiebelaval/squire/cost-optimizer"><img src="https://agentmods.dev/badge/skills/eddiebelaval/squire/cost-optimizer.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.00016 | $0.00315 |
| Opus 5 | $0.00008 | $0.00158 |
| Sonnet 5 | $0.00003 | $0.00063 |
| Haiku 4.5 | $0.00002 | $0.00032 |
Grade A, and why
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 7d 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.
What it actually says
Cost Optimizer
Analyze spending patterns and identify opportunities to reduce costs without sacrificing quality or performance. Turn expense data into actionable savings strategies.
Core Workflows
Workflow 1: Spend Analysis
- Gather Data - Collect all expense data
- Categorize - Group spending by type and vendor
- Trend Analysis - Identify patterns over time
- Benchmark - Compare to industry standards
- Identify Opportunities - Flag areas for reduction
Workflow 2: Vendor Optimization
- Vendor Review - Audit current vendor relationships
- Price Comparison - Research alternative options
- Consolidation - Identify vendor consolidation opportunities
- Renegotiation - Prepare for contract renegotiation
- Track Savings - Monitor realized savings
Quick Reference
| Action | Command |
|---|---|
| Analyze costs | "Analyze spending for [period]" |
| Find savings | "Identify cost reduction opportunities" |
| Vendor review | "Review vendor [name] spending" |
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.
- 7d ago First seen · 46 lines · 16 tokens per session scan A 5d5db704983a
Cost Optimizer is a skill published in the GitHub repository eddiebelaval/squire (21 stars, last pushed 25d ago), licensed MIT. It adds 16 tokens to every session and 315 once invoked, about $0.0001 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 skills, from other repositories
Cost Optimizer
Analyze spending patterns and identify opportunities to reduce costs without sacrificing quality.
business-case
Business case analysis with ROI, NPV, IRR, payback period, and TCO calculations for investment decisions. Use when building financial justification, cost-benefit analysis, build-vs-buy comparisons, or sensitivity analysis.
smart-order-router
Intelligent order routing to get best execution across multiple exchanges.
finops-expert
Expert-level cloud financial operations, cost optimization, and cloud economics. Use when the user mentions cloud cost, optimization, cloud economics, or AWS cost, or when the task involves FinOps Fundamentals, Cost Management, FinOps Practices, or Cost Visibility.
data-cost-optimization
Use this skill when asked about data cost optimization, Snowflake cost management, BigQuery slot management, S3 storage tiering, warehouse cost optimization, FinOps for data, cloud data cost reduction, or query cost analysis. This skill enforces: Snowflake credit usage analysis with query optimization, BigQuery slot…
cost-analytics
Tracks token usage and API costs across all providers.