azure-messaging-webpubsub-java
Skill by sickn33
Guides developers through the Azure Web PubSub SDK for Java. It covers sending real-time messages, managing groups and connections, and issuing client access tokens for WebSocket apps.
Install azure-messaging-webpubsub-java
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-messaging-webpubsub-java ~/.claude/skills/azure-messaging-webpubsub-javaRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install azure-messaging-webpubsub-java in Claude Code
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-messaging-webpubsub-java ~/.gemini/antigravity-cli/skills/azure-messaging-webpubsub-javaAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install azure-messaging-webpubsub-java in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant guidance for the Azure Web PubSub SDK for Java, using version 1.5.0 as shown in its Maven dependency. It explains how to create a WebPubSubServiceClient with a connection string, an access key, or DefaultAzureCredential, and how to build an async client. The examples cover sending messages to all connections, to a group, to a specific connection, or to a user.
It also covers adding and removing connections and users from groups, closing connections, and generating client access tokens with user IDs, roles, groups, and expiration times. It includes grant, revoke, and check permission calls. The source stresses issuing tokens only from an authenticated server, using group-scoped roles, and not logging bearer URLs. It is aimed at developers building WebSocket messaging, live updates, chat, or server-to-client push features in Java.
Written from the project's SKILL.md and checked against it.
What it can do
- Send to allSends a text or JSON message to all connections in a hub, with optional filters.
- Send to groupSends a message to all connections in a named group.
- Send to connectionSends a private message to one connection by its ID.
- Send to userSends a message to all connections belonging to a specific user.
- Manage groupsAdds or removes connections and users from groups and checks group membership.
- Manage connectionsChecks whether connections or users exist and closes connections or groups.
- Generate client access tokensCreates client tokens with user ID, roles, groups, and custom expiration.
- Grant and revoke permissionsGrants, revokes, and checks send or join permissions for connections.
- Async operationsSends messages and runs group calls through the async client using reactive callbacks.
What you need
- Java runtime
- Maven or another build tool to add the azure-messaging-webpubsub dependency
- An Azure Web PubSub resource
- Connection string, access key, or Azure identity for authentication
Try asking
- Write Java code that sends a JSON notification to all users in a Web PubSub hub.
- Create a Java method that issues a client access token with group-scoped send roles.
- Show how to add a connection to a premium-users group using the Java SDK.
Good to know
- Snippets omit complete authentication and retry logic.
- Service acceptance does not confirm that every client received or processed a message.
- Unrestricted join or send roles allow access to any group in the hub.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/azure-messaging-webpubsub-java/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB
Alternatives to azure-messaging-webpubsub-java
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
azure-messaging-webpubsub-java: common questions
What is Azure Web PubSub SDK for Java used for?
The source says it is used to build real-time web applications with WebSocket-based messaging, live updates, chat, and server-to-client push notifications.
How do I authenticate the client?
The source shows three options: a connection string, an access key with an endpoint, or DefaultAzureCredential with an endpoint.
Are there security notes in the source?
Yes. The source advises issuing client tokens only from an authenticated server, using short expirations, and never logging bearer URLs or connection secrets.
How do I install azure-messaging-webpubsub-java?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is azure-messaging-webpubsub-java free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is azure-messaging-webpubsub-java safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to azure-messaging-webpubsub-java?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
