backend-grpc-patterns

backend-grpc-patterns is a skill for Claude Code, Codex from j4flmao/agent-skills. It costs 65 tokens per session (3,711 once invoked), scanned A, original, MIT.

A guide for designing gRPC services, which let programs communicate through defined remote procedure calls and Protocol Buffers, a typed format for service data.

In plain words
What is it for?
It helps define protobuf schemas and RPC methods for unary, server-streaming, client-streaming, or bidirectional-streaming communication.
Why use it?
It helps keep service contracts consistent while handling streaming, authentication, deadlines, errors, and version changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit It helps define protobuf schemas and RPC methods for unary, server-streaming, client-streaming, or bidirectional-streaming communication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/j4flmao/agent-skills/grpc-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 j4flmao/agent-skills --skill grpc-patterns
Clone the repo
git clone --depth 1 https://github.com/j4flmao/agent-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 backend-grpc-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/j4flmao/agent-skills/grpc-patterns/github.svg)](https://agentmods.dev/skills/j4flmao/agent-skills/grpc-patterns)
Your own site
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/grpc-patterns"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/grpc-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 backend-grpc-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/grpc-patterns"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/grpc-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,711 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00065 $0.03711
Opus 5.5 $0.00026 $0.01484
Sonnet 5.5 $0.00013 $0.00742
Haiku 4.5 $0.00006 $0.00371

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

Security

Grade A, and why

backend-grpc-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 15d 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/backend/universal/grpc-patterns/SKILL.md · 425 lines

How it starts

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

Backend gRPC Patterns

Purpose

Design consistent, production-grade gRPC services. Every RPC must follow the same conventions for protobuf schemas, streaming patterns, interceptors, error handling, and service versioning.

Agent Protocol

Trigger

Exact user phrases: "gRPC", "protobuf", "protocol buffers", "streaming RPC", "unary call", "server streaming", "client streaming", "bidirectional streaming", "gRPC interceptor", "gRPC error handling", "protobuf schema", "service definition", "design an RPC", "gRPC contract".

Input Context

Before activating, verify:

  • The service or feature being designed is known.
  • The proto package name and version are known.
  • The streaming model (unary/server-stream/client-stream/bidi) is chosen. If not, ask: "What streaming model do you need?"
  • The language/runtime for code generation is known.

Output Artifact

No file output unless the user requests it. Produces protobuf schema and RPC specifications as text.

Response Format

For each RPC:

rpc {MethodName}({RequestType}) returns ({ResponseType})
Streaming: {none/server/client/bidirectional}
Auth: {required/optional/none}
Deadline: {timeout suggestion}
Errors: {list of gRPC status codes}

For a full service definition:

service {ServiceName} {
  {list of RPCs}
}

No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.

Completion Criteria

  • All protobuf packages follow the naming conventions below.
  • Every RPC has: method signature, streaming type, auth requirement, deadline, error codes.
  • Protobuf messages are versioned in the package name.
  • Error responses use standard gRPC status codes with rich detail.
  • All streaming RPCs include proper backpressure handling.
  • Interceptor chain is documented.

Max Response Length

Per RPC: 6 lines. Per service: unlimited.

Decision Tree

Which RPC Pattern?

What is the communication pattern?
  ├── Request → Response (standard CRUD)
  │   └── Unary RPC — simplest, HTTP/2 under the hood
  ├── Request → stream of events (subscribe, watch, notifications)
  │   └── Server-streaming RPC — send multiple responses for one request
  ├── Stream of requests → single response (batch upload, long-form input)
  │   └── Client-streaming RPC — aggregate client data into one result
  ├── Stream → stream (chat, real-time sync, gaming)
  │   └── Bidirectional streaming — full-duplex communication
  └── Fire-and-forget (event, notification, pub/sub)
      └── Consider message queue instead — gRPC streaming is for persistent connections

Read the full file on GitHub · 425 lines

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. 15d ago Changed · +1 lines · -67 tokens per session 6de688bf3e11
  2. 1mo ago Changed · -122 lines 5444b58a1acb
  3. 3mo ago First seen · 546 lines · 132 tokens per session scan A 4693318c6f73

Subscribe to this mod's changes

backend-grpc-patterns is a skill published in the GitHub repository j4flmao/agent-skills (47 stars, last pushed 16d ago), licensed MIT. It adds 65 tokens to every session and 3,711 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-09-03.

Related

backend-grpc-patterns compared with skills from other repositories

backend-grpc-patterns next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
backend-grpc-patternsj4flmao/agent-skillsSkill4716d agoMITA65Claude Code, Codex
api-design-patternsaAAaqwq/AGI-Super-TeamSkill123yesterdayMITA29Claude Code
grpc-expertpersonamanagmentlayer/pclSkill471mo agoApache-2.0A53Claude Code
api-designerbuiphucminhtam/forgewrightSkill49yesterdaynoneA43Claude Code
opentelemetrybobmatnyc/claude-mpm-skillsSkill794mo agoMITA29Claude Code
gRPC TestingPramodDutta/qaskillsSkill2531mo agoMITA29Claude Code, Codex
api-design-firstJPeetz/agent-skillsSkill213d agononeA124Claude Code, Codex