A comprehensive set of skills for building real-time applications with PubNub's platform. Each skill provides focused guidance, code examples, and best practices for specific PubNub capabilities.
npx tessl skill search pubnubThe skills CLI requires no installation and can be run directly using npx:
npx skills add pubnub/skills| Skill | Description |
|---|---|
| pubnub-app-developer | Core pub/sub messaging, channels, SDK patterns |
| pubnub-presence | Real-time user online/offline status, occupancy |
| pubnub-functions | Serverless edge functions, webhooks, KVStore |
| pubnub-security | Access Manager, AES-256 encryption, TLS |
| pubnub-chat | Chat SDK, messaging, typing indicators, reactions |
| pubnub-scale | High-volume optimization, channel groups, persistence |
| pubnub-live-auctions | Real-time auction platforms with bidding and countdowns |
| pubnub-live-betting-casino | Real-time betting and casino game platforms |
| pubnub-live-sport-updates | Real-time sports scores, play-by-play, scoreboards |
| pubnub-live-stock-quote-updates | Real-time stock quotes and market data |
| pubnub-live-voting | Real-time voting and polling systems |
| pubnub-multiplayer-gaming | Real-time multiplayer game state synchronization |
| pubnub-order-delivery-driver | Real-time order tracking and delivery driver systems |
| pubnub-telemedicine | HIPAA-compliant telemedicine applications |
For more details, see the CLI documentation.
Once installed, skills are automatically available. Ask Claude about PubNub topics and the relevant skill will be invoked.
Build real-time applications with PubNub pub/sub messaging.
Use for:
- Implementing channels and subscriptions
- Message handling and SDK configuration
- Cross-platform development (JavaScript, Python, Swift, Kotlin)
References:
publish-subscribe.md- Core pub/sub patternschannels.md- Channel naming and designsdk-patterns.md- SDK initialization across platforms
Implement real-time presence tracking with PubNub.
Use for:
- User online/offline status indicators
- Channel occupancy counts
- Connection state management
- Multi-device synchronization
References:
presence-setup.md- Admin Portal configurationpresence-events.md- Join/leave/timeout handlingpresence-patterns.md- Scalable presence best practices
Develop serverless edge functions with PubNub Functions 2.0.
Use for:
- Message transformation and enrichment
- Webhook integrations with external APIs
- HTTP endpoints for REST APIs
- Scheduled tasks and aggregation
References:
functions-basics.md- Function structure and event typesfunctions-modules.md- KVStore, XHR, Vault, Crypto modulesfunctions-patterns.md- Counters, rate limiting, workflows
Secure PubNub applications with Access Manager and encryption.
Use for:
- Authentication and authorization
- Token grants and permission management
- AES-256 message encryption
- TLS configuration
References:
access-manager.md- PAM setup and grantsencryption.md- Message and file encryptionsecurity-best-practices.md- Key security, compliance
Build chat applications with PubNub Chat SDK.
Use for:
- Direct messaging and group channels
- Typing indicators and read receipts
- Message reactions and threading
- User management
References:
chat-setup.md- Chat SDK initializationchat-features.md- Channels, messages, reactionschat-patterns.md- User management, real-time sync
Scale PubNub applications for high-volume events.
Use for:
- Performance optimization
- Channel groups and wildcard subscriptions
- Message persistence and history
- Large-scale event handling (10K+ users)
References:
scaling-patterns.md- Channel groups, wildcardsperformance.md- Message optimization, batchingpersistence.md- History API, catch-up patterns
Build real-time auction platforms with PubNub bidding and countdowns.
Use for:
- Live bidding with server-side validation
- Countdown timer synchronization
- Outbid notifications and bid activity feeds
- Auction lifecycle management
References:
auction-setup.md- Auction channel design, lifecycle managementauction-bidding.md- Bid validation, race condition handlingauction-patterns.md- Reserve prices, auto-extend, proxy bidding
Build real-time betting and casino game platforms with PubNub.
Use for:
- Live/in-play betting with real-time odds updates
- Casino game state synchronization
- Wager placement, validation, and settlement
- Responsible gambling features
References:
betting-setup.md- Platform initialization, market channels, odds broadcastingbetting-wagers.md- Wager validation, bet settlement, cash-outbetting-patterns.md- Casino game sync, in-play patterns, compliance
Deliver real-time sports scores, play-by-play, and scoreboards with PubNub.
Use for:
- Live scoreboards and score tickers
- Play-by-play and timeline feeds
- Multi-sport dashboards
- Fan engagement features
References:
sport-updates-setup.md- Channel hierarchy, data models, subscription patternssport-updates-events.md- Game event types, scoring logic, play-by-playsport-updates-patterns.md- Multi-sport dashboards, fan engagement, scaling
Deliver real-time stock quotes and market data with PubNub.
Use for:
- Live stock quote streaming
- Portfolio tracking and watchlists
- Price alert systems
- Ticker displays and charting dashboards
References:
stock-quotes-setup.md- Channel design, quote broadcasting, ingestionstock-quotes-portfolio.md- Watchlist management, price alertsstock-quotes-patterns.md- Ticker displays, charting, market hours
Build real-time voting and polling systems with PubNub.
Use for:
- Live audience polling and voting
- Real-time vote tallying with duplicate prevention
- Survey systems with live results
- Multi-round voting workflows
References:
voting-setup.md- Poll creation, channel design, lifecycle managementvoting-tallying.md- Duplicate prevention, atomic counters, fraud detectionvoting-patterns.md- Result broadcasting, multi-round voting, weighted votes
Build real-time multiplayer games with PubNub game state sync.
Use for:
- Game lobbies and room management
- Game state synchronization with delta updates
- Matchmaking systems
- Player connection and reconnection handling
References:
gaming-setup.md- Game room creation, lobby managementgaming-state-sync.md- Game state synchronization, delta updatesgaming-patterns.md- Matchmaking, turn-based/real-time patterns, anti-cheat
Build real-time order tracking and delivery driver systems with PubNub.
Use for:
- GPS location streaming from driver apps
- Order status pipeline management
- Dispatch coordination and driver assignment
- Customer-facing tracking pages
References:
delivery-setup.md- Channel design, GPS publishing, SDK initializationdelivery-status.md- Order lifecycle states, ETA calculation, geofencingdelivery-patterns.md- Dispatch coordination, fleet dashboards, proof of delivery
Build HIPAA-compliant telemedicine apps with PubNub real-time messaging.
Use for:
- Secure patient-provider communication
- Virtual waiting rooms and patient queues
- WebRTC video consultation signaling
- Audit logging and consent management
References:
telemedicine-setup.md- HIPAA configuration, encryption, Access Managertelemedicine-features.md- Patient queue management, notifications, consenttelemedicine-patterns.md- Consultation workflows, WebRTC signaling, audit logging
To publish a new skill to the pubnub workspace:
tessl skill publish --workspace pubnub --public ./skills/<skill-name>To publish or update all PubNub skills:
# From the tessl directory
npm i -g @tessl/cli
tessl login
tessl skill publish --workspace pubnub --public ./skills/pubnub-app-developer
tessl skill publish --workspace pubnub --public ./skills/pubnub-presence
tessl skill publish --workspace pubnub --public ./skills/pubnub-functions
tessl skill publish --workspace pubnub --public ./skills/pubnub-security
tessl skill publish --workspace pubnub --public ./skills/pubnub-chat
tessl skill publish --workspace pubnub --public ./skills/pubnub-scale
tessl skill publish --workspace pubnub --public ./skills/pubnub-live-auctions
tessl skill publish --workspace pubnub --public ./skills/pubnub-live-betting-casino
tessl skill publish --workspace pubnub --public ./skills/pubnub-live-sport-updates
tessl skill publish --workspace pubnub --public ./skills/pubnub-live-stock-quote-updates
tessl skill publish --workspace pubnub --public ./skills/pubnub-live-voting
tessl skill publish --workspace pubnub --public ./skills/pubnub-multiplayer-gaming
tessl skill publish --workspace pubnub --public ./skills/pubnub-order-delivery-driver
tessl skill publish --workspace pubnub --public ./skills/pubnub-telemedicine-
Edit the skill files - Update
SKILL.mdor reference files in the skill directory -
Bump the version - Update the version in
tile.json:{ "version": "0.2.0" } -
Re-publish - Run the publish command again:
tessl skill publish --workspace pubnub --public ./skills/<skill-name>
Each skill follows this directory structure:
skills/<skill-name>/
├── SKILL.md # Main skill definition with frontmatter
├── tile.json # Generated manifest (auto-created on first publish)
└── references/ # Supporting documentation
├── <topic-1>.md
├── <topic-2>.md
└── <topic-3>.md
Each SKILL.md requires YAML frontmatter:
---
name: skill-name
description: Short description for CLI display
license: PubNub
metadata:
author: pubnub
version: "1.0.0"
domain: real-time
triggers: comma, separated, keywords
role: specialist
scope: implementation
output-format: code
---After publishing, verify the skill is available:
tessl skill search pubnubAll skills are published to the pubnub workspace on tessl.io.
All skills are currently at version 0.1.2.
PubNub