kafka-guide-skill

kafka-guide-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 141 tokens per session (3,277 once invoked), scanned A, original, Apache-2.0.

A learning and design guide for Apache Kafka, a system that moves streams of messages between applications. It covers Kafka concepts, installation, producers, consumers, reliability, ordering, and choosing suitable business uses.

In plain words
What is it for?
Use it to learn Kafka, compare it with other message queues, plan producers and consumers, and choose settings for reliable or ordered messages.
Why use it?
It helps developers understand whether Kafka fits their system and how its message delivery model works before adding it. It also separates general Kafka decisions from framework-specific integration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to learn Kafka, compare it with other message queues, plan producers and consumers, and choose settings for reliable or ordered messages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiushiwon/wg-skills/kafka-guide-skill
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 jiushiwon/wg-skills --skill kafka-guide-skill
Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-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 kafka-guide-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiushiwon/wg-skills/kafka-guide-skill/github.svg)](https://agentmods.dev/skills/jiushiwon/wg-skills/kafka-guide-skill)
Your own site
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/kafka-guide-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/kafka-guide-skill/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 kafka-guide-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/kafka-guide-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/kafka-guide-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 141 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,277 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 original 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.00141 $0.03277
Opus 5.5 $0.00056 $0.01311
Sonnet 5.5 $0.00028 $0.00655
Haiku 4.5 $0.00014 $0.00328

Measured 26d ago against content hash 5d2c13e6b4fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kafka-guide-skill 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 26d 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.

vibeCoding/backend/database/kafka-guide-skill/SKILL.md · 493 lines

How it starts

The opening of the file, as written. The whole thing — 493 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Kafka Module Skill

面向已有后端项目的开发者,快速集成 Kafka 消息队列能力。

能力清单

能力 说明
连接配置 Producer/Consumer 配置
生产者 同步/异步发送、批量发送
消费者 拉取/订阅、消费者组
消息可靠性 ACK、事务、重试
消息顺序 分区策略、顺序消费
延迟队列 Redis ZSet 实现(推荐)

触发场景

用户说"帮我加 Kafka"或"集成 Kafka"时触发。

核心配置

Java (Spring Boot + Kafka)

# application.yml
spring:
  kafka:
    bootstrap-servers: ${KAFKA_SERVERS:localhost:9092}
    producer:
      key-serializer: org.apache.kafka.common.serialization.StringSerializer
      value-serializer: org.springframework.kafka.support.serializer.JsonSerializer
      acks: all
      retries: 3
      batch-size: 16384
      buffer-memory: 33554432
      properties:
        linger.ms: 1
        max.in.flight.requests.per.connection: 5
    consumer:
      key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
      value-deserializer: org.springframework.kafka.support.serializer.JsonDeserializer
      group-id: ${KAFKA_GROUP_ID:my-group}
      auto-offset-reset: earliest
      enable-auto-commit: false
      properties:
        max.poll.records: 500
        fetch.min.bytes: 1
        max.poll.interval.ms: 300000
// KafkaConfig.java
@Configuration
public class KafkaConfig {
    @Value("${spring.kafka.bootstrap-servers}")
    private String bootstrapServers;

    @Bean
    public ProducerFactory<String, Object> producerFactory() {
        Map<String, Object> configProps = new HashMap<>();
        configProps.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers);
        configProps.put(ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG, StringSerializer.class);
        configProps.put(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG, JsonSerializer.class);
        configProps.put(ProducerConfig.ACKS_CONFIG, "all");
        configProps.put(ProducerConfig.RETRIES_CONFIG, 3);
        return new DefaultKafkaProducerFactory<>(configProps);
    }

    @Bean
    public KafkaTemplate<String, Object> kafkaTemplate() {
        return new KafkaTemplate<>(producerFactory());
    }
}

Read the full file on GitHub · 493 lines

Files

What ships with it

4 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. 26d ago First seen · 493 lines · 141 tokens per session scan A 5d2c13e6b4fa

Subscribe to this mod's changes

kafka-guide-skill is a skill published in the GitHub repository jiushiwon/wg-skills (121 stars, last pushed yesterday), licensed Apache-2.0. It adds 141 tokens to every session and 3,277 once invoked, about $0.0006 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-30.

Related

Other skills, from other repositories

api-onboarding

Reduce time-to-first-API-call (TTFAC) by optimizing every step of the developer onboarding journey. This skill covers authentication simplification, sandbox environments, interactive documentation, and identifying and eliminating common failure points.

sickn33/agentic-awesome-skills · 46 tokens

system-design-case-catalog

Answer classic system design problems as constraint-to-solution sketches and coach interview practice: URL shortener, rate limiter, news feed, chat, notification, autocomplete, crawler, unique id. Use for interview practice or naming the closest known shape for a new problem.

HoangNguyen0403/agent-skills-standard · 58 tokens

frontmcp-guides

Tutorials, end-to-end walkthroughs, and complete reference projects for FrontMCP. Use when you want a getting-started guide, a full worked example, or to learn best practices by following a step-by-step build rather than a single API reference. Includes a beginner weather-API server (tool plus static resource, Zod…

agentfront/frontmcp · 157 tokens

twitter-interviewer

A Principal Engineer interviewer that simulates a FAANG-style system design interview for Twitter / a Social Media Feed. Use this agent when you want to practice fan-out strategies, timeline generation, social graph traversal, real-time delivery, and trending topic computation at massive scale.

PrepLabsAI/InterviewMentor · 57 tokens

api-design-interviewer

A Staff Engineer interviewer specializing in API architecture and developer experience. Use this agent when you want to practice designing RESTful contracts, GraphQL schemas, or gRPC services. It will challenge you on pagination, idempotency, versioning, and API Gateway patterns to ensure your APIs are both scalable…

PrepLabsAI/InterviewMentor · 71 tokens

rate-limiter-interviewer

A Staff Infrastructure Engineer interviewer. Use this agent to practice designing API Gateways and Rate Limiters. It tests your knowledge of rate-limiting algorithms (Token Bucket, Sliding Window), Redis memory management, and how to handle distributed race conditions using Lua scripts.

PrepLabsAI/InterviewMentor · 58 tokens