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.zipInstalls 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 接入、实时通信。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
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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| websocket-integration (this skill) | 0 | 4mo | No flags | Advanced |
| dotnet-backend-patterns | 7 | 5mo | No flags | Advanced |
| azure-servicebus-dotnet | 3 | 3mo | Review | Intermediate |
| azure-eventgrid-dotnet | 1 | 3mo | Review | Intermediate |
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.
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".
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".
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
azure-ai-voicelive-dotnet
wegonbeok45
Azure AI Voice Live SDK for .NET. Build real-time voice AI applications with bidirectional WebSocket communication.
cqrs-feature
FlorianDrevet
Use when touching backend feature slices in the .NET CQRS stack of this repository.