---
title: "tRPC - Subscriptions - Air Market"
description: "Your app needs to show things as they happen, not only when someone refreshes. This helps you stream events from a tRPC server, using server-sent events by default or WebSocket, recover missed events…"
canonical: "https://airmarket.ai/app/subscriptions"
---

[Air Market](/) / [Developer Tools](/category/devtools) / tRPC - Subscriptions

Skill by [tRPC](/@trpc)

# tRPC - Subscriptions

Push live updates from your tRPC server to the client

## What this does

Your app needs to show things as they happen, not only when someone refreshes. This helps you stream events from a tRPC server, using server-sent events by default or WebSocket, recover missed events after a reconnect, keep connections alive with pings, and tidy up when a client leaves.

### Top 3 things it does for you

- Stream live events to the client
- Pick up where a dropped connection left off
- Keep an idle connection alive

## Information

**tRPC - Subscriptions at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [tRPC](/@trpc) |
| Category | [Developer Tools](/category/devtools) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Size | 10 KB |
| Licence | MIT |
| Repository | [trpc/trpc](https://github.com/trpc/trpc/tree/23c723cfeaf07da28a52a5c35c3dcccf96a47578/packages/server/skills/subscriptions) |
| GitHub stars | 40,541 (as of Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of tRPC - Subscriptions and flagged nothing. AIR's verdict: **safe**.

**What tRPC - Subscriptions's check was run against**

|  |  |
| --- | --- |
| Commit | 23c723cfeaf07da28a52a5c35c3dcccf96a47578 |
| Content hash | 7bf515a36827dcae25ed2e0aa3144fec94e2815d3684b3af9b7a270eed1a4448 |
| Files read | [Browse the files at this exact commit](https://github.com/trpc/trpc/blob/23c723cfeaf07da28a52a5c35c3dcccf96a47578/packages/server/skills/subscriptions/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for tRPC - Subscriptions](/security/subscriptions)

## About tRPC - Subscriptions

This sets up real-time event streams with async generator subscriptions, written as .subscription(async function*() { yield }). SSE through httpSubscriptionLink is recommended over WebSocket.

It uses tracked(id, data) from @trpc/server for reconnection recovery with lastEventId. For WebSocket it covers wsLink and createWSClient from @trpc/client and applyWSSHandler from @trpc/server/adapters/ws.

It also configures SSE ping through initTRPC.create({ sse: { ping: { enabled, intervalMs } } }), uses AbortSignal via opts.signal for cleanup, and routes subscriptions with splitLink.

## What's inside

- SKILL.md - instructions

## Questions

### Is tRPC - Subscriptions safe to install?

AIR scanned this exact version of tRPC - Subscriptions and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit 23c723cfeaf0, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/subscriptions.

### How do I install tRPC - Subscriptions?

Open https://airmarket.ai/app/subscriptions on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/trpc/trpc/tree/23c723cfeaf07da28a52a5c35c3dcccf96a47578/packages/server/skills/subscriptions. Install from that link, not the branch.

## Related on Air Market

- [More Developer Tools listings](/category/devtools)
- [Everything by tRPC](/@trpc)

---

Canonical URL: <https://airmarket.ai/app/subscriptions>
