WE

websocket-integration

Provides C# client implementation for connecting to Cortana AI dialogue services using WebSocket protocols.

Install

mkdir -p .claude/skills/websocket-integration && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10187" && unzip -o skill.zip -d .claude/skills/websocket-integration && rm skill.zip

Installs to .claude/skills/websocket-integration

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

通过 WebSocket 连接 Cortana AI 对话服务。编写 C# 客户端代码,实现发送消息、接收流式回复、附件传输、系统事件监听。触发关键词:WebSocket、WS 连接、远程对话、流式回复、AI 接入、实时通信。
113 charsno explicit “when” trigger
Advanced

Key capabilities

  • Connect C# client to Cortana AI
  • Send messages with attachments
  • Receive streaming AI responses
  • Listen to system events (TTS/STT)
  • Implement AOT-compatible serialization

How it works

It implements a WebSocket client using C# and Source Generator-based JSON serialization to ensure AOT compatibility and real-time streaming.

Inputs & outputs

You give it
User text and optional attachments
You get back
Streaming AI response tokens

When to use websocket-integration

  • Connect C# application to Cortana AI
  • Implement streaming AI dialogues
  • Handle AI attachments via WebSocket

About websocket-integration

Facilitates real-time AI communication by implementing a WebSocket client in C#. It handles streaming responses, system event listeners for TTS/STT, and secure attachment transmissions while adhering to AOT-compatible serialization standards.

通过 WebSocket 连接 Cortana AI 对话服务。编写 C# 客户端代码,实现发送消息、接收流式回复、附件传输、系统事件监听。触发关键词:WebSocket、WS 连接、远程对话、流式回复、AI 接入、实时通信。

When not to use it

  • When not using C#
  • When the Cortana service is unreachable

Prerequisites

Cortana AI service access

Limitations

  • Requires Source Generator for JSON serialization
  • Attachments must be local to the Cortana process

How it compares

It provides a specific, AOT-safe implementation pattern for real-time AI streaming, avoiding common reflection-based pitfalls.

Compared to similar skills

websocket-integration side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
websocket-integration (this skill)04moNo flagsAdvanced
dotnet-backend-patterns75moNo flagsAdvanced
azure-servicebus-dotnet33moReviewIntermediate
azure-eventgrid-dotnet13moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

dotnet-backend-patterns

wshobson

Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuration, caching, and testing with xUnit. Use when developing .NET backends, reviewing C# code, or designing API architectures.

722

azure-servicebus-dotnet

microsoft

Azure Service Bus SDK for .NET. Enterprise messaging with queues, topics, subscriptions, and sessions. Use for reliable message delivery, pub/sub patterns, dead letter handling, and background processing. Triggers: "Service Bus", "ServiceBusClient", "ServiceBusSender", "ServiceBusReceiver", "ServiceBusProcessor", "message queue", "pub/sub .NET", "dead letter queue".

316

azure-eventgrid-dotnet

microsoft

Azure Event Grid SDK for .NET. Client library for publishing and consuming events with Azure Event Grid. Use for event-driven architectures, pub/sub messaging, CloudEvents, and EventGridEvents. Triggers: "Event Grid", "EventGridPublisherClient", "CloudEvent", "EventGridEvent", "publish events .NET", "event-driven", "pub/sub".

11

mediatorlite-core

behl1anmol

Runtime implementation for MediatorLite -- AddMediatorLite() DI extension, the ThrowingMediator diagnostic fallback, the generated SourceGeneratedMediator (implements IMediator via ValueTask typed-switch dispatch), MediatorDiagnostics (ActivitySource + DiagnosticListener), and the Validation subsyst

00

azure-ai-voicelive-dotnet

wegonbeok45

Azure AI Voice Live SDK for .NET. Build real-time voice AI applications with bidirectional WebSocket communication.

00

cqrs-feature

FlorianDrevet

Use when touching backend feature slices in the .NET CQRS stack of this repository.

00

Search skills

Search the agent skills registry