realtime-collaboration-expert

realtime-collaboration-expert is a skill for Cursor from roedyrustam/vibes-plug. It costs 46 tokens per session (4,684 once invoked), scanned A, original, MIT.

A guide to building features where multiple people or devices can see and change shared application data at the same time.

In plain words
What is it for?
Use it to build multiplayer or collaborative web features with WebSockets, WebRTC, shared-state tools such as Yjs or Automerge, and services such as Liveblocks or Pusher.
Why use it?
It addresses connection drops, conflicting edits, user presence, message security, and scaling real-time updates.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin. Also seen: mentions subagents.

Part of the vibes-plug plugin — 179 skills, 9 agents, 2 MCP servers shipped together

Good fit Use it to build multiplayer or collaborative web features with WebSockets, WebRTC, shared-state tools such as Yjs or Automerge, and services such as Liveblocks or Pusher.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roedyrustam/vibes-plug/realtime-collaboration-expert
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 roedyrustam/vibes-plug --skill realtime-collaboration-expert
Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug

Made for: Cursor.

Or install vibes-plug, the plugin that ships this one along with the rest of its 179 skills, 9 agents, 2 MCP servers.

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 realtime-collaboration-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/realtime-collaboration-expert/github.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/realtime-collaboration-expert)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/realtime-collaboration-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/realtime-collaboration-expert/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 realtime-collaboration-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/realtime-collaboration-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/realtime-collaboration-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,684 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00046 $0.04684
Opus 5.5 $0.00018 $0.01874
Sonnet 5.5 $0.00009 $0.00937
Haiku 4.5 $0.00005 $0.00468

Measured 10d ago against content hash 51d469cbbdf8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

realtime-collaboration-expert 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 10d 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.

.cursor/skills/realtime-collaboration-expert/SKILL.md · 360 lines

How it starts

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

Real-Time Collaboration Expert / Ahli Kolaborasi Real-Time

English | Bahasa Indonesia


English

Description

Production engineering guide for building multiplayer, conflict-free real-time collaboration systems. Covers state-based and operation-based CRDTs (Yjs, Automerge, Loro), ephemeral presence/awareness protocols, IndexedDB offline persistence (y-indexeddb), and horizontally scaled WebSocket sync servers with binary delta compaction.

Hard Guardrails (Declarative Invariants)

  • Authenticate & Authorize Every Document Room: Verify JWT identity and per-document read/write permissions inside the Hocuspocus onAuthenticate hook (connection.readOnly = true for viewers) before exchanging state vectors.
  • Persist Incremental Binary Deltas, Never JSON Keystroke Dumps: Never call JSON.stringify on every CRDT update; append compact binary Uint8Array updates (Y.encodeStateAsUpdateV2) and periodically compact via Y.mergeUpdatesV2.
  • Enforce WebSocket maxPayload & Rate Limits: Configure maxPayload (e.g., 2 * 1024 * 1024 bytes) on WebSocket servers so a rogue client cannot exhaust heap memory with oversized CRDT frames.
  • Decouple Ephemeral Awareness from Durable State: Broadcast cursor coordinates and selection ranges via ephemeral y-protocols/awareness throttled with requestAnimationFrame, never inside the persisted Y.Doc.
  • Origin-Scoped Local Undo/Redo: Configure Y.UndoManager with an explicit local trackedOrigins set so pressing Ctrl+Z only reverts the local user's edits, never remote collaborators' changes.
  • Server-Stamped Awareness Identity: Bind awareness userId and displayName to the authenticated WebSocket session rather than trusting client-supplied identity strings.

1. CRDT & Multiplayer Engine Selection Matrix (2026)

Engine / Protocol Data Model Memory & Wire Footprint Offline Merge Best Use Case
Yjs (y-protocols) Rich Text (Y.XmlFragment), Y.Map, Y.Array Ultra-compact binary (Uint8Array updates) Native (y-indexeddb + Y.mergeUpdates) Collaborative rich-text editors (Tiptap/Lexical), whiteboards
Loro (Rust / WASM CRDT) Rich Text (Fugue + Peritext), Movable Tree, Map Fast WASM zero-copy + time-travel history Built-in shallow/full snapshot export Hierarchical node trees (Figma/Notion-like block trees), version graphs
Automerge 2.x JSON-like immutable document tree Columnar binary compression Full causal history DAG Git-like branching/merging of structured JSON documents
Liveblocks / PartyKit Managed edge rooms + Yjs/Storage primitives Edge WebSocket hibernation Automatic client buffer Rapid deployment of multiplayer cursors, comments, and rooms

Read the full file on GitHub · 360 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. 10d ago Changed 51d469cbbdf8
  2. 15d ago Changed · +145 lines f0644a8b7d36
  3. 24d ago Changed · +98 lines · -2 tokens per session decff8ca2932
  4. 1mo ago Changed · +15 lines · +48 tokens per session 8bee547ac5a8
  5. 1mo ago Changed · +2 lines · -48 tokens per session 9d9dae927071
  6. 1mo ago Changed 6d7f12447448
  7. 1mo ago Changed 2690f6fe4a41
  8. 1mo ago Changed 2d5c701c7da5
  9. 1mo ago Changed 5fe3962ce889
  10. 2mo ago First seen · 100 lines · 48 tokens per session scan A c5d062a1af11

Subscribe to this mod's changes

realtime-collaboration-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (129 stars, last pushed 3d ago), licensed MIT. It adds 46 tokens to every session and 4,684 once invoked, about $0.0002 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-09-03.

Related

realtime-collaboration-expert compared with skills from other repositories

realtime-collaboration-expert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
realtime-collaboration-expertroedyrustam/vibes-plugSkill1293d agoMITA46Cursor
nodejs-backend-patternschidekina/aria-superpowersSkill21mo agononeA58Claude Code, Codex
api-design-principleschidekina/aria-superpowersSkill21mo agononeA44Claude Code, Codex
buildersimota/agent-skillsSkill10612d agoMITA40Claude Code, Codex
system-and-data-designAnastasiyaW/codex-claude-code-configSkill2182d agoMITA217Claude Code
langgraph-patternsfrankxai/claude-skills-librarySkill51todayMITA53Claude Code
evolutionary-modular-architecturetech-leads-club/agent-skillsSkill7.2k2d agononeA208Claude Code, Codex