Configures Azure AI Search as a persistent vector store for CrestApps Orchard Core AI Memory. Covers index profiles, embedding dimensions, user-scoped retrieval, and provider registrations.
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. Configure Azure AI Search for persistent user-memory vector indexing and semantic retrieval. Maintain the strict authenticated-user filter and use the provider-managed profile mappings.
CrestApps.OrchardCore.AI.Memory.AzureAI.CrestApps.OrchardCore.AI.Memory, OrchardCore.Indexing, and OrchardCore.AzureAI; the base AI Memory feature is enabled by dependency.AzureAISearchMemoryVectorSearchService as a keyed IMemoryVectorSearchService using AzureAISearchConstants.ProviderName.| Registration | Purpose |
|---|---|
AIMemoryAzureAISearchIndexProfileHandler | Creates, updates, and normalizes Azure Search memory mappings. |
AIMemoryAzureAISearchDocumentIndexHandler | Builds Azure index documents from persisted memory records. |
AzureAISearchMemoryVectorSearchService | Retrieves semantically similar memories for one user. |
AddAzureAISearchIndexingSource | Adds AI memory (Azure AI Search) as an index source. |
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.AI",
"CrestApps.OrchardCore.AI.Memory.AzureAI",
"OrchardCore.AzureAI"
],
"disable": []
}
]
}
The base memory feature is dependency-only. Do not treat it as an independent standalone backend; enable this provider or the Elasticsearch provider alongside it.
textEmbedding; the picker lists deployments in the embedding slot only (see orchardcore-ai-model-capabilities).DataSourceIndexProfileMetadata.EmbeddingDeploymentName and becomes read-only once the index exists.The selected embedding dimensions drive the vector mapping. Changing model dimensions after memory data exists requires a new compatible index and a planned reindex.
| Field | Mapping |
|---|---|
memoryId | Text, key, filterable |
userId | Text, filterable |
name | Text, searchable, filterable |
description | Text, searchable |
content | Text, searchable |
updatedUtc | DateTime, filterable, sortable |
embedding | Searchable vector using the default HNSW profile |
The index-profile handler keeps a default vector profile and default-hnsw
algorithm configuration. It calculates dimensions from the selected deployment,
retains user-defined custom fields, and normalizes duplicate managed mappings when a
profile is loaded or saved.
AzureAISearchMemoryVectorSearchService sends a VectorizedQuery against
embedding and requires:
userId eq '<current authenticated user ID>'
It selects memory ID, name, description, content, and updated time; drops results
without content; orders by score descending; and takes at most topN. Azure request
failures and unexpected errors are logged and return no results.
Never remove the userId filter from a custom implementation. Semantic similarity
alone is not authorization and could expose memory belonging to another user.
| Symptom | Check |
|---|---|
| Memory index source is absent | Enable OrchardCore.Indexing, OrchardCore.AzureAI, and the exact Azure AI Memory feature. |
| No embedding deployment is selectable | Declare textEmbedding on an embedding deployment; chat deployments are not offered. |
| Memory tool returns nothing | Confirm an authenticated identity, an active memory index profile, saved memory records, and a valid embedding configuration. |
| Index edit duplicates mappings | Reopen and save it. The handler normalizes managed duplicates while retaining custom fields. |
| Search fails | Check Azure endpoint, credentials, network rules, index availability, and vector dimensions. |
| Memories appear cross-user | Treat this as an authorization defect. Verify the active user ID and preserve the mandatory userId filter. |
The handler runs when an Azure AI Search memory profile is initialized, created, updated, and loaded. Reopen a profile through the supported admin experience instead of manually editing provider metadata:
Custom fields are retained, but they must not reuse the seven managed memory field
names. Keep custom data and memory authorization rules separate from the mandatory
userId filter.
What SKILL.md sets; muted values are Claude Code's defaults
/crestapps-orchardcore:orchardcore-ai-memory-azureaifrom 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