Configures CrestApps Orchard Core AI Documents to store uploaded document files in Azure Blob Storage. Covers tenant-scoped BlobFileStore registration, Liquid container names, lifecycle, and cleanup.
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 CrestApps AI Documents to place uploaded document files in Azure Blob Storage while preserving the normal document extraction, chunking, embedding, indexing, and RAG workflow.
CrestApps.OrchardCore.AI.Documents.Azure.ChatInteractionsConstants.Feature.ChatDocuments; it enables the base document capability by dependency rather than replacing its processing pipeline.IDocumentFileStore implementation. It does not create an index, generate embeddings, or select a vector-search backend.ConnectionString or ContainerName is empty, the feature logs an error and resolves the IDocumentFileStore registration it replaced (the parent feature's local store) instead of the Azure-backed one.CrestApps.OrchardCore.AI.Documents.Azure in the web or startup project.The startup is one call to the shared tenant file store helper of CrestApps.OrchardCore.FileStorage.Core
(the same helper Attachments and Protected Files use):
services.AddTenantFileStore<IDocumentFileStore>(
"AIDocuments",
"CrestApps:AI:AzureDocuments",
(serviceProvider, fileStore) => new DefaultDocumentFileStore(fileStore),
removeOnTenantRemoval: true);
| Registration | Purpose |
|---|---|
TenantBlobStorageOptionsConfiguration<IDocumentFileStore> | Binds the shell configuration section to TenantStoreBlobStorageOptions<IDocumentFileStore> and expands the Liquid in the container name and base path. |
BlobFileStore | Orchard Core Azure Blob file-system implementation, used when the options are complete. |
DefaultDocumentFileStore | Wraps the blob store and replaces IDocumentFileStore. |
TenantBlobContainerEvents<IDocumentFileStore> | Creates or removes tenant storage during tenant lifecycle events (namespace CrestApps.OrchardCore.FileStorage). |
TenantStoreBlobStorageOptions<T> derives from TenantBlobStorageOptions, which extends Orchard Core's BlobStorageOptions
(connection string, container name, base path) with CreateContainer (default true), RemoveContainer and
RemoveFilesFromBasePath.
Enable an AI Documents context or indexing backend as appropriate, then enable Azure document storage. The base AI Documents capability is enabled by dependency.
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.AI.Documents.ChatInteractions",
"CrestApps.OrchardCore.AI.Documents.Azure",
"CrestApps.OrchardCore.AI.Documents.AzureAI"
],
"disable": []
}
]
}
The storage feature can also be used with CrestApps.OrchardCore.AI.Documents.Elasticsearch,
Profiles, or Chat Sessions. Do not enable a search provider merely to use Blob Storage
unless the application also needs indexed retrieval.
Configure the tenant under OrchardCore:CrestApps:AI:AzureDocuments.
{
"OrchardCore": {
"CrestApps": {
"AI": {
"AzureDocuments": {
"ConnectionString": "Use a secret or environment-variable value here",
"ContainerName": "ai-documents",
"BasePath": "tenants/default/documents",
"CreateContainer": true,
"RemoveContainer": false,
"RemoveFilesFromBasePath": true
}
}
}
}
}
| Option | Behavior |
|---|---|
ConnectionString | Azure Storage account connection string required to activate the replacement store. |
ContainerName | Required blob container. Supports Liquid, such as ai-documents-{{ ShellSettings.Name }}; the result must meet Azure naming rules. |
BasePath | Optional prefix for AI document files. Supports Liquid, such as {{ ShellSettings.Name }}. |
CreateContainer | Creates the container when a configured tenant activates. Defaults to true. |
RemoveContainer | Deletes the entire container during tenant removal. |
RemoveFilesFromBasePath | Deletes only blobs beneath BasePath during tenant removal. |
RemoveContainer takes precedence over RemoveFilesFromBasePath. Never enable
RemoveContainer for a container shared by tenants or other applications.
TenantBlobContainerEvents<IDocumentFileStore> runs only when valid storage options are present.
On activation, it skips uninitialized tenants and creates the configured container only
when CreateContainer is true. The container is created without public access.
On tenant removal:
RemoveContainer is true, it deletes the whole configured container.RemoveFilesFromBasePath is true, it enumerates blobs with the base
path prefix and deletes each blob.Choose a unique container per tenant when whole-container cleanup is desired. Choose
a tenant-specific BasePath and RemoveFilesFromBasePath when tenants share a
container.
IDocumentFileStore writes the file through DefaultDocumentFileStore.BlobFileStore; otherwise this module
does not replace the application's existing document-file-store registration.Blob Storage does not make a file publicly accessible and does not alter authorization for upload, download, or document removal.
ContainerName and BasePath are rendered with Liquid and the tenant's ShellSettings
through Orchard Core's blob-storage options pipeline, so one configuration in the root
appsettings.json serves every tenant.
A container per tenant, deleted with the tenant:
{
"OrchardCore": {
"CrestApps": {
"AI": {
"AzureDocuments": {
"ConnectionString": "Set through a production secret provider",
"ContainerName": "ai-documents-{{ ShellSettings.Name }}",
"CreateContainer": true,
"RemoveContainer": true
}
}
}
}
}
One shared container separated by folder, deleting only the tenant's folder:
{
"OrchardCore": {
"CrestApps": {
"AI": {
"AzureDocuments": {
"ConnectionString": "Set through a production secret provider",
"ContainerName": "ai-documents",
"BasePath": "{{ ShellSettings.Name }}",
"CreateContainer": true,
"RemoveContainer": false,
"RemoveFilesFromBasePath": true
}
}
}
}
}
The resolved container name is lowercased and must be a valid Azure container name: 3 to
63 characters, lowercase letters, digits, and single hyphens, starting and ending with a
letter or digit. A tenant name with an underscore, for example, resolves to an invalid
name and logs an error when the tenant starts; use the shared container for such tenants.
A tenant's own App_Data/Sites/{tenant}/appsettings.json writes the same keys starting at
CrestApps, without the OrchardCore wrapper.
| Symptom | Check |
|---|---|
| Azure storage is not active | Confirm both required settings are non-empty and restart or reactivate the tenant after changing configuration. The module otherwise preserves the pre-existing document-file-store registration. |
| Feature logs configuration errors | Verify the exact OrchardCore:CrestApps:AI:AzureDocuments path and use a valid connection string and container. |
| Container is not created | Set CreateContainer to true and confirm the storage identity can create containers. |
| Tenant removal deletes too much | Disable RemoveContainer for shared containers and use a tenant-specific base path with RemoveFilesFromBasePath. |
| Tenant removal cannot clean up | Confirm delete permissions and inspect the tenant-removal error and Azure request logs. |
| RAG retrieval is unavailable | Blob storage is not an index provider. Enable and configure Azure AI Search or Elasticsearch plus an embedding deployment. |
PublicAccessType.None.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/crestapps-orchardcore:orchardcore-ai-documents-azure-storagefrom 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