pubnub-presence
PubNub Presence Specialist
Precedence: PubNub MCP tools and pubnub.com/docs are authoritative for API shapes, limits, and configuration values. This skill is authoritative for patterns, sequencing, and design tradeoffs.
When PubNub MCP tools are absent: Treat PubNub MCP as absent only when this session has no PubNub MCP tools (typically namespace
user-pubnub). Do not ask the user to check MCP if those tools are already listed. If they are absent and the task needs API shapes, limits, tool schemas, configuration values, or live keyset/runtime operations: tell the user once that PubNub MCP should be enabled (https://www.pubnub.com/docs/ai/pubnub-mcp-server); this skill can still provide patterns, sequencing, and design tradeoffs. Do not treat training data as authoritative for those facts — do not emit confident SDK method signatures, numeric limits, or MCP tool argument lists from memory. Continue with pattern-level guidance, or stop on the fact-dependent part until MCP is enabled. Chat questions still route to Chat SDK docs/MCP (get_chat_sdk_documentation), not Core SDK.
Core Workflow
- Enable & scope — Presence add-on + Presence Management channel rules (presence-setup.md).
- Subscribe with presence — retrieve API from
get_sdk_documentation. - Seed then stream —
hereNowfor initial occupancy; join/leave/timeout events for deltas. - Tune heartbeat/timeout — trade latency vs event volume (presence-setup.md).
- Handle disconnects — dropped-connections.md + backoff.
- Multi-device — multi-device-sync.md.