Configures the Claude chat orchestrator in Orchard Core via the CrestApps AI Chat Claude module. Covers tenant settings, encrypted Anthropic credentials, model discovery, effort selection on AI profiles, templates, chat interactions, and permission management.
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.
None: SKILL.md is the whole skill.
You are an Orchard Core expert. Generate configuration, recipes, and extension code for Claude as an Orchard-managed chat orchestrator using CrestApps modules. Claude is not an AI provider connection or deployment provider in this integration.
CrestApps.OrchardCore.AI.Chat.Claude to make the Claude orchestrator available to AI Profiles, profile-source AI Profile Templates, and Chat Interactions.CrestApps.OrchardCore.AI; enable the feature rather than treating it as an OpenAI-compatible connection.ClaudeOptionsConfiguration binds shell configuration from CrestApps:AI:Claude, then overlays tenant ClaudeSettings.BaseUrl and DefaultModel override corresponding shell values only when populated.ProtectedApiKey encrypted with ASP.NET Core Data Protection. Never put a production Anthropic key in a recipe, source file, or committed configuration.ApiKey and an encrypted API key exists.ClaudeSettingsDisplayDriver exposes the tenant settings editor and ClaudeModelSelectListFactory obtains models from the configured Claude endpoint.Default, Low, Medium, and High.ManageClaudeSettings only to roles that may change tenant Claude credentials and defaults.| Feature | Feature ID | Purpose |
|---|---|---|
| AI Services | CrestApps.OrchardCore.AI | Shared profile, deployment, and orchestration infrastructure |
| AI Claude Orchestrator | CrestApps.OrchardCore.AI.Chat.Claude | Claude orchestration, settings, and profile editors |
| AI Chat | CrestApps.OrchardCore.AI.Chat | Profile chat user interface when an in-site chat UI is required |
| AI Chat Interactions | CrestApps.OrchardCore.AI.Chat.Interactions | Ad-hoc chat interaction editor and hub |
Install the orchestrator package in the web/startup project:
dotnet add package CrestApps.OrchardCore.AI.Chat.Claude
Enable the core and Claude features. Add a chat UI feature only when the application needs it:
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.AI",
"CrestApps.OrchardCore.AI.Chat.Claude",
"CrestApps.OrchardCore.AI.Chat"
],
"disable": []
}
]
}
Provide non-secret defaults through the tenant shell configuration. Use user secrets, environment variables, or a secret store for the API key.
{
"CrestApps": {
"AI": {
"Claude": {
"BaseUrl": "https://api.anthropic.com",
"DefaultModel": "claude-sonnet-4-5"
}
}
}
}
The configuration key is CrestApps:AI:Claude (ApiKey, BaseUrl default https://api.anthropic.com, DefaultModel). This module binds ClaudeOptions from that section before it reads tenant site settings. The example above is a tenant App_Data/Sites/{tenant}/appsettings.json; the host appsettings.json wraps the same keys in OrchardCore, and the environment-variable form is OrchardCore__CrestApps__AI__Claude__ApiKey.
CrestApps.Core reads ClaudeOptions through IOptionsSnapshot<ClaudeOptions>, so saved site settings apply on the next request without a tenant restart.
ClaudeOptionsConfiguration uses a data-protection purpose specific to Claude settings to unprotect the saved key for runtime use. A decryption failure logs a warning and leaves the key unavailable instead of exposing the secret.
Use Claude session settings for per-profile behavior. Do not create an AIProviderConnection or an AIDeployment merely to select the Claude orchestration runtime.
The orchestrator is registered under the name anthropic (title Claude). In a recipe, set OrchestratorName and store the per-profile values in ClaudeSessionMetadata:
{
"steps": [
{
"name": "AIProfile",
"Profiles": [
{
"Name": "claude-assistant",
"DisplayText": "Claude Assistant",
"Type": "Chat",
"OrchestratorName": "anthropic",
"Properties": {
"AIProfileMetadata": {
"SystemMessage": "You are a concise technical assistant."
},
"ClaudeSessionMetadata": {
"ClaudeModel": "claude-sonnet-4-5",
"EffortLevel": "Medium"
}
}
}
]
}
]
}
Use a profile-source AI Profile Template when multiple profiles should start with the same Claude model and reasoning effort:
AIProfileTemplateClaudeDisplayDriver stores the template settings, and the template-to-profile flow propagates them to the generated profile.
Enable CrestApps.OrchardCore.AI.Chat.Interactions when administrators need ad-hoc interactions rather than predefined profiles:
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.AI",
"CrestApps.OrchardCore.AI.Chat.Claude",
"CrestApps.OrchardCore.AI.Chat.Interactions"
],
"disable": []
}
]
}
In the interaction settings panel, select Claude, then select an available model and effort level. ChatInteractionClaudeDisplayDriver renders the fields, and CrestApps.Core's ClaudeChatInteractionSettingsHandler (an IChatInteractionSettingsHandler) stores them as ClaudeSessionMetadata when the panel saves over SignalR, without changing the generic interaction infrastructure.
The module registers ClaudePermissionProvider and the ManageClaudeSettings permission. Administrators receive it by default.
Assign the permission through a role only to trusted operators:
ManageClaudeSettings).| Type | Responsibility |
|---|---|
ClaudeOptionsConfiguration | Binds shell options, overlays site settings, and unprotects the API key |
ClaudeSettingsDisplayDriver | Renders and updates tenant Claude settings |
ClaudeModelSelectListFactory | Builds model choices from the configured Claude service |
ClaudeOrchestratorAvailabilityProvider | Reports whether Claude can be selected |
AIProfileClaudeDisplayDriver | Adds Claude settings to an AI Profile editor |
AIProfileTemplateClaudeDisplayDriver | Adds Claude settings to a profile-template editor |
ChatInteractionClaudeDisplayDriver | Adds Claude settings to a Chat Interaction editor |
ClaudePermissionProvider | Provides ManageClaudeSettings, which AddSiteSettingsPermission also accepts for the Settings > Artificial Intelligence group |
ClaudeChatInteractionSettingsHandler | CrestApps.Core handler that saves the interaction's Claude fields |
dotnet user-secrets locally and environment variables, Key Vault, or an equivalent secret provider in production.ManageClaudeSettings only to trusted tenant administrators.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
orchard-core, claude-orchestrator, crestapps, ai-chat, anthropic
/crestapps-orchardcore:orchardcore-ai-chat-claudefrom 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