speckit.event-realtime

speckit.event-realtime is a skill for Claude Code, Codex from wedabro/bro-skills. It costs 33 tokens per session (816 once invoked), scanned A, original, MIT.

A realtime and event-systems engineering skill for WebSockets, server-sent events, webhooks, message queues, and transactional outbox workers. These technologies deliver updates between systems or users as events happen.

In plain words
What is it for?
Use it to design or implement realtime channels, SSE streams, WebSocket services, webhook handling, message brokers, and reliable background workers.
Why use it?
It addresses message loss, broken connections, duplicate processing, ordering, and scaling across multiple servers. It includes connection heartbeats, resilient reconnects, authorization, and message-bus patterns.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to design or implement realtime channels, SSE streams, WebSocket services, webhook handling, message brokers, and reliable background workers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wedabro/bro-skills/speckit.event-realtime
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wedabro/bro-skills --skill speckit.event-realtime
Clone the repo
git clone --depth 1 https://github.com/wedabro/bro-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for speckit.event-realtime

README.md
[![agentmods](https://agentmods.dev/badge/skills/wedabro/bro-skills/speckit.event-realtime/github.svg)](https://agentmods.dev/skills/wedabro/bro-skills/speckit.event-realtime)
Your own site
<a href="https://agentmods.dev/skills/wedabro/bro-skills/speckit.event-realtime"><img src="https://agentmods.dev/badge/skills/wedabro/bro-skills/speckit.event-realtime/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for speckit.event-realtime

Your own site · 80×15
<a href="https://agentmods.dev/skills/wedabro/bro-skills/speckit.event-realtime"><img src="https://agentmods.dev/badge/skills/wedabro/bro-skills/speckit.event-realtime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 816 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.00816
Opus 5.5 $0.00013 $0.00326
Sonnet 5.5 $0.00007 $0.00163
Haiku 4.5 $0.00003 $0.00082

Measured 2mo ago against content hash 8f2a97b42bad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

speckit.event-realtime scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/speckit.event-realtime/SKILL.md · 50 lines

How it starts

The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.

🎯 Mission

Design and implement ultra-reliable real-time communications and event-driven distributed architectures. Ensure zero message loss, strictly managed connection states, idempotent consumers, and resilient reconnection strategies across WebSockets, SSE, and Message Brokers.

📥 Inputs and Outputs

  • Input: Feature spec, plan, tasks, target transport (WebSocket, SSE, Webhooks, Message Broker), event schemas, and ordering guarantees.
  • Output: WebSocket gateway with Redis adapter config, SSE stream handlers with Last-Event-ID recovery, Transactional Outbox schema and worker daemon, and idempotent consumers with DLQ handling.

📋 Protocol

1. WebSocket Architecture (Multi-Node Scaling)

  • Stateless Server Nodes: Distribute WebSocket connections across multiple server instances using Redis Pub/Sub, Redis Streams, or RabbitMQ as the central message bus backplane.
  • Connection Heartbeat: Implement ping/pong heartbeat every 30 seconds. Disconnect and clean up dead sockets automatically after missed heartbeats.
  • Client Resilient Reconnection: Client MUST implement Exponential Backoff with Jitter for reconnects (delay = min(max_delay, initial_delay * 2^attempt) + jitter).
  • Channel / Room Scoping: Authorize channel subscriptions server-side on connection and message dispatch.

2. Server-Sent Events (SSE) for Unidirectional Streams

  • Use Cases: Live LLM token streaming, notification feeds, progress dashboards.
  • Headers: Set Content-Type: text/event-stream, Cache-Control: no-cache, Connection: keep-alive, X-Accel-Buffering: no (for Nginx proxy).
  • Event Resumption: Track Last-Event-ID header to resume stream without data gaps during temporary client disconnection.

3. Transactional Outbox Pattern (Zero Message Loss)

  • Problem Solved: Dual-write hazard where database commit succeeds but message broker publish fails (or vice versa).
  • Pattern:
    1. Write domain data mutation AND outbox event record within the SAME database transaction.
    2. Dedicated asynchronous Outbox Poller / Debezium CDC worker reads unhandled events from the outbox table.
    3. Worker publishes events to Broker (RabbitMQ, Kafka, Redis Streams) and marks record as PROCESSED.

Read the full file on GitHub · 50 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · -5 lines 8f2a97b42bad
  2. 3mo ago First seen · 55 lines · 33 tokens per session scan A 1fac9ff212f7

Subscribe to this mod's changes

speckit.event-realtime is a skill published in the GitHub repository wedabro/bro-skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 816 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

speckit.event-realtime compared with skills from other repositories

speckit.event-realtime next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
speckit.event-realtimewedabro/bro-skillsSkill31mo agoMITA33Claude Code, Codex
mx-lookup-post-batchbobadilla-tech/requiems-api-skillsSkill217d agoMITA46Claude Code
email-validate-post-emailbobadilla-tech/requiems-api-skillsSkill217d agoMITA37Claude Code
unit-conversion-post-batchbobadilla-tech/requiems-api-skillsSkill217d agoMITA20Claude Code
domain-info-get-{domain}bobadilla-tech/requiems-api-skillsSkill217d agoMITA17Claude Code
email-normalize-post-normalizebobadilla-tech/requiems-api-skillsSkill217d agoMITA27Claude Code
geocode-get-reverse-geocodebobadilla-tech/requiems-api-skillsSkill217d agoMITA18Claude Code