Skip to content
Back to skills

Validate Ws

ASecurity

Run a bounded, protocol-aware WebSocket probe with an OIDC bearer token

  • 11 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added August 31, 2026
developmentbackend

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned August 31, 2026

npx -y skills add johnkozaris/jko-claude-plugins --skill validate-ws --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Validate Ws?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Validate Ws
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/johnkozaris-validate-ws/badge)](https://www.skillsdirectory.com/skills/johnkozaris-validate-ws)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: validate-ws
description: Run a bounded, protocol-aware WebSocket probe with an OIDC bearer token
argument-hint: "<ws-path-or-url>"
user-invocable: true
---

# Validate WebSocket

Resolve `WS_BASE_URL` and `WS_PATH` (or a complete URL) from `$ARGUMENTS` and
project configuration. Confirm before contacting production.

Discover or ask for the application's first message, expected response,
subprotocol, and Origin policy. A generic JSON ping is not a WebSocket control
ping and must not be invented.

Use `$TOKEN` or `${TOKEN_COMMAND:-scripts/get-backend-token.sh}`; if missing,
route through `/backend-validator:get-dev-token`.

Run a one-message probe with a bounded command timeout and verified websocat
flags. Do not use verbose mode unless handshake evidence is needed, because it
can expose Authorization.

Report handshake, send, reply, timeout, close, and protocol evidence separately.
No reply is not automatically failure for a one-way protocol.

Load `references/websocat-patterns.md` for subprotocol, Origin, framing,
reconnect, and failure-interpretation details.

Files in this skill

  • SKILL.md1.1 KB
  • references/websocat-patterns.md1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.