Redis-backed SSE stream management with stream registry, heartbeat monitoring, completion store for terminal events, and automatic orphan cleanup via background guardian process.
Install with Tessl CLI
npx tessl i github:majiayu000/claude-skill-registry-data --skill sse-resilience81
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillEvaluation — 97%
↑ 1.90xAgent success when using this skill
Validation for skill structure
Redis stream registry with pipeline and sorted set
STREAM_KEY_PREFIX value
0%
100%
ACTIVE_STREAMS_KEY value
0%
100%
COMPLETION_KEY_PREFIX value
0%
100%
STREAM_TTL constant
0%
100%
STALE_THRESHOLD constant
100%
100%
COMPLETION_TTL constant
0%
100%
Pipeline usage in register
62%
100%
Pipeline in heartbeat
50%
100%
Sorted set for heartbeat
0%
100%
zrangebyscore for stale detection
0%
100%
StreamState enum values
0%
100%
Duplicate stream check
50%
100%
Metadata serialization
100%
100%
File structure
0%
0%
Without context: $0.4977 · 2m 17s · 22 turns · 28 in / 8,633 out tokens
With context: $0.4908 · 1m 37s · 25 turns · 31 in / 6,366 out tokens
SSE endpoint with heartbeat, completion recovery, and headers
Completion check before registration
100%
100%
Recovery response format
100%
100%
Heartbeat interval 15 seconds
100%
100%
Heartbeat SSE comment format
50%
100%
Unregister on disconnect
70%
100%
Content-Type header
100%
100%
Cache-Control header
100%
100%
X-Stream-Id header
0%
100%
Connected event on start
0%
100%
CompletionStore TTL
100%
100%
File placement
0%
80%
Without context: $0.5040 · 2m 10s · 22 turns · 29 in / 8,435 out tokens
With context: $0.9186 · 3m 40s · 34 turns · 38 in / 13,732 out tokens
Stream guardian cleanup and client-side reconnection
Guardian check interval
0%
100%
Guardian marks ORPHANED
100%
100%
Guardian error handling
0%
100%
Guardian start/stop
75%
100%
Client recovery check first
100%
100%
Client max 3 retries
0%
100%
Exponential backoff delay
40%
100%
EventSource cleanup
100%
100%
Guardian file placement
50%
100%
Only ACTIVE streams flagged
100%
100%
Client hook closes on unmount
100%
100%
Without context: $0.7360 · 3m 37s · 26 turns · 31 in / 13,525 out tokens
With context: $0.8770 · 3m 24s · 36 turns · 289 in / 13,496 out tokens
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.