Skip to main content
skill CX Codex

centrifugo — Claude Code skill: real-time PUB/SUB and WebSocket

Skill for working with Centrifugo, a self-hosted real-time messaging server supporting WebSocket, SSE, and GRPC. Sets up channels, JWT authentication, backend publishing, and client subscriptions to live updates.

no license 263 installs ★ 655 updated 2026-10-20

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add pedronauck/skills --skill centrifugo -a claude-code
Open on GitHub

What centrifugo does

Centrifugo runs as an expert guide across all listed platforms for building real-time transport layers. The server receives data from your backend via HTTP or GRPC Server API and broadcasts to WebSocket, SSE, or WebTransport subscribers. Channels are organized into namespaces, each controlling its own behavior: message history retention, presence tracking, recovery after disconnection. Clients connect with a JWT token issued by the backend.

The skill covers server configuration (HMAC keys, CORS, TLS), channel structure design, token generation in Python or Node.js, publishing through Server API, and connecting official SDKs (JavaScript, Go, Dart, Swift, Java, Python). It handles unidirectional publishing (backend pushes updates to channels), bidirectional proxying (client events validated by backend), and server-side subscriptions for personalized feeds.

For multi-node clusters, Centrifugo uses Redis or NATS as a message broker between instances. The skill helps you pick an integration pattern, write configuration, set up authentication, and deploy your first real-time channel.

What it helps with

  • deploy a self-hosted real-time server with WebSocket and SSE
  • design channels with different history retention, presence, and recovery behavior
  • issue JWT tokens for client connections from your backend
  • publish messages to a channel via Server API and receive them on the client
  • scale real-time updates across multiple servers using Redis or NATS

Example prompts for the agent

  • Show me how to configure Centrifugo with Redis for a multi-node cluster and generate a JWT token for a client.
  • Write an endpoint that publishes to a notification channel and a WebSocket subscriber that listens to it.
  • Help me organize namespaces for a chat and live course feed with different history retention and TTL settings.

How to install centrifugo

1Skills CLI (Vercel)

npx skills add pedronauck/skills --skill centrifugo -a claude-code

2Manually: put the files in place

~/.claude/skills/centrifugo/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/centrifugo/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about centrifugo

How do I install the centrifugo skill in Claude Code?

Run npx skills add pedronauck/skills --skill centrifugo -a claude-code, then find the skill file at ~/.claude/skills/centrifugo/SKILL.md.

What does the centrifugo skill do?

It guides you through setting up Centrifugo: a real-time messaging server with WebSocket support, channel management, JWT authentication, backend publishing, and client subscriptions to live updates.

Which transports does Centrifugo support?

WebSocket, Server-Sent Events (SSE), HTTP-streaming, WebTransport, and GRPC. The client automatically selects the best available transport and reconnects if the connection drops.

Similar skills

All skills for Backend and APIs →

From the same set52

The whole set →
testing-boss testing-boss guides test writing and LLM eval design: helps pick the right test layer, trim fragile mocks, and diagnose flaky CI suites without adding dummy production code. CX Codex +1 274installs alex-hormozi-pitch The alex-hormozi-pitch skill shapes offers and sales pitches with Alex Hormozi’s method. Use it when you need to work through value, pricing, guarantees, or objections. CX Codex +1 268installs deslop deslop cleans generated code noise and accidental complexity from active diffs before final verification. CX Codex +1 267installs effect-ts Skill for working with Effect-TS, a functional programming library for TypeScript. Guides you through type-safe code with error handling, async operations, and resource management using Effect, Schema, Pattern Matching, and Context.Tag. CX Codex +1 264installs agent-exploration agent-exploration — a skill for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode that splits a broad research question into independent slices and dispatches each to a separate explorer. CX Codex +1 259installs deep-review deep-review is a Claude Code skill that examines branch changes, working trees, or pull requests. It looks for defects and improvements, and can check code against project rules or a specification. CX Codex +1 258installs promo-video Generates polished product promo videos with Remotion, ElevenLabs voiceovers, and background music directly from repository context. CX Codex +1 257installs tech-logos The tech-logos skill guides the reuse and addition of official company, provider, and social-platform logos in landing, auth, and integration interfaces. CX Codex +1 256installs

Project sponsors

Companies that keep this analytics open