cost-optimization

cost-optimization is a skill for Claude Code, Codex from zllovesuki/cloudflare-agent-skills. It costs 60 tokens per session (675 once invoked), scanned A, original, no licence file.

A design and review skill for reducing costs on Cloudflare's developer services, such as Workers, databases, storage, queues, and AI.

In plain words
What is it for?
It is for reviewing costs involving CPU time, database operations, key-value access, storage, network transfer, Durable Objects, Queues, Workflows, and Workers AI tokens.
Why use it?
It helps identify which parts of a Cloudflare system may drive the bill and compare architectural trade-offs before or during production use.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit It is for reviewing costs involving CPU time, database operations, key-value access, storage, network transfer, Durable Objects, Queues, Workflows, and Workers AI tokens.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zllovesuki/cloudflare-agent-skills/cost-optimization
Install

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.

Any agent
npx skills add zllovesuki/cloudflare-agent-skills --skill cost-optimization
Clone the repo
git clone --depth 1 https://github.com/zllovesuki/cloudflare-agent-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for cost-optimization

README.md
[![agentmods](https://agentmods.dev/badge/skills/zllovesuki/cloudflare-agent-skills/cost-optimization.svg)](https://agentmods.dev/skills/zllovesuki/cloudflare-agent-skills/cost-optimization)
Your own site
<a href="https://agentmods.dev/skills/zllovesuki/cloudflare-agent-skills/cost-optimization"><img src="https://agentmods.dev/badge/skills/zllovesuki/cloudflare-agent-skills/cost-optimization.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 675 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.00675
Opus 5 $0.00030 $0.00338
Sonnet 5 $0.00012 $0.00135
Haiku 4.5 $0.00006 $0.00068

Measured 8d ago against content hash 7423c74702fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

cost-optimization 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 8d 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.

skills/cost-optimization/SKILL.md · 82 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

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.

  1. 8d ago First seen · 82 lines · 60 tokens per session scan A 7423c74702fe

Subscribe to this mod's changes

cost-optimization is a skill published in the GitHub repository zllovesuki/cloudflare-agent-skills (9 stars, last pushed 4mo ago), with no licence file. It adds 60 tokens to every session and 675 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

aws-cost-cleanup

Automated cleanup of unused AWS resources to reduce costs.

sickn33/agentic-awesome-skills · 15 tokens

aws-cost-operations

AWS cost optimization, monitoring, and operational excellence expert. Use when analyzing AWS bills, estimating costs, setting up CloudWatch alarms, querying logs, auditing CloudTrail activity, or assessing security posture.

sickn33/agentic-awesome-skills · 44 tokens

azure-compute

Azure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compare VM pricing, VMSS, scale set, autoscale, burstable, lightweight server, website, backend, GPU, machine learning, HPC simulation, dev/test, workload, family, load balancer, Flexible orchestration, Uniform orchestration, cost…

microsoft/skills · 154 tokens

azure-cost

Azure cost management: query costs, forecast spending, optimize to reduce waste. WHEN: "Azure costs", "Azure bill", "cost breakdown", "how much am I spending", "forecast spending", "optimize costs", "reduce spending", "orphaned resources", "rightsize VMs", "cost spike", "reduce storage costs", "AKS cost". DO NOT USE…

microsoft/skills · 94 tokens

cost-optimization

Audit and reduce infrastructure and tooling costs without sacrificing reliability or velocity. Use this skill when reviewing monthly cloud or SaaS spend, finding unused resources, rightsizing infrastructure, negotiating vendor contracts, deciding what to consolidate, or planning for budget cuts. Triggers on cost…

rampstackco/claude-skills · 101 tokens

database-cloud-optimization-cost-optimize

You are a cloud cost optimization expert specializing in reducing infrastructure expenses while maintaining performance and reliability. Analyze cloud spending, identify savings opportunities, and implement cost-effective architectures across AWS, Azure, and GCP.

rmyndharis/antigravity-skills · 48 tokens