Provides Orchard-aware AI tools for natural-language site management: content, definitions, features, tenants, recipes, users, roles, workflows, communications, and AI profiles. Use when working with agent profiles, tool invocation, or A2A/MCP exposure.
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.
The AI Agent module registers Orchard-aware tools that let an AI profile manage the site in natural language: content, content definitions, features, tenants, recipes, users, roles, workflows, communications, and AI profiles. Agent profiles (profiles of type Agent) are a separate concept that comes from the base AI module and can use these tools.
CrestApps.OrchardCore.AI.Agent; it depends on CrestApps.OrchardCore.AI and CrestApps.OrchardCore.Recipes. Install CrestApps.OrchardCore.AI.Agent in the web/startup project.getContentItemSchema is a system tool (auto-included, never in pickers). createOrUpdateContentItem depends on it and importOrchardCoreRecipe depends on getOrchardCoreRecipeJsonSchema, so selecting the main tool brings in its schema tool.orchardcore-ai-tools).{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.AI",
"CrestApps.OrchardCore.AI.Agent",
"OrchardCore.Contents",
"OrchardCore.ContentTypes",
"OrchardCore.Features",
"OrchardCore.Recipes.Core",
"OrchardCore.Users",
"OrchardCore.Roles",
"OrchardCore.Workflows"
],
"disable": []
}
]
}
Add OrchardCore.Tenants, OrchardCore.Email, OrchardCore.Sms, OrchardCore.Notifications, or CrestApps.OrchardCore.AI.Chat.Analytics only when you want those tool groups.
| Group | Requires | Tools |
|---|---|---|
| System and AI profiles | Base feature | listTimeZones, listAIProfiles, viewAIProfile |
| AI Conversations | Base feature | listAIConversations (every channel, newest first, by profile, status and time), viewAIConversation (transcript, variables, extracted fields, analysis, evaluations, flow stages), getAIContactMemory |
| AI Quality | CrestApps.OrchardCore.AI.Quality | summarizeAIQuality, listAITestCases, runAITests, listAIAlerts |
| Recipes | OrchardCore.Recipes.Core | applySiteSettings, getOrchardCoreRecipeJsonSchema, listOrchardCoreRecipeStepsAndSchemas, importOrchardCoreRecipe, listNonStartupRecipes, executeNonStartupRecipe |
| Tenants | OrchardCore.Tenants | listStartupRecipes, createTenant, getTenant, listTenant, enableTenant, disableTenant, removeTenant, reloadTenant, setupTenant |
| Content | OrchardCore.Contents | searchForContentItems, getSampleContentItemForContentType, publishContentItem, unpublishContentItem, getContentItemById, deleteContentItem, cloneContentItem, createOrUpdateContentItem, getLinkForContentItem |
| Content schema (system) | OrchardCore.Contents + CrestApps.OrchardCore.Recipes | getContentItemSchema |
| Content definitions | OrchardCore.ContentTypes | getContentTypeDefinition, getContentPartDefinition, listContentTypesDefinitions, listContentPartsDefinitions, listContentFieldDefinitions |
| Content definition changes | OrchardCore.ContentTypes + OrchardCore.Recipes.Core | removeContentTypeDefinition, removeContentPartDefinition, applyContentTypeDefinitionFromRecipe |
| Features | OrchardCore.Features | disableSiteFeature, enableSiteFeature, searchSiteFeature, listSiteFeature, getSiteFeature |
| Notifications | OrchardCore.Notifications | sendNotification |
OrchardCore.Email | sendEmail | |
| SMS | OrchardCore.Sms | sendSmsMessage |
| Users | OrchardCore.Users | getUserInfo, searchForUsers |
| Roles | OrchardCore.Roles | getRoleInfo |
| Workflows | OrchardCore.Workflows | getWorkflowType, listWorkflowTypes |
| Workflow changes | OrchardCore.Workflows + OrchardCore.Recipes.Core | createOrUpdateWorkflow, listWorkflowActivities |
| Analytics | CrestApps.OrchardCore.AI.Chat.Analytics | queryChatSessionMetrics |
listWorkflowActivities takes no parameters and returns every workflow activity with its name, display text,
category and whether it is an event or a task (it used to refuse calls without a workflowTypeId).
getOrchardCoreRecipeJsonSchema before importOrchardCoreRecipe. It returns the root { "steps": [...] } schema and can expand one step while still listing every valid step name. Recipe steps contributed by enabled features (including CrestApps steps such as Customers or IndexUsers) are listed by these tools and by the MCP recipe-step resource.getContentItemSchema for the parent and nested content types before createOrUpdateContentItem, and send nested items (BagPart, FlowPart, widgets) inside the parent payload. With CrestApps.OrchardCore.Recipes enabled the payload is validated against the content type's recipe schema and corrective guidance is returned when it does not match.An AI profile with Profile type Agent is a reusable specialist that other AI experiences can call.
| Field | Stored in | Meaning |
|---|---|---|
| Description | AIProfile.Description | What the agent does; used by orchestrators, A2A cards, and MCP tool descriptions |
| Availability | AgentMetadata.Availability | OnDemand (selectable per profile) or AlwaysAvailable (offered to every profile) |
| Let this agent use its tools | AgentMetadata.AllowToolInvocation | Off: the agent runs as a single completion with no tools, whatever is ticked on its Capabilities tab (CrestApps.Core AgentProxyTool). On: it runs its ticked tools |
Select on-demand agents in the Agents section of another profile's or template's Capabilities tab; the selection is stored in AgentInvocationMetadata.Names. Always-available agents are not listed there because they are always offered.
{
"steps": [
{
"name": "AIProfile",
"profiles": [
{
"Name": "content-editor-agent",
"DisplayText": "Content Editor Agent",
"Description": "Finds, drafts, and publishes site content on request.",
"Type": "Agent",
"ChatDeploymentName": "default-chat",
"Properties": {
"AIProfileMetadata": {
"SystemMessage": "You manage site content. Confirm before deleting anything."
},
"AgentMetadata": {
"Availability": "OnDemand",
"AllowToolInvocation": true
},
"FunctionInvocationMetadata": {
"Names": [ "searchForContentItems", "createOrUpdateContentItem", "publishContentItem" ]
}
}
}
]
}
]
}
An agent called by another agent never delegates further, so delegation is one level deep.
The module ships Agent profile templates (category Site management) on the New AI Profile picker,
greyed out until their features are enabled. Each sets ProfileType: Agent, AgentAvailability: OnDemand and
AllowToolInvocation: true and lists its tools in ToolNames:
Template (Name) | Requires | Tools |
|---|---|---|
| Content Agent | OrchardCore.Contents, OrchardCore.ContentTypes | The content management and content definition tools |
| Workflow Agent | OrchardCore.Workflows | The workflow tools |
AI Operations Agent (AIOperationsAgent) | Base feature | listAIProfiles, viewAIProfile, listAIConversations, viewAIConversation, getAIContactMemory, summarizeAIQuality, listAITestCases, runAITests, listAIAlerts, queryChatSessionMetrics |
A tool whose feature is off is skipped when the agent runs. No template ticks the tenant, feature, recipe or
settings tools. Template front-matter keys are in orchardcore-ai-profile-templates.
Each delegation costs at least one more completion plus the caller reading the answer, and details can be lost in the hand-off. The default orchestrator already trims large tool sets (scoping above 30 tools, planning above 100). Use an agent when an area needs many tools and its own instructions; tick tools directly when an assistant needs only a few. Never give one profile both an agent and that agent's tools.
Agent profiles can be exposed outside the site:
orchardcore-ai-a2a-host).McpServerOptions.Agents (or set ExposeAllAgents) to expose it as an MCP tool (orchardcore-ai-mcp-server).deleteContentItem calls IContentManager.RemoveAsync) and do not run their own content, feature, or tenant permission checks in the current source. The tool permission and the profile permission are the gates.AccessAITool_{toolName} at send time. An AI profile, and every agent it calls, runs exactly as configured: the profile is the authorization boundary and its conversations may be anonymous. Restrict who may query a profile that carries management tools..RequireApproval(), so in the chat UI and the admin widget the user must Allow each call first: deleteContentItem, removeContentTypeDefinition, removeContentPartDefinition, disableSiteFeature, disableTenant, removeTenant, setupTenant, importOrchardCoreRecipe, executeNonStartupRecipe, sendEmail and sendSmsMessage. Workflows, SMS and voice conversations cannot ask and run them as before.| Symptom | Check |
|---|---|
| A tool group is missing from the picker | Its Orchard Core feature is disabled, or the editing user lacks the tool permission. |
createOrUpdateContentItem produces invalid items | Enable CrestApps.OrchardCore.Recipes so getContentItemSchema is registered and payloads are validated. |
| An agent is not offered on another profile | It is AlwaysAvailable (already included) or not of type Agent. |
| An agent answers without using its tools | Let this agent use its tools (AllowToolInvocation) is off. |
| A2A clients see no agents | No profile has type Agent, or the A2A Host feature is disabled. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/crestapps-orchardcore:orchardcore-ai-agentfrom 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