infra-kafka-cost-optimizer

infra-kafka-cost-optimizer is a skill for Claude Code, Codex from ivanshamaev/de-agent-skills. It costs 94 tokens per session (3,266 once invoked), scanned A, original, no licence file.

A guide for reducing the cost of Apache Kafka, a system that stores and distributes streams of events. It covers storage tiers, topic retention, log compaction, partitions, consumers, and broker sizing.

In plain words
What is it for?
Use it to review retention settings, compare local and remote storage, assess compaction, detect over-partitioned topics, remove idle consumers, and size brokers.
Why use it?
It helps find wasted storage and computing capacity caused by long retention, too many partitions, unused consumer groups, or oversized brokers.

Skill for Claude CodeCodex

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

Good fit Use it to review retention settings, compare local and remote storage, assess compaction, detect over-partitioned topics, remove idle consumers, and size brokers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ivanshamaev/de-agent-skills/infra_kafka_cost_optimizer
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 ivanshamaev/de-agent-skills --skill infra_kafka_cost_optimizer
Clone the repo
git clone --depth 1 https://github.com/ivanshamaev/de-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 infra-kafka-cost-optimizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/ivanshamaev/de-agent-skills/infra_kafka_cost_optimizer/github.svg)](https://agentmods.dev/skills/ivanshamaev/de-agent-skills/infra_kafka_cost_optimizer)
Your own site
<a href="https://agentmods.dev/skills/ivanshamaev/de-agent-skills/infra_kafka_cost_optimizer"><img src="https://agentmods.dev/badge/skills/ivanshamaev/de-agent-skills/infra_kafka_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.

agentmods 80×15 button for infra-kafka-cost-optimizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/ivanshamaev/de-agent-skills/infra_kafka_cost_optimizer"><img src="https://agentmods.dev/badge/skills/ivanshamaev/de-agent-skills/infra_kafka_cost_optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,266 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00094 $0.03266
Opus 5 $0.00047 $0.01633
Sonnet 5 $0.00019 $0.00653
Haiku 4.5 $0.00009 $0.00327

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

Security

Grade A, and why

infra-kafka-cost-optimizer scanned grade A with 1 finding 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 12d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

topics_raw = subprocess.run(
group_skills/infra_dataops_group_skills/infra_kafka_cost_optimizer/SKILL.md · 345 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. 12d ago First seen · 345 lines · 94 tokens per session scan A 8f49746e0c27

Subscribe to this mod's changes

infra-kafka-cost-optimizer is a skill published in the GitHub repository ivanshamaev/de-agent-skills (18 stars, last pushed 3mo ago), with no licence file. It adds 94 tokens to every session and 3,266 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

multi-voice-dubbing

A script-to-audio workflow that gives different characters different voices and emotions, then combines their lines into one audio track with subtitles naming each speaker.

ZJU-REAL/Easel · 111 tokens

skill-news-intelligence

A daily industry-news research workflow that gathers in-depth articles and updates from Chinese technology, business, creator, and AI publications. It filters the results by a creator’s field and turns them into a brief with possible content topics.

ZJU-REAL/Easel · 104 tokens

skill-topic-evaluator

A topic-evaluation tool that scores one proposed content idea across audience interest, account fit, competition, timing, revenue potential, effort, and compliance risk.

ZJU-REAL/Easel · 173 tokens

style-transfer

A rewriting tool that changes the style of existing copy while keeping its main meaning. It can make text more humorous, conversational, literary, professional, sharp, or suited to social media.

ZJU-REAL/Easel · 167 tokens

offer-compare-skill

A decision assistant for comparing two or more job offers across pay, growth, company strength, team risk, promotion, AI exposure, and lifestyle. Total compensation means the combined value of salary, bonuses, shares, and sign-on payments.

yanliudesign/offer-toolkit-skill · 231 tokens

karpathy-llm-wiki

Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'.

Astro-Han/karpathy-llm-wiki · 67 tokens