orchardcore-websockets

orchardcore-websockets is a skill for Claude Code from CrestApps/CrestApps.AgentSkills. It costs 200 tokens per session (1,908 once invoked), scanned A, original, MIT.

A guide to the CrestApps Orchard Core WebSockets module, which adds support for raw WebSocket connections to an Orchard Core tenant. WebSockets are long-lived two-way connections between a browser or client and a server.

In plain words
What is it for?
Use it to accept raw WebSocket upgrades, create short-lived rendezvous keys, manage connection callbacks, and configure modules without confusing this with SignalR.
Why use it?
It explains the middleware dependency and the routing and security constraints that apply when connections must stay on one server.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the crestapps-orchardcore plugin — 94 skills shipped together

Good fit Use it to accept raw WebSocket upgrades, create short-lived rendezvous keys, manage connection callbacks, and configure modules without confusing this with SignalR.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/crestapps/crestapps.agentskills/orchardcore-websockets
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CrestApps/CrestApps.AgentSkills --skill orchardcore-websockets
Clone the repo
git clone --depth 1 https://github.com/CrestApps/CrestApps.AgentSkills

Made for: Claude Code.

Or install crestapps-orchardcore, the plugin that ships this one along with the rest of its 94 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for orchardcore-websockets

README.md
[![agentmods](https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-websockets/github.svg)](https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-websockets)
Your own site
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-websockets"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-websockets/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for orchardcore-websockets

Your own site · 80×15
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-websockets"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-websockets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 200 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,908 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00200 $0.01908
Opus 5.5 $0.00080 $0.00763
Sonnet 5.5 $0.00040 $0.00382
Haiku 4.5 $0.00020 $0.00191

Measured today against content hash a4ed167aa8dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

orchardcore-websockets scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/crestapps-orchardcore/skills/orchardcore-websockets/SKILL.md · 186 lines

How it starts

The opening of the file, as written. The whole thing — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Orchard Core WebSockets - Prompt Templates

Host Raw WebSocket Endpoints

You are an Orchard Core expert. Generate accurate code and configuration for features that accept raw WebSocket upgrades (HttpContext.WebSockets.AcceptWebSocketAsync()) in a CrestApps Orchard Core tenant.

Guidelines

  • The Orchard Core host does not run app.UseWebSockets(). Without it a raw upgrade is refused. SignalR does not need it (see orchardcore-signalr).
  • CrestApps.OrchardCore.WebSockets is the single place the middleware is added. It is EnabledByDependencyOnly, so it never shows as a toggle; declare it as a dependency of your feature instead of enabling it in a recipe.
  • Depend on the contracts in CrestApps.OrchardCore.WebSockets.Abstractions (IWebSocketConnectionRegistry, WebSocketRendezvous), not on the module's host wiring.
  • Use unguessable, single-use keys for every rendezvous, and remove the key when the starter times out.
  • A live socket cannot move between nodes. Route provider callbacks back to the node that started them.
  • Install third-party module packages in the web/startup project.
  • All recipe JSON must be wrapped in { "steps": [...] }.
  • All C# classes must use the sealed modifier, except for View Models.

Feature Overview

Item Value
Module package CrestApps.OrchardCore.WebSockets (category Infrastructure)
Feature ID CrestApps.OrchardCore.WebSockets (WebSocketsConstants.Feature.Area)
Enabled by Dependency only (for example the CrestApps.OrchardCore.Telnyx feature)
Contracts package CrestApps.OrchardCore.WebSockets.Abstractions (namespace CrestApps.OrchardCore.WebSockets)
Configuration section CrestApps:WebSockets (WebSocketsConstants.ConfigurationSectionPath), bound to ASP.NET Core WebSocketOptions
Default registry InMemoryWebSocketConnectionRegistry (per node)
Distributed registry DistributedWebSocketConnectionRegistry, active when OrchardCore.Redis is enabled

Read the full file on GitHub · 186 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 186 lines · 200 tokens per session scan A a4ed167aa8dc

Subscribe to this mod's changes

orchardcore-websockets is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (13 stars, last pushed today), licensed MIT. It adds 200 tokens to every session and 1,908 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-22.

Related

Other skills, from other repositories

tech-specs

To define clear, testable tech specs from requirements — target-state architecture, contracts, interfaces.

griddynamics/rosetta · 23 tokens

sast-idor

Detect Insecure Direct Object Reference (IDOR) vulnerabilities in a codebase using a three-phase approach: recon (find candidates), batched verify (check authorization in parallel subagents, 3 candidates each), and merge (consolidate batch results). Checks endpoints for missing ownership or authorization checks on…

capture0x/YeepForge · 103 tokens

api-mirror

Stand up a persistent, self-refreshing local mirror of a bulk upstream dataset with the MirrorService (@cyanheads/mcp-ts-core/mirror). Use when a server wraps a large or slow API and should query a synced local index (embedded SQLite + FTS5) instead of paginating the live API per request.

cyanheads/pubchem-mcp-server · 68 tokens

add-service

Scaffold a new service integration. Use when the user asks to add a service, integrate an external API, or create a reusable domain module with its own initialization and state.

cyanheads/nhtsa-vehicle-safety-mcp-server · 38 tokens

api-utils

API reference for all utilities exported from @cyanheads/mcp-ts-core/utils. Use when looking up utility method signatures, options, peer dependencies, or usage patterns.

cyanheads/openfda-mcp-server · 37 tokens

api-workers

Cloudflare Workers deployment using createWorkerHandler from @cyanheads/mcp-ts-core/worker. Covers the full handler signature, binding types, CloudflareBindings extensibility, runtime compatibility guards, and wrangler.toml requirements.

cyanheads/musicbrainz-mcp-server · 51 tokens