data-eng-streaming-patterns

data-eng-streaming-patterns is a skill for Claude Code, Codex from justanesta/claude-code-resources. It costs 68 tokens per session (2,270 once invoked), scanned A, original, MIT.

A set of design patterns for streaming data systems, which process events continuously as they arrive. It covers Kafka pipelines, change-data capture, event sourcing, and stream processors such as Flink and Kafka Streams.

In plain words
What is it for?
Use it when building event-driven systems or real-time pipelines, especially for delivery guarantees, backpressure, dead-letter queues, offset management, schema evolution, and idempotent processing.
Why use it?
Streaming systems must handle replays, slow consumers, duplicate delivery, failed messages, and changing data formats. These patterns explain how to preserve data and keep processing reliable under those conditions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it when building event-driven systems or real-time pipelines, especially for delivery guarantees, backpressure, dead-letter queues, offset management, schema evolution, and idempotent processing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/justanesta/claude-code-resources/data-eng-streaming-patterns
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 justanesta/claude-code-resources --skill data-eng-streaming-patterns
Clone the repo
git clone --depth 1 https://github.com/justanesta/claude-code-resources

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 data-eng-streaming-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/justanesta/claude-code-resources/data-eng-streaming-patterns/github.svg)](https://agentmods.dev/skills/justanesta/claude-code-resources/data-eng-streaming-patterns)
Your own site
<a href="https://agentmods.dev/skills/justanesta/claude-code-resources/data-eng-streaming-patterns"><img src="https://agentmods.dev/badge/skills/justanesta/claude-code-resources/data-eng-streaming-patterns/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 data-eng-streaming-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/justanesta/claude-code-resources/data-eng-streaming-patterns"><img src="https://agentmods.dev/badge/skills/justanesta/claude-code-resources/data-eng-streaming-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,270 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.00068 $0.02270
Opus 5.5 $0.00027 $0.00908
Sonnet 5.5 $0.00014 $0.00454
Haiku 4.5 $0.00007 $0.00227

Measured 2mo ago against content hash f97ca6477acb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

data-eng-streaming-patterns 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 2mo 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/data_engineering/data-eng-streaming-patterns/SKILL.md · 251 lines

How it starts

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

Streaming Data Patterns

Real-time data processing patterns for event-driven systems and streaming pipelines.

Core Principles

  1. Events are immutable facts -- Never mutate events in-flight; produce corrective events instead.
  2. Design for failure and replay -- Every component must handle reprocessing gracefully through idempotent writes and offset management.
  3. Exactly-once is a system property -- It emerges from idempotent producers, transactional writes, and deterministic processing combined.
  4. Backpressure over data loss -- When consumers fall behind, slow down producers or buffer intelligently rather than dropping messages.
  5. Schema evolution is mandatory -- Plan for backward and forward compatible schema changes from day one using a schema registry.

Apache Kafka Fundamentals

Kafka organizes data into topics split into partitions. Producers write by key for ordering; consumers read in groups for load balancing.

from confluent_kafka import Producer
import json

producer = Producer({
    "bootstrap.servers": "broker1:9092,broker2:9092",
    "enable.idempotence": True,
    "acks": "all",
    "compression.type": "lz4",
})

def produce_clickstream_event(user_id: str, event: dict):
    """Partition by user_id to preserve per-user ordering."""
    producer.produce(
        topic="clickstream-events",
        key=user_id.encode("utf-8"),
        value=json.dumps(event).encode("utf-8"),
        callback=lambda err, msg: logger.error(f"Failed: {err}") if err else None,
    )
    producer.poll(0)

See kafka-patterns.md for:

  • Consumer group configuration and rebalancing strategies
  • Partitioning strategies for high-cardinality keys
  • Exactly-once producer transactions
  • Topic configuration and retention policies

Change Data Capture (CDC) Patterns

CDC captures row-level changes from database transaction logs, avoiding polling overhead.

# Debezium PostgreSQL connector
name: "orders-connector"
config:
  connector.class: "io.debezium.connector.postgresql.PostgresConnector"
  database.hostname: "postgres-primary"
  database.dbname: "inventory"
  table.include.list: "public.orders,public.customers"
  plugin.name: "pgoutput"
  slot.name: "debezium_slot"
  tombstones.on.delete: true
  snapshot.mode: "initial"
  transforms: "route"
  transforms.route.type: "org.apache.kafka.connect.transforms.RegexRouter"
  transforms.route.regex: "([^.]+)\\.([^.]+)\\.([^.]+)"
  transforms.route.replacement: "cdc.$3"

Read the full file on GitHub · 251 lines

Files

What ships with it

6 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. 2mo ago First seen · 251 lines · 68 tokens per session scan A f97ca6477acb

Subscribe to this mod's changes

data-eng-streaming-patterns is a skill published in the GitHub repository justanesta/claude-code-resources (2 stars, last pushed 6mo ago), licensed MIT. It adds 68 tokens to every session and 2,270 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

gemini-api-agent-platform

Guides the usage of the Gemini API on Agent Platform with the Google Gen AI SDK for enterprise AI applications. Covers SDK usage (Python, JS/TS, Go, Java, C#), capabilities like Live API, tools, multimedia generation, caching, and batch prediction.

davila7/claude-code-templates · 61 tokens

open-source

Documentation reference for writing Python code using the browser-use open-source library. Use this skill whenever the user needs help with Agent, Browser, or Tools configuration, is writing code that imports from browseruse, asks about @sandbox deployment, supported LLM models, Actor API, custom tools, lifecycle…

browser-use/browser-use · 137 tokens

prowler-mcp

Creates MCP tools for Prowler MCP Server. Covers BaseTool pattern, tool annotations, model design, error handling and API client usage. Trigger: When working in mcpserver/ on tools (BaseTool), models (MinimalSerializerMixin/fromapiresponse), Hub/Docs tools, or API client patterns.

prowler-cloud/prowler · 67 tokens

gemini-api-dev

Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, speech generation (TTS), voice design, voice replication, streaming responses, background research tasks, function calling, structured output, or migrating from…

google-gemini/gemini-skills · 85 tokens

deepstream-sop

Use this skill when building, deploying, evaluating, debugging, or measuring latency for the DeepStream SOP Inference Microservice — a GPU-accelerated FastAPI service that detects whether operators perform assembly-line steps in order via event boundary detection (GEBD) plus VLM classification. Trigger even if the…

NVIDIA/skills · 219 tokens

azure-search-documents-dotnet

Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search. Covers SearchClient (queries, document CRUD), SearchIndexClient (index management), and SearchIndexerClient (indexers, skillsets). Triggers: "Azure Search .NET"…

microsoft/skills · 102 tokens