cosmo-connect
Installation
SKILL.md
Cosmo Connect
Cosmo Connect lets you use GraphQL Federation without running GraphQL servers. Define an Apollo-compatible Subgraph Schema, compile it to protobuf, implement it as gRPC.
Decision: Plugin vs gRPC Service
| Factor | Router Plugin | gRPC Service |
|---|---|---|
| Languages | Go, TypeScript (Bun) | Any gRPC language |
| Deployment | Co-located with router | Independent microservice |
| Scaling | Coupled to router | Independent |
| Latency | Minimal (IPC) | Network overhead |
| Team autonomy | Low | High |
Use plugins for simple integrations, lowest latency, wrapping legacy APIs. Use gRPC services for team ownership, independent scaling, language flexibility.