SS

sse-resilience

Manages SSE streams through registry tracking, heartbeats, and cleanup of inactive processes.

Install

mkdir -p .claude/skills/sse-resilience && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/8088" && unzip -o skill.zip -d .claude/skills/sse-resilience && rm skill.zip

Installs to .claude/skills/sse-resilience

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Redis-backed SSE stream management with stream registry, heartbeat monitoring, completion store for terminal events, and automatic orphan cleanup via background guardian process.
178 charsno explicit “when” trigger
Advanced

Key capabilities

  • Register active SSE streams in Redis
  • Monitor stream heartbeats to detect orphaned streams
  • Store terminal completion events for recovery
  • Automatically clean up abandoned streams with a background guardian
  • Provide client-side reconnection logic with exponential backoff
  • Recover missed terminal events upon client reconnection

How it works

The skill uses Redis to maintain a registry of active SSE streams, track heartbeats, store completion data, and employs a background guardian process to identify and clean up orphaned streams.

Inputs & outputs

You give it
SSE stream metadata, heartbeat signals, terminal event data
You get back
Registered streams, detected orphaned streams, stored completion data, cleaned-up resources

When to use sse-resilience

  • Managing SSE stream connections
  • Implementing stream heartbeats
  • Cleaning up orphaned streaming processes

About sse-resilience

Provides management for SSE streams, including stream registry, heartbeat tracking, and automatic cleanup of disconnected or orphaned processes.

Redis-backed SSE stream management with stream registry, heartbeat monitoring, completion store for terminal events, and automatic orphan cleanup via background guardian process.

When not to use it

  • When SSE streams do not fail silently
  • When completion events are not lost
  • When resource leaks from abandoned streams are not a concern

Prerequisites

Redis

Limitations

  • Requires Redis for stream management
  • Stream TTL is 1 hour max lifetime
  • Completion TTL is 5 minutes for recovery window

How it compares

This skill provides a Redis-backed, resilient SSE stream management system with automatic cleanup and recovery mechanisms, which is more reliable than basic SSE implementations that lack heartbeat monitoring or completion storage.

Compared to similar skills

sse-resilience side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
sse-resilience (this skill)06moReviewAdvanced
bullmq-specialist256moNo flagsIntermediate
managing-api-cache227dReviewAdvanced
rate-limiting-apis127dReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

bullmq-specialist

davila7

BullMQ expert for Redis-backed job queues, background processing, and reliable async execution in Node.js/TypeScript applications. Use when: bullmq, bull queue, redis queue, background job, job queue.

2595

managing-api-cache

jeremylongshore

Implement intelligent API response caching with Redis, Memcached, and CDN integration. Use when optimizing API performance with caching. Trigger with phrases like "add caching", "optimize API performance", or "implement cache layer".

220

rate-limiting-apis

jeremylongshore

Implement sophisticated rate limiting with sliding windows, token buckets, and quotas. Use when protecting APIs from excessive requests. Trigger with phrases like "add rate limiting", "limit API requests", or "implement rate limits".

15

prisma-connection-pool-exhaustion

blader

Fix Prisma "Too many connections" and connection pool exhaustion errors in serverless environments (Vercel, AWS Lambda, Netlify). Use when: (1) Error "P2024: Timed out fetching a new connection from the pool", (2) PostgreSQL "too many connections for role", (3) Database works locally but fails in production serverless, (4) Intermittent database timeouts under load.

14

generating-grpc-services

jeremylongshore

Generate gRPC service definitions, stubs, and implementations from Protocol Buffers. Use when creating high-performance gRPC services. Trigger with phrases like "generate gRPC service", "create gRPC API", or "build gRPC server".

13

azure-monitor-opentelemetry-ts

microsoft

Instrument applications with Azure Monitor and OpenTelemetry for JavaScript (@azure/monitor-opentelemetry). Use when adding distributed tracing, metrics, and logs to Node.js applications with Application Insights.

11

Search skills

Search the agent skills registry