Agent skill · software engineering · aiskillstore
azure-messaging-webpubsubservice-py
Azure Web PubSub Service SDK for Python. Use for real-time messaging, WebSocket connections, and pub/sub patterns.
Why this skill is useful
Provides specific commands and patterns for real-time messaging with Azure Web PubSub that the AI wouldn't reliably generate on its own.
What it needs
Requires azure-messaging-webpubsubclient, azure-messaging-webpubsubservice installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Azure Web PubSub Service SDK for Python Real-time messaging with WebSocket connections at scale. Installation Environment Variables Service Client (Server-Side) Authentication Generate Client Access Token Send to All Clients Send to User Send to Group Send to Connection Group Management Connection Management Grant/Revoke Permissions Client SDK (Python WebSocket Client) Async Service Client Client Operations Operation Description ----------- ------------- getclientaccesstoken Generate WebSocket connection URL sendtoall Broadcast to all connections sendtouser Send to specific user sendtogroup Send to group members sendtoconnection Send to specific connection addusertogroup Add user to group removeuserfromgroup Remove user from group closeconnection Disconnect client connectionexists Check connection status Best Practices 1. Use roles to limit client permissions 2. Use groups for targeted messaging 3. Generate short-lived tokens for security 4. Use user IDs to send to users across connections 5. Handle reconnection in client applications 6. Use JSON content type for structured data 7. Close connections gracefully with reasons When to Use This skill is applicable to execute the workflow or actions described in the overview. Limitations Use this skill only when the task clearly matches the scope described above. Do not treat the output as a substitute for environment-specific validation, testing, or expert review. Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/azure-messaging-webpubsubservice-py