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 khalilbenaz/claude-skills-collection --skill cloud-cost-optimizergit clone --depth 1 https://github.com/khalilbenaz/claude-skills-collectionWrote 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/khalilbenaz/claude-skills-collection/cloud-cost-optimizer)<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/cloud-cost-optimizer"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/cloud-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/khalilbenaz/claude-skills-collection/cloud-cost-optimizer"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/cloud-cost-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00097 | $0.02372 |
| Opus 5.5 | $0.00039 | $0.00949 |
| Sonnet 5.5 | $0.00019 | $0.00474 |
| Haiku 4.5 | $0.00010 | $0.00237 |
Grade A, and why
cloud-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 2mo 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 — 281 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cloud Cost Optimizer
Workflow en 8 étapes
1. Audit initial — inventaire & baseline
Collecte le coût mensuel réel par ressource avant toute action.
AWS
# Export Cost Explorer par service (derniers 30 jours)
aws ce get-cost-and-usage \
--time-period Start=2026-05-24,End=2026-06-24 \
--granularity MONTHLY \
--metrics BlendedCost \
--group-by Type=DIMENSION,Key=SERVICE \
--output table
Azure
# Résumé de facturation par groupe de ressources
az consumption usage list \
--start-date 2026-05-24 --end-date 2026-06-24 \
--query "[].{Resource:instanceName, Cost:pretaxCost, Currency:currency}" \
--output table
GCP
# Export vers BigQuery (recommandé) — requête sur le dataset billing
bq query --use_legacy_sql=false '
SELECT service.description, SUM(cost) AS total_cost
FROM `PROJECT.DATASET.gcp_billing_export_v1_*`
WHERE _PARTITIONTIME BETWEEN "2026-05-24" AND "2026-06-24"
GROUP BY 1 ORDER BY 2 DESC LIMIT 20'
Critère de déclenchement : si une ressource représente > 5 % de la facture totale, elle mérite une analyse dédiée.
2. Identifier les ressources sous-utilisées (idle / oversized)
Critères d'alerte :
| Signal | Seuil | Action |
|---|---|---|
| CPU moyen sur 14 j | < 10 % | Downsize ou arrêt |
| Mémoire utilisée | < 20 % | Downsize |
| Volume EBS/Disk non attaché | > 7 j | Snapshot + suppression |
| IP publique non associée | toute durée | Libérer |
| DB connections actives | 0 sur 7 j | Arrêt planifié |
AWS — lister les EBS volumes détachés
aws ec2 describe-volumes \
--filters Name=status,Values=available \
--query "Volumes[*].{ID:VolumeId, Size:Size, Type:VolumeType}" \
--output table
Azure — VMs avec CPU < 10 % (Advisor)
az advisor recommendation list \
--category Cost \
--query "[?shortDescription.problem=='Right-size or shutdown underutilized virtual machines']" \
--output table
3. Right-sizing
Utiliser les recommandations natives avant de choisir manuellement.
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.
- 2mo ago First seen · 281 lines · 97 tokens per session scan A 6131776203e4
cloud-cost-optimizer is a skill published in the GitHub repository khalilbenaz/claude-skills-collection (27 stars, last pushed 3mo ago), licensed MIT. It adds 97 tokens to every session and 2,372 once invoked, about $0.0004 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-09-03.
cloud-cost-optimizer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cloud-cost-optimizerkhalilbenaz/claude-skills-collection | Skill | 27 | 3mo ago | MIT | A | 97 | Claude Code, Codex |
| compute-resellaeonfun/aeon | Skill | 800 | yesterday | MIT | B | 83 | Claude Code, Codex |
| cost-optimizationrampstackco/claude-skills | Skill | 1.1k | 14d ago | MIT | A | 101 | Claude Code |
| docker-devopssoftspark/ai-toolkit | Skill | 180 | 12d ago | Apache-2.0 | A | 43 | Claude Code |
| rollbacksoftspark/ai-toolkit | Skill | 180 | 12d ago | Apache-2.0 | A | 39 | Claude Code |
| healthsoftspark/ai-toolkit | Skill | 180 | 12d ago | Apache-2.0 | A | 37 | Claude Code |
| forge-costtonone-ai/tonone | Skill | 84 | 2d ago | MIT | A | 58 | Claude Code |