Individual skill
crestapps-core-external-relays
Skill for implementing and managing persistent external chat relays in CrestApps.Core 2.0 using IExternalChatRelay, IExternalChatRelayManager and its ExternalChatRelayConnectionManager singleton, ExternalChatRelayContext, IExternalChatRelayEventHandler, IExternalChatRelayNotificationHandler, IExternalChatRelayNotificationBuilder and ExternalChatRelayEventTypes. Use it when bridging AI chat sessions or chat interactions to a live-agent or other external chat platform through a deferred response handler.
src/CrestApps.AgentSkills/crestapps-core/crestapps-core-external-relays/SKILL.md
Source commit d86d04f234b1b2bd8145368a2544490f9d557596
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Instructions only
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 13
- Repository last updated
- Oct 21, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai Repository topic
- ai-agents-framework Repository topic
- dotnet Repository topic
- mcp Repository topic
- mcp-server Repository topic
- orchardcore Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 4,074 bytes
Read excerpt
# CrestApps.Core External Chat Relays
## Scope
`IExternalChatRelay` is the contract for a persistent, bidirectional connection to a live-agent or other external chat platform. An implementation supplies connection, prompt, signal, disconnect, and async-disposal behavior; the transport is application-defined.
The core packages ship no `IExternalChatRelay` implementation, only the manager: `ExternalChatRelayConnectionManager` is registered by `AddCoreAIOrchestration()` as the singleton `IExternalChatRelayManager` and tracks relay instances by session ID. Its members are `GetOrCreateAsync(sessionId, context, factory, cancellationToken)`, `Get(sessionId)` and `CloseAsync(sessionId, cancellationToken)`.
## Connect and Close a Relay
Create the relay in the factory passed to the manager. The manager connects it, disposes a failed connection attempt, and disposes an extra instance if a concurrent caller won the same session ID.
```csharp
var relay = await relayManager.GetOrCreateAsync(