graphql-grpc-events

graphql-grpc-events is a skill for Claude Code, Codex from cass-2003/local-workflow-skill. It costs 99 tokens per session (10,944 once invoked), scanned A, original, MIT.

A troubleshooting guide for GraphQL, gRPC, and event-stream interfaces such as Kafka, Pulsar, and NATS. It focuses on the rules that describe how services exchange data and whether changes remain compatible for existing users.

In plain words
What is it for?
Use it to investigate GraphQL schemas and resolvers, gRPC Protocol Buffers and status codes, or event topics, schemas, consumers, retries, dead-letter queues, and lag. It is intended for reviewing releases, compatibility, performance problems, and rollback readiness.
Why use it?
It helps find breaking changes and real failure cases that can be missed when an interface merely appears to work. It connects compatibility decisions to evidence such as schema differences, replay tests, traces, logs, metrics, and rollback checks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate GraphQL schemas and resolvers, gRPC Protocol Buffers and status codes, or event topics, schemas, consumers, retries, dead-letter queues, and lag. It is intended for reviewing releases, compatibility, performance problems, and rollback readiness.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cass-2003/local-workflow-skill/graphql-grpc-events
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 cass-2003/local-workflow-skill --skill graphql-grpc-events
Clone the repo
git clone --depth 1 https://github.com/cass-2003/local-workflow-skill

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 graphql-grpc-events

README.md
[![agentmods](https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/graphql-grpc-events/github.svg)](https://agentmods.dev/skills/cass-2003/local-workflow-skill/graphql-grpc-events)
Your own site
<a href="https://agentmods.dev/skills/cass-2003/local-workflow-skill/graphql-grpc-events"><img src="https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/graphql-grpc-events/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 graphql-grpc-events

Your own site · 80×15
<a href="https://agentmods.dev/skills/cass-2003/local-workflow-skill/graphql-grpc-events"><img src="https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/graphql-grpc-events.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,944 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.00099 $0.10944
Opus 5 $0.00049 $0.05472
Sonnet 5 $0.00020 $0.02189
Haiku 4.5 $0.00010 $0.01094

Measured 9d ago against content hash 5185ca2ba1a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

graphql-grpc-events 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 9d 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-api/community/graphql-grpc-events/SKILL.md · 295 lines

How it starts

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

GraphQL/gRPC/事件接口

GraphQL/gRPC/事件接口(graphql-grpc-events,兼容 slug: gge)负责本技能描述范围内的定位、执行、验证和交接边界;旧短 slug 仅作兼容 alias/URL 主键,不作为规范技能名。

定位:本技能只处理 GraphQL、gRPC、事件流的“协议契约与跨消费者兼容”。目标不是通用 API 模板,而是把 schema/proto/topic 从能跑收敛为可 diff、可回放、可观测、可回滚、可审计。

快速总则:契约定制:协议/版本、schema/proto/topic、兼容策略、证据

  1. 协议先定制:GraphQL 看 schema、resolver、operation、query plan;gRPC 看 proto3、service、method、stream、metadata、status codes;事件看 topic/subject/key/schema/consumer group。
  2. 版本先锁定:记录 GraphQL server/client/federation gateway、protoc/runtime/gencode、buf、grpc-web proxy、Kafka/Pulsar/NATS/broker、schema registry、OpenTelemetry semantic convention 版本。
  3. schema/proto/topic 是契约:字段可空性、input/argument、enum、protobuf tag、oneof、topic 分区键、routing key、subject、retention、DLQ、replay 规则都要写入契约,不当实现细节。
  4. 兼容策略默认保守:删字段、收紧 nullability、新增 required input、改默认值、改 enum 语义、复用 tag、改 status code、改 topic key、改事件含义、改顺序边界默认 breaking change。
  5. 消费者先于实现:前端、App、BFF、SDK、批任务、BI、旧 consumer group、第三方未查清,不得判兼容。
  6. 证据闭环:结论绑定 schema diff、proto/buf breaking、registry compatibility、operation 回放、golden sample、consumer-driven contract、trace/log/metric、consumer lag、DLQ 和灰度回滚证据。
  7. 性能需场景证据:GraphQL N+1、DataLoader、federation fan-out、gRPC streaming 背压、consumer lag、DLQ 风暴必须用负载、trace 和失败样本验证。
  8. 安全默认逐层验:introspection、persisted queries、query batching、alias/fragment、字段级授权、gRPC metadata、topic key、CloudEvents attributes、headers、日志、DLQ 禁止泄露 PII/secret。
  9. 发布必须可回退:deprecation、双写/双读、schema/proto/topic 门禁、消费者灰度、DLQ 回灌、replay 开关、回滚点齐全才收口。
  10. 治理按风险分级:breaking/high-risk 强制完整消费者矩阵、豁免到期和回滚计划;safe change 也要有最小回放和消费者证据。
  11. 分页/游标先成契约:GraphQL connection、gRPC page_token、事件 replay cursor/offset 都要定义稳定排序、过滤条件绑定、过期策略、重复/缺页处理和权限边界。
  12. 验收必须真实闭环:压测、旧样本回放、consumer-driven contract、灰度指标、DLQ/replay 演练、回滚或补偿证据缺一项时,不把“已上线”写成“已验收”。

强制门禁:先分类,再改契约

  • Breaking:删除或重命名字段/method/topic/event type;收紧 GraphQL nullability;给已发布 operation 增 required input;复用 protobuf tag/name;改 enum 语义;改 gRPC status/retry/idempotency;改 partition key、ordering、retention、DLQ 或 replay 副作用。必须有消费者矩阵、迁移窗口、灰度、回滚/roll-forward 和豁免到期。
  • High-risk compatible:新增 GraphQL nullable 字段但 resolver 可能 N+1;新增 proto optional 字段但跨语言 presence 未验证;新增事件字段但 registry subject/consumer 未全覆盖;新增 stream、subscription、gateway 转换、DataLoader 缓存、自动 retry、consumer concurrency。必须补负载、旧样本、trace、registry/buf 和真实消费者证据。
  • Safe candidate:纯新增可选字段、reserved 后保留旧字段、仅新增新 event type/topic、仅新增观测标签。仍需最小 schema/proto/registry diff、golden sample 和一个旧消费者回放。
  • 禁止把“编译通过、单测通过、producer 发出、gateway composition 通过、registry compatible 通过”单独当兼容结论;它们只是证据片段。
  • 任何结论必须写明:谁生产、谁消费、旧版本保留多久、如何发现旧消费者、异常时先回滚哪一层。
  • 写入前必须有契约门禁记录:diff 类型、消费者矩阵、鉴权/隐私影响、错误码或错误详情、分页/流式语义、幂等/补偿策略、压测范围、发布后验收指标和 owner。

Read the full file on GitHub · 295 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. 9d ago First seen · 295 lines · 99 tokens per session scan A 5185ca2ba1a6

Subscribe to this mod's changes

graphql-grpc-events is a skill published in the GitHub repository cass-2003/local-workflow-skill (12 stars, last pushed 2mo ago), licensed MIT. It adds 99 tokens to every session and 10,944 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

agui-dotnet-protobuf

Use the protobuf wire transport (instead of the default Server-Sent Events) for an AG-UI connection with the AG-UI .NET SDK — a compact binary event stream negotiated via the Accept header. USE FOR: making an AGUIChatClient prefer protobuf by wiring an AGUIEventStreamHandler with ProtobufEventStreamFormatter (then…

ag-ui-protocol/ag-ui · 162 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

fastapi-router-py

Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models. Use when building REST API endpoints, creating new routes, implementing CRUD operations, or adding authenticated endpoints in FastAPI applications.

microsoft/skills · 46 tokens

migrate-segw-to-rap

Reverse-engineer a SEGW-built OData V2 service (MPC/DPC/MPCEXT/DPCEXT) into a modern RAP V4 service — tables, CDS views (interface + projection), behavior definitions, draft entities, service definition + binding. Use when asked to "migrate this SEGW service to RAP", "convert OData V2 to V4 RAP", "modernize this…

arc-mcp/arc-1 · 106 tokens

telnyx-messaging-hosted-curl

Set up hosted SMS numbers, toll-free verification, and RCS messaging. Use when migrating numbers or enabling rich messaging features. This skill provides REST API (curl) examples.

team-telnyx/ai · 45 tokens