grpc-microservices

grpc-microservices is a skill for Claude Code, Codex from kouroshez/coding-os. It costs 208 tokens per session (2,842 once invoked), scanned A, original, Apache-2.0.

A guide to gRPC, a system for services to call one another using Protobuf-defined contracts, plus the supporting service network. It covers request types, streaming, deadlines, retries, authentication, tracing, metrics, and encrypted service connections.

In plain words
What is it for?
Use it when defining or changing a .proto service, choosing gRPC for internal service calls, designing streaming requests, adding retries or interceptors, setting up mutual TLS, load balancing, a service mesh, or a REST gateway.
Why use it?
It helps teams build reliable communication between services they control and evolve their shared message definitions without breaking older clients. It also addresses common failures such as timeouts and unavailable services.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/kouroshez/coding-os/grpc-microservices
Any agent
npx skills add kouroshez/coding-os --skill grpc-microservices
Clone the repo
git clone --depth 1 https://github.com/kouroshez/coding-os

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 grpc-microservices

README.md
[![agentmods](https://agentmods.dev/badge/skills/kouroshez/coding-os/grpc-microservices.svg)](https://agentmods.dev/skills/kouroshez/coding-os/grpc-microservices)
Your own site
<a href="https://agentmods.dev/skills/kouroshez/coding-os/grpc-microservices"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/grpc-microservices.svg" alt="Measured on agentmods" height="20"></a>
Per session 208 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,842 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00208 $0.02842
Opus 5 $0.00104 $0.01421
Sonnet 5 $0.00042 $0.00568
Haiku 4.5 $0.00021 $0.00284

Measured 3d ago against content hash 86bc9d28feff, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

grpc-microservices 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 3d 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.

src/core/skills/grpc-microservices/SKILL.md · 175 lines

How it starts

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

gRPC + Microservices — Protobuf, RPC, Mesh

A practical guide to gRPC for east-west (service-to-service) traffic. Stack-agnostic; concrete patterns reference grpc-go, grpcio (Python), and @grpc/grpc-js (Node), with Envoy / a service mesh as the proxy layer.

When to Use This Skill

  • Defining or evolving a .proto service contract.
  • Choosing gRPC vs REST/GraphQL for traffic between services you control on both ends.
  • Debugging DEADLINE_EXCEEDED, UNAVAILABLE, or a backward-incompatible Protobuf change.
  • Designing streaming RPCs (server-stream, client-stream, bidi).
  • Wiring interceptors for auth, tracing, metrics, retries.
  • Standing up mTLS, client-side load balancing, or a gRPC mesh.
  • Exposing a gRPC service to external REST clients via gRPC-Gateway.

Skip when: the consumer is a browser/mobile/3rd-party over public HTTP (that is api-design's REST/GraphQL territory), or the need is a long-lived bidirectional browser socket (that is realtime-websockets).

Boundary — gRPC vs api-design vs realtime-websockets

Concern Owner
Public, external, heterogeneous HTTP API (REST/GraphQL), RFC 9457 envelopes, URL/header versioning, idempotency keys api-design
Binary east-west gRPC between controlled services: Protobuf evolution, the four RPC kinds, gRPC status codes, deadlines, interceptors, mesh grpc-microservices (this skill)
Long-lived bidirectional sockets to browsers (WebSocket/SSE), heartbeats, reconnect, fan-out realtime-websockets

The split is who controls both ends and over what network. api-design serves consumers that cannot be coordinated and speak HTTP/JSON; this skill serves internal services that share a generated stub and speak HTTP/2 + Protobuf. When a gRPC service must face external REST clients, gRPC-Gateway translates at the edge — and that REST surface is then governed by api-design.

Protobuf — Schema Evolution Is the Whole Game

The .proto is the contract; the wire format is field-number-based, which makes additive evolution safe and renames cheap — if the rules are followed.

Read the full file on GitHub · 175 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. 3d ago First seen · 175 lines · 208 tokens per session scan A 86bc9d28feff

Subscribe to this mod's changes

grpc-microservices is a skill published in the GitHub repository kouroshez/coding-os (6 stars, last pushed 3d ago), licensed Apache-2.0. It adds 208 tokens to every session and 2,842 once invoked, about $0.0010 per session on Opus 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

graph-mutation-plan

Cookbook for composing an applygraphmutations plan — stable entitykey patterns, the canonical label/edge vocabulary, evidence/invalidation/confidence discipline, and a worked example. Load this when building a non-trivial mutation plan.

potpie-ai/potpie · 51 tokens

potpie-infra-architecture

Use for project infra and architecture context: environments, adapters, runtime configuration, deployments, service dependencies, datastores, API contracts, ownership, incidents, and dependency blast radius.

potpie-ai/potpie · 43 tokens

alfworld-receptacle-finder

Searches for a suitable empty or appropriately occupied receptacle (like a shelf or table) to place an object. Use when you are holding an object that needs to be stored or placed and must find a receptacle that meets the placement criteria. Examines candidate receptacles by navigating to and inspecting each one until…

zjunlp/SkillNet · 76 tokens

alfworld-search-pattern-executor

Systematically searches a sequence of likely locations for a target object based on common sense. Use when you need to find a specific object and know which receptacles to check but not which one contains it. Takes a list of candidate receptacles, orchestrates navigation and inspection, and outputs when the target is…

zjunlp/SkillNet · 74 tokens

ux-ui-analyze-single-page

Analyze exactly one captured UI page (from uxuimap screenshots + request JSON) and immediately write/update uxuimap/pages/{page}.md in neutral descriptive language. Use when asked to analyze screenshots, rewrite corresponding analysis immediately, or avoid memory/context saturation.

raphaelmansuy/edgequake · 58 tokens

scienceworld-growth-focuser

Use when you have planted a seed or need to track a plant's growth stage (sprouting, flowering, reproduction). Applies the 'focus on' action to a specific plant or biological entity to signal intent and monitor its development. Trigger after planting or when you need to observe life cycle progression in the…

zjunlp/SkillNet · 71 tokens