Configures AI personas in Orchard Core using the CrestApps AI module: reusable characters with instructions, name, language, voice, and avatar. Covers the Personas feature, linking personas to profiles, recipe steps, deployment, and seeding via IAIPersonaManager or IAIPersonaProvider.
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 recipes and code that give AI profiles, profile templates, chat interactions and workflow tasks a reusable persona with the CrestApps AI module.
CrestApps.OrchardCore.AI.Personas (AI Personas, ships in the CrestApps.OrchardCore.AI package, depends on CrestApps.OrchardCore.AI). Install the package in the web/startup project.Name, which cannot change once saved. One persona per item, and it is optional.AIPersonas recipe step, or register them in code.{ "steps": [...] } and C# classes are sealed, except view models.| Item | Detail |
|---|---|
| Admin catalog | Artificial Intelligence > Personas (ai/personas, ai/persona/create, ai/persona/edit/{id}), guarded by ManageAIPersonas |
| Admin list | Orchard Core AdminList named AIPersonas (columns Name, Details, Actions); see orchardcore-admin-lists |
| Pickers | AI persona on the profile and Profile template Instructions tab, the chat interaction Settings panel, and the AI completion with configuration workflow task (needs CrestApps.OrchardCore.AI.Chat.Interactions and OrchardCore.Workflows) |
| Chat UI | Assistant name and avatar on assistant messages and the typing indicator in AI Chat, both widgets and Chat Interactions |
| Recipe step | AIPersonas (needs OrchardCore.Recipes.Core) |
| Deployment step | AI Personas (AIPersonaDeploymentStep with IncludeAll and PersonaIds, needs OrchardCore.Deployment) |
| Session record | AIChatSession.PersonaId records the persona a session started with |
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.AI.Personas"
],
"disable": []
},
{
"name": "AIPersonas",
"personas": [
{
"Name": "front-desk",
"DisplayText": "Front desk",
"Description": "Gracious and efficient.",
"Instructions": "You are {{ assistant_name }}, a gracious, efficient front-desk assistant.",
"AssistantName": "Ava",
"Language": "en-US",
"VoiceName": "alloy",
"VoiceDeploymentName": "gpt-realtime",
"AvatarUrl": "/media/avatars/ava.png"
}
]
},
{
"name": "AIProfile",
"Profiles": [
{
"Name": "support",
"DisplayText": "Support",
"Type": "Chat",
"PersonaId": "front-desk"
}
]
}
]
}
AIPersonas entry is matched by ItemId, then by Name, and updated in place; otherwise it is created. Name and Instructions are required for a new persona. DisplayText defaults to Name. CreatedUtc, OwnerId, Author and Properties are kept from an export.AIProfile, a top-level PersonaId links the persona; an empty value unlinks it and leaving the key out keeps the current link. Exported profiles carry the link in Properties.AIPersonaMetadata (PersonaId, plus optional Liquid Parameters).CrestApps.OrchardCore.Recipes enabled, the tenant exposes JSON schemas for the step, the deployment step and the profile's PersonaId. See orchardcore-crestapps-recipes.On every request the persona block goes first in the system message:
assistant_name holds the assistant name)Business rules come last, so they win any conflict with the persona's personality.
| Surface | Order |
|---|---|
| Chat sessions and realtime calls | Voice chosen for the call or session, then the profile or interaction voice, then the persona voice, then the deployment default |
| Turn-based automated calls | Activity voice, then subject flow voice, then the persona voice (only when chosen on a deployment of the same provider as the call's text-to-speech deployment), then the telephony provider default |
VoiceDeploymentName and its voice is used only on deployments of the same provider; elsewhere the deployment default is used and the log says why.Language sets the listening language of a spoken conversation when nothing else does, and turn-based calls speak and listen in it (es-MX listens for es). If the provider refuses the voice or language, the line is spoken again without the persona.Language: the caller is transcribed in its language part and the model is told to keep to it (RealtimeOrchestrationRequest.SpeechLanguage). Without a language the model hears and answers in whatever language the caller speaks.voice-conclusion-analysis, voice-handoff-summary) take a Language variable, the English name of the persona's language, so summaries and agent briefings are written in the call's language.AssistantName (the persona the conversation started with and the one its profile links now) through AIPersonaNamePrivacyHandler.See orchardcore-ai-realtime-voice and orchardcore-telephony for the call side.
Saved personas are ordinary catalog records: editors can change or delete them and they export.
public sealed class PersonaMigrations : DataMigration
{
private readonly IAIPersonaManager _personaManager;
public PersonaMigrations(IAIPersonaManager personaManager)
{
_personaManager = personaManager;
}
public async Task<int> CreateAsync()
{
var persona = await _personaManager.NewAsync("front-desk", new JsonObject
{
["DisplayText"] = "Front desk",
["Instructions"] = "You are {{ assistant_name }}, a gracious, efficient front-desk assistant.",
["AssistantName"] = "Ava",
});
var result = await _personaManager.ValidateAsync(persona);
if (result.Succeeded)
{
await _personaManager.CreateAsync(persona);
}
return 1;
}
}
[RequireFeatures("CrestApps.OrchardCore.AI.Personas")]
public sealed class PersonasStartup : StartupBase
{
public override void ConfigureServices(IServiceCollection services)
{
services.AddDataMigration<PersonaMigrations>();
}
}
A provided persona is read from code every time: every tenant that enables the module gets it, editors cannot delete it, it is marked From file, and it is not exported. Saving one in the editor creates a saved persona with the same name that replaces it; deleting that saved copy falls back to the file.
Put Markdown files in the module's Templates/Personas folder and register the assembly:
[RequireFeatures("CrestApps.OrchardCore.AI.Personas")]
public sealed class PersonasStartup : StartupBase
{
public override void ConfigureServices(IServiceCollection services)
{
services.AddCoreAIPersonasFromAssembly(typeof(PersonasStartup).Assembly);
}
}
Templates/Personas/front-desk.md (the file name is the technical name):
---
Title: Front desk
Description: Gracious and efficient.
AssistantName: Ava
Language: en-US
---
You are {{ assistant_name }}, a gracious, efficient front-desk assistant.
A site can also drop such files into Templates/Personas under its content root. For any other source, implement IAIPersonaProvider and register it with services.AddSingleton<IAIPersonaProvider, MyPersonaProvider>().
Profiles that use a deleted persona keep working without one. Deleting a persona that AI profiles still use shows how many were affected.
orchardcore-ai-profile-templates for blueprints that are copied rather than linkedorchardcore-ai-prompting for prompt templates that come after the persona blockorchardcore-ai-workflows for the AI completion with configuration taskcrestapps-core-ai-profiles for the framework persona APIWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
orchard-core, ai-personas, crestapps-ai, persona-management, ai-profiles
/crestapps-orchardcore:orchardcore-ai-personasfrom 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