PubNub Agent Skills: Accelerate AI Development with Real-Time Intelligence
TL;DR: Six PubNub skills are now available for AI-assisted coding. Install via Tessl CLI or Vercel Skills CLI and get expert upgrades for your AI agent. All agents are supported. Add real-time features directly in your workflow such as multiplayer games, sport score updates, delivery notifications, telemedicine and live chat experiences.
Why skills?
Building real-time applications with PubNub just got easier. Instead of tab-switching to documentation or searching Stack Overflow (haha just kidding, you use the AI right?), get expert guidance directly from your AI coding assistant.
Ask about pub/sub patterns, presence tracking, or serverless functions, and get contextual answers with production-ready code.
Quick install
Choose your preferred method:
Option 1: Tessl
# Search available PubNub skills
npx tessl skill search pubnub
Option 2: Vercel Skills
# Install all PubNub skills at once
npx skills add pubnub/skills
Both methods require no global installation. Just use npx and you're ready.
Six skills, one powerful toolkit
Each PubNub Agent Skill focuses on a different pillar of real-time development, and together these six skills give your AI assistant a complete toolkit for building production-ready PubNub applications.
pubnub-app-developer
Your starting point for PubNub development:
- Publish/subscribe patterns and message flow
- Channel naming conventions and hierarchies
- SDK initialization across platforms (JS, Python, Swift, Kotlin)
- Listener setup and error handling
pubnub-presence
Everything for "who's online" features:
- Admin Portal configuration for presence
- Join/leave/timeout event handling
- Occupancy tracking with hereNow
- Multi-device user synchronization
pubnub-functions
Serverless edge computing with PubNub Functions 2.0:
- Before/After Publish event handlers
- On Request HTTP endpoints
- KVStore, XHR, Vault, and Crypto modules
- Real-world patterns: rate limiting, webhooks, workflows
pubnub-security
Lock down your application:
- Access Manager (PAM) setup and grants
- The critical authKey vs token distinction
- AES-256 message encryption
- TLS 1.2+ requirements and configuration
pubnub-chat
Build chat apps with the PubNub Chat SDK:
- Direct messaging and group channels
- Typing indicators and read receipts
- Message reactions and threading
- User management patterns
pubnub-scale
Optimize for millions of users:
- Channel groups (up to 20,000 channels per client)
- Wildcard subscriptions for hierarchical data
- Message persistence and history API
- Performance tuning and batching strategies
What's in each skill?
Every skill includes:
- SKILL.md - Role definition, triggers, and workflow guidance
- Reference files - Deep-dive documentation with code examples
- Best practices - Patterns learned from production deployments
Real examples, real code
Each skill provides production-ready patterns:
A common pitfall the security skill catches:
How skills work
Once installed, skills are automatically available in your AI assistant. When you ask about PubNub topics, you get:
- Correct API usage patterns
- Common pitfalls and how to avoid them
- Production-ready code examples
- Platform-specific considerations
Ask: "How do I implement typing indicators with PubNub?"
Get: Complete implementation with the Chat SDK, including cleanup patterns and performance considerations.
Get started
Tessl:
Vercel Skills:
Learn More
Contributing
The skills are open source. Found an issue? Have an improvement?
- Fork the repository https://github.com/pubnub/skills
- Update the skill’s SKILL.md file and reference files
- Bump the version in tile.json
- Submit a PR
Build something real-time and build it faster with skills!
Questions? Reach out to support@pubnub.com