# Protocol Buffer Schema Generator

> Infers Protocol Buffer (.proto) definitions from JSON samples using protobuf-compiler and grpcio-tools. Generates proto3 schemas with nested message types, enums, and gRPC service stubs.

- Skill: `agentskillexchange/protocol-buffer-schema-generator` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/protocol-buffer-schema-generator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/protocol-buffer-schema-generator/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/protocol-buffer-schema-generator

---


# Protocol Buffer Schema Generator

Infers Protocol Buffer (.proto) definitions from JSON samples using protobuf-compiler and grpcio-tools. Generates proto3 schemas with nested message types, enums, and gRPC service stubs.

## Installation

Requirements and caveats from upstream:
- load("@rules_python//python:repositories.bzl", "py_repositories")
- | Python | [python](python) |

Basic usage or getting-started notes:
- protobuf, you need to install the protocol compiler (used to compile .proto
- -----------
- The best way to learn how to use protobuf is to follow the [tutorials in our

- Source: https://github.com/protocolbuffers/protobuf
- Extracted from upstream docs: https://raw.githubusercontent.com/protocolbuffers/protobuf/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/protobuf-schema-generator-from-json/)

