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 jiushiwon/wg-skills --skill kafka-guide-skillgit clone --depth 1 https://github.com/jiushiwon/wg-skillsWrote 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/jiushiwon/wg-skills/kafka-guide-skill)<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.
<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>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.00141 | $0.03277 |
| Opus 5.5 | $0.00056 | $0.01311 |
| Sonnet 5.5 | $0.00028 | $0.00655 |
| Haiku 4.5 | $0.00014 | $0.00328 |
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.
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());
}
}
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.
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.
- 26d ago First seen · 493 lines · 141 tokens per session scan A 5d2c13e6b4fa
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.
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.
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.
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…
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.
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…
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.