Manages AI provider connections in Orchard Core: admin list, editors, API key encryption, managed identity, read-only config connections, recipe/deployment steps, and troubleshooting.
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.
A connection stores the endpoint and credentials for one provider account. Deployments name a connection
through ConnectionName; profiles name deployments. This skill covers the connection layer only; for
deployments and capabilities see orchardcore-ai and orchardcore-ai-model-capabilities.
CrestApps.OrchardCore.AI.ConnectionManagement to get the Artificial Intelligence > Provider
Connections screen, the provider connection editors and the AIProviderConnections recipe step. The
step is registered only while this feature is enabled.CrestApps.OrchardCore.OpenAI, CrestApps.OrchardCore.OpenAI.Azure,
CrestApps.OrchardCore.AzureAIInference, CrestApps.OrchardCore.Ollama) in the web/startup project and
enable its feature.AIProviderConnection).
Data protection keys must be shared across nodes and preserved across deployments, or stored keys cannot
be decrypted.ManageProviderConnections (granted to Administrator) controls the screen.appsettings.json are listed separately and are read-only.| Provider | Feature ID | Source / ClientName | Metadata object in Properties | Authentication |
|---|---|---|---|---|
| OpenAI and OpenAI-compatible | CrestApps.OrchardCore.OpenAI | OpenAI | OpenAIConnectionMetadata (Endpoint, ApiKey) | API key |
| Azure OpenAI | CrestApps.OrchardCore.OpenAI.Azure | Azure | AzureConnectionMetadata (Endpoint, AuthenticationType, ApiKey, IdentityId) | Default, ManagedIdentity, ApiKey |
| Azure AI Inference (GitHub Models) | CrestApps.OrchardCore.AzureAIInference | AzureAIInference | AzureAIInferenceConnectionMetadata (same keys as Azure) | Default, ManagedIdentity, ApiKey |
| Ollama | CrestApps.OrchardCore.Ollama | Ollama | none; a plain Endpoint key | none |
| Custom LLM (WebSocket) | CrestApps.OrchardCore.AI.CustomLlm | CustomLlm | none; plain Endpoint (wss://, or https:// used as wss://) and optional ApiKey keys read through GetEndpoint() / GetApiKey() | optional API key, sent as a bearer token |
ElevenLabs, Cartesia and Azure AI Speech deployments carry their own connection (API key and endpoint on the
deployment) and need no provider connection; see orchardcore-ai-providers.
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.AI.ConnectionManagement",
"CrestApps.OrchardCore.OpenAI"
],
"disable": []
}
]
}
Artificial Intelligence > Provider Connections (/Admin/ai/provider/connections) lists stored
connections in Orchard Core's AdminList (list name AIProviderConnections) with search, bulk Delete
and the List or Grid layout. Configuration-backed connections appear below in a read-only list
(AIProviderConnectionsReadOnly) without select, edit or delete. Add connection asks for the provider
first, then shows that provider's editor. To add a column or row action, use IAdminListColumnsProvider or
a SummaryAdminGrid placement (see orchardcore-admin-lists).
A missing API key on an OpenAI connection is reported under API key (it used to show under Endpoint).
Each deployment that uses the connection can carry its prices on its Pricing card, for estimated costs in
the usage report (see orchardcore-ai-usage-analytics). Editor buttons sit in Orchard Core's sticky bottom
action bar.
The step matches an existing connection by ItemId, or by Name plus Source, and creates it otherwise.
{
"steps": [
{
"name": "AIProviderConnections",
"Connections": [
{
"Source": "OpenAI",
"Name": "openai-cloud",
"DisplayText": "OpenAI",
"Properties": {
"OpenAIConnectionMetadata": {
"Endpoint": "https://api.openai.com/v1",
"ApiKey": "{{OpenAIApiKey}}"
}
}
},
{
"Source": "Azure",
"Name": "azure-openai",
"DisplayText": "Azure OpenAI (managed identity)",
"Properties": {
"AzureConnectionMetadata": {
"Endpoint": "https://my-resource.openai.azure.com/",
"AuthenticationType": "ManagedIdentity",
"IdentityId": "optional-user-assigned-client-id"
}
}
},
{
"Source": "AzureAIInference",
"Name": "github-models",
"DisplayText": "GitHub Models",
"Properties": {
"AzureAIInferenceConnectionMetadata": {
"Endpoint": "https://models.inference.ai.azure.com",
"AuthenticationType": "ApiKey",
"ApiKey": "{{GitHubToken}}"
}
}
},
{
"Source": "Ollama",
"Name": "local-ollama",
"DisplayText": "Local Ollama",
"Properties": {
"Endpoint": "http://localhost:11434"
}
}
]
}
]
}
AuthenticationType: "ApiKey" requires ApiKey; ManagedIdentity without IdentityId uses the
system-assigned identity; Default uses the Azure default credential chain.Source: "OpenAI"
with that service's Endpoint.Source stops the step with "Unable to find a connection-source that can handle the source".AIDeployment step that names it in ConnectionName.{
"OrchardCore": {
"CrestApps": {
"AI": {
"Connections": [
{
"Name": "azure-openai",
"ClientName": "Azure",
"Endpoint": "https://my-resource.openai.azure.com/",
"AuthenticationType": "ApiKey",
"ApiKey": "<from a secret store>"
},
{
"Name": "local-ollama",
"ClientName": "Ollama",
"Endpoint": "http://localhost:11434"
}
]
}
}
}
}
Configuration connections use flat keys and ClientName. Entries are addressed by index, so
OrchardCore__CrestApps__AI__Connections__0__ApiKey replaces the key of the first entry; use a high index
(for example __90__) to add a connection beside existing ones. The older CrestApps_AI:Providers shape is
still read. Both stored and configured connections appear in deployment editors.
The AI Provider Connections deployment step (AIProviderConnectionDeploymentStep) exports all
connections (IncludeAll) or selected ones (ConnectionIds) as an AIProviderConnections recipe step.
API keys are written as empty strings, so re-enter them after import through the admin, a follow-up
recipe, or configuration.
| Symptom | Check |
|---|---|
Recipe step AIProviderConnections is unknown | Enable CrestApps.OrchardCore.AI.ConnectionManagement before the step runs |
| Provider missing from Add connection | Enable the provider feature |
| Stored key fails after redeploy or on another node | Data protection keys were not shared or persisted |
| A configuration connection cannot be edited | It is read-only by design; change configuration instead |
| A deployment cannot find its connection | ConnectionName must match the connection Name exactly |
orchardcore-ai-providers for per-provider setup, deployments and the Azure Speech deployment.orchardcore-ai for deployments, profiles and AI settings.orchardcore-ai-model-capabilities for what deployments declare.orchardcore-deployments and orchardcore-recipes for deployment plans and recipe mechanics.What SKILL.md sets; muted values are Claude Code's defaults
/crestapps-orchardcore:orchardcore-ai-connectionsfrom 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