Agent skill

Kafka Schema Registry

by Kilo-Org in Kilo-Org/kilo-marketplace

Scan a project to identify Kafka applications, extract schemas from data models, tag PII fields, generate Terraform for Confluent Schema Registry registration, and produce a migration report with…

Apache-2.0Auto-check passedBackend & APIs

Install Kafka Schema Registry

skills CLI
$ npx skills add Kilo-Org/kilo-marketplace --skill kafka-schema-registry -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Kilo-Org/kilo-marketplace kafka-schema-registry --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Kilo-Org/kilo-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/kafka-schema-registry .claude/skills/kafka-schema-registry && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
kafka-schema-registry
GitHub stars
190
Token cost
~2.5k tokens
SKILL.md length
871 words
Files
115 (incl. references)
Skills in repo
86
Repo updated
First seen
Licence
Apache-2.0

At a glance

Scan a project to identify Kafka applications, extract schemas from data models, tag PII fields, generate Terraform for Confluent Schema Registry registration, and produce a migration report with…

  • Works in 8 steps: Initialize → Project Scan & Kafka Detection → Risk Detection → …
  • A user asks to analyze a folder
  • SKILL.md covers When to Use, Deliverables, High-Level Workflow and Migration Rollout by Category, plus 4 more sections
  • Runs Java and Python scripts from its folder

What it does

Kafka Schema Registry is an agent skill from Kilo-Org/kilo-marketplace. Scan a project to identify Kafka applications, extract schemas from data models, tag PII fields, generate Terraform for Confluent Schema Registry registration, and produce a migration report with rollout ordering. Use this skill when a user asks to analyze a folder or repo for Kafka usage, extract schemas, audit producer/consumer configurations, or generate Terraform for Schema Registry.

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 127 other files, including reference files (for example `evals/evals.json` and `evals/mock-repos/acme-services/inventory-service/src/producer.py`).

It sits in Backend & APIs, covering Event-driven systems and Infrastructure as code. It works with Apache Kafka and Terraform. The repository describes itself as: Kilo Marketplace - A curated collection of Skills, MCP Servers, and Modes for enhancing AI agent capabilities across the Kilo ecosystem—including Kilo Code (VS Code extension)… The licence is Apache-2.0.

When your agent uses it

  • A user asks to analyze a folder
  • Repo for Kafka usage
  • Extract schemas
  • Audit producer/consumer configurations

Example prompts

  • “/kafka-schema-registry”

Requirements

  • Python 3

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Initialize
  2. Project Scan & Kafka Detection
  3. Risk Detection
  4. Schema Inference
  5. Categorize Producers
  6. Create Schema Files
  7. Generate Terraform
  8. Generate Report

What it can do on your machine

Read from SKILL.md and the folder at commit ff51758. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Java and Python, from the files we listed), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Kafka Schema Registry loads about 2.5k tokens when it runs, and up to ~16k if it reads all its reference files. Until then it costs about 103 tokens; SKILL.md has 871 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~103
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~16k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Kilo-Org/kilo-marketplace at commit ff51758, republished under its Apache-2.0 licence (© Kilo-Org). 871 words, ~2,485 tokens.

Download SKILL.mdSave it as .claude/skills/kafka-schema-registry/SKILL.md (or your agent's skills folder). This skill also uses 114 other files; get the full folder from GitHub.
name
kafka-schema-registry
description
Scan a project to identify Kafka applications, extract schemas from data models, tag PII fields, generate Terraform for Confluent Schema Registry registration, and produce a migration report with rollout ordering. Use this skill when a user asks to analyze a folder or repo for Kafka usage, extract schemas, audit producer/consumer configurations, or generate Terraform for Schema Registry.
metadata.category
data

Kafka Schema Registry Skill

Scan a project to identify Kafka applications, extract schemas, generate Terraform for Schema Registry registration, and produce a comprehensive analysis report.

When to Use

Invoke this skill when:

  • A user asks to analyze a project for Kafka usage in order to add event schemas or integrate Schema Registry
  • A user wants to extract schemas from Kafka producers
  • A user wants Terraform to register schemas to Schema Registry
  • A user wants to audit Kafka producer/consumer configurations

Deliverables

This skill produces 3 outputs in the target project:

  1. schema-report.md — Full analysis report with findings, risks, and upgrade recommendations
  2. schemas/ — Extracted schema files (Avro, JSON Schema, Protobuf) with PII tagging
  3. terraform/ — Terraform configs using Confluent provider to register schemas
Optional: Code Migration Assistance

If the user asks for their application code to be updated to integrate Schema Registry, use the Code Migration Reference to update the code with proper Schema Registry integration patterns.


High-Level Workflow

Phase 0: Initialize
  • Check for existing schema.yaml and schemas/ directory manually
  • Note any existing schema infrastructure in the report
Phase 1: Project Scan & Kafka Detection
  1. Find build files — Search for pom.xml, build.gradle, requirements.txt, package.json, etc.
  2. Detect Kafka dependencies — Look for spring-kafka, confluent-kafka, kafkajs, etc.
  3. Find producers & consumers — Grep for KafkaTemplate, Producer(, producer.send, etc.
  4. Extract topic names — From string literals, config properties, YAML files
  5. Identify serializers — Find value.serializer, KafkaAvroSerializer, custom serializers
  6. Build app catalog — Compile findings: app name, language, role, topics, serializer, category

Detailed patterns: Detection Patterns Reference

App catalog structure:

yaml
app_name: module name
language: Java | Python | .NET | Go | Node/TS
role: producer | consumer | both
topics: [list of topics]
serializer_class: value.serializer used
custom_serializer: true | false
schema_format: AVRO | JSON | PROTOBUF | UNKNOWN
sr_integrated: true | false
category: A | B | C | D | E  # REQUIRED

Multi-schema topic detection:

  • If multiple data models produce to the same topic, create a wrapper schema with oneOf/union/oneof
  • Generate Terraform with schema_reference blocks
  • Flag prominently in report
Phase 2: Risk Detection

Search for:

  • auto.register.schemas=true — Uncontrolled schema evolution (Category C)
  • use.latest.version — Eases migration when set
  • Custom serializers — Bypass SR entirely (Category E)

Record file path, line number, and affected topics for each occurrence.

Patterns: Detection Patterns Reference

Phase 3: Schema Inference

For each producer:

  1. Check for existing schema files — **/*.avsc, **/*.proto, **/*.schema.json
  2. Infer from data models — Java classes, Pydantic models, TypeScript interfaces, Go structs
  3. Infer from inline data — HashMap, dict literals, map[string]any, plain objects, JSON strings
  4. Convert to schemas — Map language types to JSON Schema / Avro / Protobuf
  5. Tag PII fields — Scan field names for email, ssn, phone, address, etc.

PII tagging: Add confluent:tags (PII, PRIVATE, SENSITIVE, PHI) to detected fields.

Detailed inference patterns: Schema Inference Reference

Phase 4: Categorize Producers

Classify each producer:

CategoryCriteria
A: CompliantConfluent serializer + SR + no auto.register
A→HeaderAlready on SR, migrating to headers
B: Schema in code, no SRData models exist, but no SR integration
C: Auto-registerauto.register.schemas=true
D: No schemaRaw strings/bytes, no data model
E: Custom serializerCustom Serializer<T> or inline serialization without SR

CRITICAL: Use exact phrase "Category X" in:

  • App catalog field
  • Applications Discovered table
  • Report section headers
  • Terraform comments
  • Risk sections

Details: Categorization Reference

Phase 5: Create Schema Files

Directory structure:

schemas/
├── avro/
│   └── {topic}-value.avsc
├── json/
│   └── {topic}-value.json
└── proto/
    └── {topic}-value.proto

File naming: MUST use kebab-case (lowercase with hyphens):

  • Value: {topic}-value.{ext}
  • Key: {topic}-key.{ext}
  • Examples: order-events-value.avsc, user-notifications-value.json

Initialize: Create schema.yaml.

Validate: Call schema_lint(path: schemas/, fix: true) if available.

Show full SKILL.md (354 more words)Show less
Phase 6: Generate Terraform

File structure (MANDATORY separate files):

terraform/
├── providers.tf              # Provider config
├── variables.tf              # Variable definitions
├── tags.tf                   # confluent_tag resources (if PII exists)
├── schemas.tf                # Active schemas (A, B, E)
├── flagged-auto-register.tf  # Category C only (commented out)
├── outputs.tf                # Output values
└── import.sh                 # Import script

CRITICAL:

  • schemas.tf = Categories A, B, E — NOT commented out
  • flagged-auto-register.tf = Category C ONLY — MUST be commented out
  • tags.tf = MUST exist if ANY schema uses confluent:tags
  • Each schema resource MUST have comment block: Topic, App, Source, Category

Templates: Terraform Templates Reference

Phase 7: Generate Report

Create schema-report.md with:

  • Executive Summary (metrics + category breakdown)
  • Applications Discovered table (EXACT format, Category column MANDATORY)
  • RISKS (auto-register, custom serializers)
  • Producer Upgrade Recommendations (per app, with "Category X" in heading)
  • Migration Rollout Ordering (by category)
  • PII Fields Detected
  • Terraform Resources Generated
  • Next Steps checklist

CRITICAL formatting requirements:

  1. Applications Discovered = markdown table, NOT narrative sections
  2. Every app section MUST say "Category X" explicitly
  3. Terraform comment blocks required for every resource

Template: Report Template Reference


Migration Rollout by Category

  • Category B (JSON, no SR): Producers first → consumers
  • Category A→Header (already on SR): Verify consumer versions → producers only
  • Category C (auto-register): Register via Terraform → disable auto-register → producers fetch latest
  • Category E (custom serializers): Consumers first (composite deserializer) → producers

Details: Categorization Reference


Edge Cases

  • Monorepos: Treat each service/module with Kafka deps as separate app
  • Multi-topic producers: Generate one schema resource per topic
  • Shared schemas: One schema file, multiple Terraform resources reference it
  • No topic names: If loaded from env vars, use placeholders with TODO
  • Test code: Skip test directories unless they contain only schema definitions
  • Multiple serializers: Create separate schema files per format

Output Organization

{project_root}/
├── schema-report.md              # Analysis report
├── schemas/
│   ├── schema.yaml               # Schema project config
│   ├── avro/
│   │   └── {topic}-value.avsc
│   ├── json/
│   │   └── {topic}-value.json
│   └── proto/
│       └── {topic}-value.proto
└── terraform/
    ├── providers.tf
    ├── variables.tf
    ├── tags.tf                    # PII/PRIVATE/SENSITIVE tags
    ├── schemas.tf                 # Active schemas (depends_on tags)
    ├── flagged-auto-register.tf   # Commented-out Category C
    ├── outputs.tf
    └── import.sh                  # Import existing schemas

Reference Documentation

  • Detection Patterns — Patterns for finding Kafka apps, dependencies, producers, consumers, serializers
  • Schema Inference — Extract schemas from data models, inline data, PII tagging
  • Categorization — Category definitions, rollout order, client version requirements
  • Terraform Templates — File structure, templates, naming conventions
  • Report Template — Required sections, formatting rules, validation checklist
  • Code Migration — Serializer/deserializer implementation patterns for Python, Java, JavaScript, Go, and .NET

Execution Approach

  1. Use Glob to find build files and schema files
  2. Use Grep for pattern detection (dependencies, producers, serializers, risks)
  3. Use Read to inspect source files and data models
  4. Use Write to create schema files, Terraform configs, and report

No need to use Agent tool — this skill is self-contained and uses direct tool calls.

© Kilo-Org, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 114 other files (references) in skills/kafka-schema-registry of Kilo-Org/kilo-marketplace.

  • SKILL.md
  • LICENSE
  • evals/evals.json
  • evals/mock-repos/acme-services/billing-service/pom.xml
  • evals/mock-repos/acme-services/billing-service/src/main/java/com/acme/billing/Invoice.java
  • evals/mock-repos/acme-services/inventory-service/requirements.txt
  • evals/mock-repos/acme-services/inventory-service/src/producer.py
  • evals/mock-repos/acme-services/reporting-service/src
  • … and 107 more

Open the folder on GitHubat commit ff51758

Compare with similar skills

Kafka Schema Registry next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Kafka Schema Registry compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kafka Schema Registry this skillKilo-Org/kilo-marketplace190—~2.5kAutomated safety check: PassApache-2.0
Msk Operationsaws/tools-for-devops-agent103—~6.6kAutomated safety check: PassApache-2.0
Amazon Elasticacheaws/agent-toolkit-for-aws2.8k—~4.5kAutomated safety check: PassApache-2.0
New Event Sourceaws/aws-lambda-dotnet1.7k—~3kAutomated safety check: PassApache-2.0
Google Cloud Storage Basicsgoogle/skills21k—~2.8kAutomated safety check: PassApache-2.0
Azure Preparemicrosoft/GitHub-Copilot-for-Azure2551 repos~3.2kAutomated safety check: PassMIT

Similar skills

  • Msk Operations

    aws/tools-for-devops-agent

    Official

    Amazon MSK Provisioned operations, troubleshooting, and health assessment for Standard and Express brokers.

    103 GitHub stars~6.6k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Amazon Elasticache

    aws/agent-toolkit-for-aws

    Official

    Activate when developers have latent caching needs: slow API responses, database read bottlenecks, DynamoDB throttling or cost, RDS/Aurora scaling pressure, Bedrock latency or cost, or adding a…

    2.8k GitHub stars~4.5k tokensUpdated today
    Backend & APIsAuto-check passed
  • New Event Source

    aws/aws-lambda-dotnet

    Official

    Add a new AWS event source attribute (e.g., Kinesis, Kafka, MQ) to the Lambda .NET Annotations framework, including the attribute class, source generator integration, CloudFormation writer, unit…

    1.7k GitHub stars~3k tokensUpdated today
    Testing & QAAuto-check passed
  • Official

    Stores, retrieves, and manages data as objects in Cloud Storage on Google Cloud (also known colloquially as GCS) buckets.

    21k GitHub stars~2.8k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Azure Prepare

    microsoft/GitHub-Copilot-for-Azure

    Official

    Prepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Terraform), and Dockerfiles for the Azure Developer CLI (azd) workflow.

    255 GitHub starsUsed in 1 repo~3.2k tokens
    DevOps & CloudAuto-check passed
  • Heroku To AWS

    aws/agent-toolkit-for-aws

    Official

    Migrate workloads from Heroku to AWS. An agent skill from aws/agent-toolkit-for-aws.

    2.8k GitHub stars~7.2k tokensUpdated today
    DevOps & CloudAuto-check passed

More from Kilo-Org/kilo-marketplace

All 86 skills in this repo
  • AzureML Project Scaffolding

    Kilo-Org/kilo-marketplace

    Sets up and maintains AzureML-ready Python projects as uv workspaces with devcontainers, a Makefile and job YAML, so local runs match cloud jobs and experiments stay reproducible.

    190 GitHub stars~3.1k tokensUpdated 11 days ago
    Auto-check: notes
  • Jupyter Notebook Builder

    Kilo-Org/kilo-marketplace

    Creates, inspects, edits and runs Jupyter notebooks, scaffolding experiment or tutorial notebooks from templates and preferring a Jupyter MCP server over raw JSON edits.

    190 GitHub stars~1.3k tokensUpdated 11 days ago
    Auto-check passed
  • Tableau Dashboard Creator

    Kilo-Org/kilo-marketplace

    Takes a plain-language dashboard request through brand setup, data exploration, planning, an interactive HTML mock and a Tableau implementation spec.

    190 GitHub stars~3.8k tokensUpdated 11 days ago
    Auto-check: notes
  • Elasticsearch File Ingest

    Kilo-Org/kilo-marketplace

    Ingest and transform data files (CSV/JSON/Parquet/Arrow IPC) into Elasticsearch with stream processing and custom transforms.

    190 GitHub stars~2.8k tokensUpdated 11 days ago
    Auto-check passed
  • Nifi Flow Layout

    Kilo-Org/kilo-marketplace

    A skill your agent uses when arranging Apache NiFi processors, process groups, ports, comments, numbering, crossing connections, dense fan-in/fan-out, or reusable readable canvas layouts.

    190 GitHub stars~1.5k tokensUpdated 11 days ago
    Auto-check passed
  • Splunk Ingest Processor Setup

    Kilo-Org/kilo-marketplace

    Render Cisco Data Fabric ingest-time routing workflows and Splunk Cloud Platform Ingest Processor setup plans with SPL2 pipelines, source types, destinations, lifecycle handoffs, queue and…

    190 GitHub stars~1.2k tokensUpdated 11 days ago
    Auto-check passed

Questions about Kafka Schema Registry

What does Kafka Schema Registry do?

Scan a project to identify Kafka applications, extract schemas from data models, tag PII fields, generate Terraform for Confluent Schema Registry registration, and produce a migration report with…. Kafka Schema Registry is an agent skill from Kilo-Org/kilo-marketplace. Scan a project to identify Kafka applications, extract schemas from data models, tag PII fields, generate Terraform for Confluent Schema Registry registration, and produce a migration report with rollout ordering.

When should I use Kafka Schema Registry?

Kafka Schema Registry fits situations like: A user asks to analyze a folder; repo for Kafka usage; extract schemas; audit producer/consumer configurations.

How do I install Kafka Schema Registry in Claude Code?

Run `npx skills add Kilo-Org/kilo-marketplace --skill kafka-schema-registry -a claude-code`. Or copy the skill folder (skills/kafka-schema-registry in Kilo-Org/kilo-marketplace) into .claude/skills/kafka-schema-registry in your project. Claude Code loads it when a task matches its description.

How do I install Kafka Schema Registry in Codex?

Run `npx skills add Kilo-Org/kilo-marketplace --skill kafka-schema-registry -a codex`. Or copy the skill folder (skills/kafka-schema-registry in Kilo-Org/kilo-marketplace) into .agents/skills/kafka-schema-registry in your project. Codex loads it when a task matches its description.

Can I use Kafka Schema Registry in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Kilo-Org/kilo-marketplace --skill kafka-schema-registry -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kafka-schema-registry, .gemini/skills/kafka-schema-registry, .github/skills/kafka-schema-registry and .opencode/skills/kafka-schema-registry in your project.

What does Kafka Schema Registry need to run?

Going by SKILL.md and its folder, Kafka Schema Registry needs Java and Python for the scripts in its folder. Our summary lists: Python 3.

Does Kafka Schema Registry access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Kafka Schema Registry safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Kafka Schema Registry use?

Kafka Schema Registry is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Kafka Schema Registry use?

About 2.5k tokens (SKILL.md is roughly 9.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 13k tokens, read only when the agent opens those files.

What are the alternatives to Kafka Schema Registry?

Skills that share tags, products or a category with Kafka Schema Registry: Msk Operations (aws/tools-for-devops-agent, 103 stars), Amazon Elasticache (aws/agent-toolkit-for-aws, 2.8k stars), New Event Source (aws/aws-lambda-dotnet, 1.7k stars) and Google Cloud Storage Basics (google/skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kafka Schema Registry?

Kilo-Org (a GitHub organization) maintains it in Kilo-Org/kilo-marketplace, which has 190 GitHub stars. The repository holds 86 skills in this directory. The repository was last updated on September 28, 2026.

Source: Kilo-Org/kilo-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.