cost-optimization

cost-optimization is a skill for Claude Code, Codex from aryaminus/controlkeel. It costs 33 tokens per session (450 once invoked), scanned A, original, no licence file.

A guide for keeping an agent session within a set spending limit. It helps plan work before long tasks or bulk processing.

In plain words
What is it for?
Use it before expensive agent work, bulk processing, or any task where budget pressure matters.
Why use it?
It reduces the risk that a long-running task or large batch uses more resources than intended and forces a change of plan.

Skill for Claude CodeCodex

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.

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

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/aryaminus/controlkeel/cost-optimization.svg)](https://agentmods.dev/skills/aryaminus/controlkeel/cost-optimization)
Your own site
<a href="https://agentmods.dev/skills/aryaminus/controlkeel/cost-optimization"><img src="https://agentmods.dev/badge/skills/aryaminus/controlkeel/cost-optimization.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 450 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00033 $0.00450
Opus 5 $0.00016 $0.00225
Sonnet 5 $0.00007 $0.00090
Haiku 4.5 $0.00003 $0.00045

Measured 5d ago against content hash 387c889e4712, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

priv/skills/cost-optimization/SKILL.md · 61 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 61 lines · 33 tokens per session scan A 387c889e4712

Subscribe to this mod's changes

cost-optimization is a skill published in the GitHub repository aryaminus/controlkeel (11 stars, last pushed today), with no licence file. It adds 33 tokens to every session and 450 once invoked, about $0.0002 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

hr-payroll

Help HR operations specialists, payroll administrators, and compensation teams understand, design, and run payroll processing, compliance, and payroll-related HR operations. Use when asked to set up a payroll process, run a payroll compliance audit, design a payroll calendar, handle a payroll discrepancy, build a…

tuanductran/hr-skills · 88 tokens

hr-people-budgeting

Help HR leaders and people finance partners own the people budget — headcount cost-center modeling, budget planning cycles, and variance tracking. Use when asked to build the people budget, model headcount by cost center, explain budget variance to finance, plan the HR budget for next fiscal year, or reconcile actual…

tuanductran/hr-skills · 72 tokens

hr-retirement-benefits

Help compensation and benefits teams design, communicate, and administer retirement and pension benefits. Use when asked to design our retirement benefit offering, explain 401(k)/pension options to employees, compare retirement plan providers, communicate a retirement plan change, or help an employee understand their…

tuanductran/hr-skills · 63 tokens

hr-salary-benchmarking

Help compensation teams and HR leaders benchmark pay against the external market to set competitive, defensible salary ranges. Use when asked to benchmark salaries for [role], compare our pay against market data, build salary ranges from market data, assess whether we're paying competitively, or choose salary survey…

tuanductran/hr-skills · 66 tokens

CronusCapital

Cronus is an autonomous, self-sustaining market-intelligence agent on the Arc network. It reasons over live market data with a real LLM, sells its signals via x402, spends on upstream data, settles on-chain in native USDC, and reports its own P&L - all non-custodially (it never holds your private key).

Artem1981777/CronusCapital · 0 tokens

ai-safe2-secure-build-copilot

Apply AI SAFE2 v3.0 to security architecture reviews, code reviews, compliance mapping, and governance decisions for AI agents, multi-agent systems, RAG pipelines, MCP servers, tool-calling workflows, and AI-enabled automations. Use when the task involves agent autonomy classification, HEAR or CP.9 governance, prompt…

CyberStrategyInstitute/ai-safe2-framework · 137 tokens