Configures ad-hoc AI chat interactions in Orchard Core using CrestApps modules. Covers chat deployments, tools, agents, personas, prompt templates, Knowledge panel with OData filters, system tools for image/chart generation, and site-wide chat mode settings.
Ships in crestapps-orchardcore. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an Orchard Core expert. Generate code, configuration, and recipes for ad-hoc AI chat interactions, with optional document upload and retrieval, using the CrestApps modules.
CrestApps.OrchardCore.AI.Chat.Interactions gives chat without a predefined AI profile. It depends on OrchardCore.SignalR, OrchardCore.Liquid, CrestApps.OrchardCore.Resources, CrestApps.OrchardCore.AI and CrestApps.OrchardCore.AI.Chat.Core.orchardcore-ai-realtime-voice.SaveSettings) through the IChatInteractionSettingsHandler pipeline, so orchestrator-specific fields need no change to the hub or chat-interaction.js.CrestApps.OrchardCore.AI.Personas).generate_image and generate_chart, not interaction intents. generate_image needs a deployment declaring imageOutput in the image slot.ChatInteractionChatModeSettings). An interaction has no chat mode of its own.{ "steps": [...] } format and C# classes are sealed, except view models.{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.AI.Chat.Interactions",
"CrestApps.OrchardCore.OpenAI"
],
"disable": []
}
]
}
| Permission | Allows |
|---|---|
ListChatInteractions | Open Artificial Intelligence > Chat Interactions |
ListChatInteractionsForOthers | See other users' interactions |
EditChatInteractions / EditOwnChatInteractions | Change interaction settings; changing the site chat mode needs EditChatInteractions |
DeleteChatInteraction / DeleteOwnChatInteraction | Delete interactions |
ManageChatInteractionSettings | Chat interaction memory settings |
The list renders through Orchard Core's AdminList shape as AIChatInteractions (rows ChatInteraction_SummaryAdmin; grid columns Name, Modified, Actions; bulk Delete). Add a column with an IAdminListColumnsProvider for AIChatInteractions; see orchardcore-admin-lists. AI Profile Builder sessions are kept out of this list; see orchardcore-ai-profile-builder.
CrestApps.OrchardCore.AI.DataSources enabled, pick a data source and set strictness, retrieved document count, scope restriction and an OData filter. An invalid filter rejects the save with "Invalid filter value. It must be a valid OData filter."search_data_sources tool the model calls uses the same filter, strictness and document count as preemptive retrieval.orchardcore-ai-data-sources.Chunk or Hierarchical) appears with the AI Documents features; blank uses the site default.CrestApps.OrchardCore.AI.Documents.ChatInteractions adds uploads to the Knowledge panel. Pair it with a vector store module.
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.AI.Chat.Interactions",
"CrestApps.OrchardCore.AI.Documents.ChatInteractions",
"CrestApps.OrchardCore.AI.Documents.Elasticsearch",
"CrestApps.OrchardCore.AI.Documents.Pdf",
"CrestApps.OrchardCore.AI.Documents.OpenXml",
"CrestApps.OrchardCore.OpenAI"
],
"disable": []
}
]
}
textEmbedding.Uploads pass through Orchard Core's file creation pipeline first, so enabling OrchardCore.Antivirus scans them. Extraction, tabular data and the PowerPoint, Word and PDF agents belong to orchardcore-ai-documents and orchardcore-ai-documents-extractors.
{
"OrchardCore": {
"CrestApps": {
"AI": {
"Deployments": [
{
"Name": "gpt-4o",
"ClientName": "OpenAI",
"ConnectionName": "openai",
"Properties": {
"AIDeploymentMetadata": {
"Features": [ "textGeneration", "toolCalling", "streaming" ]
}
}
},
{
"Name": "dall-e-3",
"ClientName": "OpenAI",
"ConnectionName": "openai",
"Properties": {
"AIDeploymentMetadata": {
"Features": [ "imageOutput" ]
}
}
}
]
}
}
}
}
Select dall-e-3 as Default image deployment in Settings > Artificial Intelligence, or on the interaction. generate_chart returns a Chart.js configuration and needs no image deployment. See orchardcore-ai-model-capabilities for slots.
Site setting (ChatInteractionChatModeSettings) | Meaning |
|---|---|
ChatMode | TextInput (default), AudioInput or Conversation for every interaction |
EnableTextToSpeechPlayback | Adds a read-aloud button to each answer (needs a text-to-speech deployment) |
Set them on the Chat interactions card of Settings > Artificial Intelligence. In Conversation mode, naming a Conversation deployment on an interaction (ChatInteraction.ConversationDeploymentName) is how that interaction asks to speak; the per-interaction Voice picker lists the voices of whichever model resolves. A site can no longer force realtime globally through this setting.
Cloning an interaction copies its data source, filter, strictness, document count, scope restriction, tool instances, model parameters and prompt templates. Data that belongs to one user, such as a Copilot session's access tokens, is not copied.
Implement IChatInteractionSettingsHandler to persist extra fields that the settings panel posts, the way the Claude and Copilot orchestrators store ClaudeSessionMetadata and CopilotSessionMetadata. Render the fields with a DisplayDriver<ChatInteraction>.
| Method | Purpose |
|---|---|
LoadInteraction | Load an interaction and join its group |
SendMessage | Stream a reply to a typed prompt |
SaveSettings | Persist interaction settings, including agents, tools and persona |
ClearHistory | Clear the interaction's messages |
SendAudioStream | Stream audio for dictation |
StartConversation / StopConversation | Speech-to-text plus text-to-speech conversation |
StartRealtimeConversation / StartRealtimeWebRtc | Realtime voice over WebSocket or WebRTC |
GetRealtimeIceServers, AddRealtimeIceCandidate, UpdateRealtimeSettings, UpdateRealtimeSpeechSpeed | Realtime session control |
SynthesizeSpeech | Read an answer aloud |
HandleNotificationAction | Run a notification action, see orchardcore-ai-chat-notifications |
Large tabular documents are processed in batches configured under CrestApps:AI:ChatInteractions:BatchProcessing (RowBatchSize default 25, MaxConcurrentBatches 3, MaxRowsPerDocument 1000, BatchTimeoutSeconds 300). User memory for interactions is covered by orchardcore-ai-memory.
"Purpose": "Chat", "Image" or "Embedding" on deployments with Properties.AIDeploymentMetadata.Features (textGeneration, imageOutput, textEmbedding). Legacy purposes still import.AdminList shape. A whole-row theme override only applies to the List layout; customize the Grid with SummaryAdminGrid placement or AdminListCell-AIChatInteractions-{Column}.cshtml.See ai-chat-interactions-examples.md for complete recipes.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
orchard-core, ai-chat, chat-interactions, crestapps, signalr
/crestapps-orchardcore:orchardcore-ai-chat-interactionsfrom crestapps-orchardcore
npx claudepluginhub crestapps/crestapps.agentskills --plugin crestapps-orchardcore137 skills in this plugin
/orchardcore-accountsSkill for the CrestApps Orchard Core Accounts module (CrestApps.OrchardCore.Accounts) with its Account Members, Account Team, Account E-mail Domains and Account Locations features. Covers the Account type and AccountPart, the account picker and search, IAccountChildTypeRule, account page sections (AccountPageTabs, AddPageSection, Notes), members and IAccountMemberService, account invitations, the account owner and team picked from staff, e-mail domains, locations with a billing location, the account's billing profile and party members, the Accounts recipe and deployment steps, and the admin menu. Use this skill when requests mention accounts, the businesses or households records belong to, an account page tab, members, invitations, owners, domains or locations. Strong matches include AccountPart, AccountPageTabs, IAccountMemberService, IAccountInvitationService, AccountInvitation, AccountTeamPart, AccountEmailDomainsPart, IAccountEmailDomains, AccountLocationsPart and ManageAccountMembers./orchardcore-accounts-b2bSkill for the CrestApps Orchard Core Accounts B2B module (CrestApps.OrchardCore.Accounts.B2B), business selling on an Account content item. Covers B2BAccountPart and B2BAccount, buyers as account members and ship-to addresses as account locations, terms (deposit, net days, credit limit) through the account-terms tender billed to the account, the account's billing profile, purchase order numbers, quotes, price lists through IBuyerPriceProvider, order limits, approvals and budgets, OCI punchout, the account/business page and API, the PriceLists recipe and deployment steps, the B2BAccounts report source, and the move from the removed Companies module. Use this skill when requests mention B2B, wholesale or business buyers, net terms, purchase orders, price lists, order approvals or punchout. Strong matches include B2BAccountPart, B2BAccount, AccountTerms, AccountTermsTenderProvider, B2BAccountBillingProfileSource, IB2BAccountStore, PriceList, B2BPriceProvider, B2BApprovalService and ManageB2BAccounts.Other plugins' skills for the same job