Handles bulk content import and export in Orchard Core using CrestApps Content Transfer. Covers CSV/Excel formats, OpenXml, Azure Blob Storage, Redis locks, per-type permissions, stalled-row watchdog, queued exports, telemetry, and extension points.
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.
Read when SKILL.md points to them.
You are an Orchard Core expert. CrestApps Content Transfer bulk imports and exports content items through pluggable file formats. The base feature supports CSV; OpenXml adds .xlsx; Azure Blob Storage keeps the transfer files in a shared container for scaled-out sites.
CrestApps.OrchardCore.ContentTransfer (and optionally .OpenXml, .Azure) in the web or startup project.OrchardCore.Resources (for bootstrap-select) and CrestApps.OrchardCore.Resources..xls is not supported; OpenXml handles .xlsx.ContentTypeTransferSettings.AllowBulkImport and AllowBulkExport (Allow bulk import / Allow bulk export on the type) default to true.ContentItemId updates a new latest version; ContentItemVersionId is exported for reference and ignored on import.IContentManager.ValidateAsync(). Rejected rows download in the original format while that format is enabled.NULL (any case, surrounding spaces ignored), as database and spreadsheet exports write a missing value, is read as an empty cell, so handlers skip it instead of storing the word.context.Fail(reason, category); throwing only logs the error and the row is still saved.IContentTransferRecordImporter, registered with services.AddContentTransferImportTarget<T>()), never by faking a content type. Its name must contain a dot and its own AuthorizeAsync is the only permission check.ExportQueueThreshold, or with options that set ExportRequest.RequiresQueue, are queued; smaller ones stream directly. Enable OrchardCore.Notifications for the built-in completion notification.OrchardCore.Redis.Lock, store files in Azure Blob Storage, and keep session affinity for chunked uploads (or share the temp directory).| Feature ID | Purpose |
|---|---|
CrestApps.OrchardCore.ContentTransfer | CSV import and export, Content > Import and Content > Export, background processing |
CrestApps.OrchardCore.ContentTransfer.OpenXml | Excel .xlsx reader and writer |
CrestApps.OrchardCore.ContentTransfer.Azure | Stores import and export files in Azure Blob Storage |
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.ContentTransfer",
"CrestApps.OrchardCore.ContentTransfer.OpenXml"
],
"disable": []
}
]
}
ContentTransferPermissions (namespace CrestApps.OrchardCore.ContentTransfer) declares descriptions with LocalizationSource. The four non-typed permissions go to Administrator by default.
| Permission | Grants |
|---|---|
ListContentTransferEntries | Content > Import menu and the Bulk Import list |
DeleteContentTransferEntries | Deleting entries (implies list) |
ImportContentFromFile | Importing any type, templates, error files, pause and resume |
ImportContentFromFile_{ContentType} | The same for one type (implied by ImportContentFromFile) |
| Target's own permission | Importing into a non-content import target (IContentTransferImportTarget.AuthorizeAsync); ImportContentFromFile does not grant it |
ExportContentFromFile | Content > Export menu and exporting any type |
ExportContentFromFile_{ContentType} | The same for one type (implied by ExportContentFromFile) |
Build a typed permission with ContentTransferPermissions.CreateDynamicPermission(ContentTransferPermissions.ImportContentFromFileOfType, "Product").
IContentTransferFileStore as a Pending ContentTransferEntry and processing starts immediately. The Imported Files Processor background task (ImportFilesBackgroundTask, schedule * * * * *, every minute) picks up pending entries and resumes imports a restart interrupted or that stalled. Every run, including one started from the admin, is linked to the host stopping, so a shutdown does not mark the import failed.ContentTransferEntry documents are indexed by ContentTransferEntryIndex, declared .ExclusiveToDocumentType().SingleRecordPerDocument().
The admin lists use Orchard Core's AdminList standard (List or Grid layout, filters in the toolbar); see the framework orchardcore-admin-lists skill for customizing rows.
All values are read from the tenant shell configuration (OrchardCore:CrestApps:ContentTransfer in the root appsettings.json, or CrestApps:ContentTransfer in App_Data/Sites/{Tenant}/appsettings.json). Restart the tenant after changing them.
{
"OrchardCore": {
"CrestApps": {
"ContentTransfer": {
"ImportBatchSize": 100,
"ExportBatchSize": 200,
"ExportQueueThreshold": 500,
"MaxUploadFileSize": 1073741824,
"MaxUploadChunkSize": 26214400,
"TemporaryFileLifetime": "01:00:00"
},
"BackgroundWork": {
"Pacing": {
"DatabaseShare": 0.25,
"MaxPause": "00:00:30"
}
}
}
}
}
ContentImportOptions | Default | Meaning |
|---|---|---|
ImportBatchSize | 100 | Rows per import batch |
ExportBatchSize | 200 | Items per export batch |
ExportQueueThreshold | 500 | Item count above which an export is queued |
MaxUploadFileSize | 1 GB | Total upload size in bytes (64-bit, can exceed 1 GB); 0 disables the check |
MaxUploadChunkSize | 25 MB | Chunk size per request; 0 disables chunking |
TemporaryFileLifetime | 1 hour | Retention of unfinished chunked uploads |
BackgroundWorkPacingOptions (CrestApps:BackgroundWork:Pacing) paces imports and Local DNC list work: after each batch the job pauses in proportion to how long the batch took. DatabaseShare (0.05 to 1, 1 disables pacing) and MaxPause cap it. Batches from all tenants take turns on one in-memory gate per instance; a batch waiting more than five minutes runs anyway.
Environment variable form: OrchardCore__CrestApps__ContentTransfer__MaxUploadFileSize=5368709120.
The module raises the Kestrel request-body limit for the import endpoint to one chunk plus overhead. Two layers enforce limits before the app runs, and the default 25 MB chunk stays below both:
maxAllowedContentLength, about 28.6 MB by default). Raise it in web.config only if you raise MaxUploadChunkSize to 30000000 or more.client_max_body_size, Apache LimitRequestBody) must allow one chunk plus overhead.With chunking disabled every layer must accept the whole file in one request.
Files default to App_Data/Sites/{tenant}/Temp on local disk, which other instances cannot read and containers lose on restart. Enable CrestApps.OrchardCore.ContentTransfer.Azure and configure CrestApps:ContentTransfer:AzureBlobStorage:
{
"OrchardCore": {
"CrestApps": {
"ContentTransfer": {
"AzureBlobStorage": {
"ConnectionString": "",
"ContainerName": "content-transfer-{{ ShellSettings.Name }}",
"BasePath": "",
"CreateContainer": true,
"RemoveContainer": true
}
}
}
}
}
ConnectionString and ContainerName are required. When either is missing the feature logs an error and local storage keeps serving files.ContainerName and BasePath accept Liquid with ShellSettings. Use a container per tenant (with RemoveContainer), or a shared container with BasePath {{ ShellSettings.Name }} and RemoveFilesFromBasePath instead of RemoveContainer.Also enable OrchardCore.Redis.Lock so two instances never import the same file, and keep session affinity (or point OrchardCore:TempDirectory:Path at a shared mount) so all chunks of an upload reach one instance.
The module emits OpenTelemetry traces and metrics on the meter and activity source CrestApps.OrchardCore.ContentTransfer (ContentTransferDiagnostics, namespace CrestApps.OrchardCore.ContentTransfer.Telemetry). Instruments are named crestapps.contenttransfer.* (for example import.duration, import.rows, import.rows.skipped, import.stalled_rows, upload.size, export.duration, export.rows) and carry bounded tags such as content_type, format, outcome and reason; ids, file names and row data go on spans and logs only. A row filter's SkipReasonCode (snake_case, never localized) labels skipped rows. Subscribe with the CrestApps.OrchardCore.* source wildcard.
IContentTransferImportTargetResolver.FindAsync(name) returns a ContentTypeImportTarget for a content type that allows bulk import, or a registered IContentTransferRecordImporter (for example the Skills module's skills and frameworks). A record importer gets each batch as a ContentTransferImportBatch of ContentTransferImportRows, saves them to its own store and calls row.Fail(error, category) for rows it rejects. Its import page is /Admin/import/contents/{Name}, and the Bulk Import list's Import menu offers the targets the user may import.IContentImportRowTypeProvider lets one file create items of related types; each row names its type in the ContentType column (ContentTransferColumns.ContentType). Allowed types are kept in ImportContentOptionsPart.RowContentTypes at upload.IContentTransferFileFormatProvider.CanExport, CanImport(contentType) and DescribeImport(contentType) (default true, true, null) let a format read only, or only for some types, as the Learning QTI .zip and .xml formats do.IContentImportManager.GetColumnsAsync() gathers columns from registered handlers, the selected IContentTransferFileFormatProvider reads or writes the file, and handlers map rows. Read references/extensibility.md for complete examples.
| Extension point | Use it for | Registration |
|---|---|---|
IContentImportHandler | Content-item-level columns (GetColumnsAsync, ImportAsync, ExportAsync) | services.AddScoped<IContentImportHandler, T>() |
IContentPartImportHandler | Columns owned by a part | services.AddContentPartImportHandler<TPart, THandler>() |
StandardFieldImportHandler / IContentFieldImportHandler | Columns of a field ({Part}_{Field}_{Property}) | services.AddContentFieldImportHandler<TField, THandler>() |
IContentImportRowFilter | Skip rows before mapping (InitializeAsync, PrepareBatchAsync, ShouldSkipRowAsync) | services.AddScoped<IContentImportRowFilter, T>() |
IContentTransferFileReaderTransformer | Read another system's layout (for example Shopify product exports) | services.AddScoped<IContentTransferFileReaderTransformer, T>() |
IContentTransferFileFormatProvider | Another file format | services.AddSingleton<IContentTransferFileFormatProvider, T>() |
IDisplayDriver<ExportRequest> | Extra options on the export form | services.AddScoped<IDisplayDriver<ExportRequest>, T>() |
IContentExportBatchHandler | Preload data for a page of exported items | Forward from the same scoped handler instance |
IContentTransferNotificationHandler | Notify when a queued export completes | services.AddScoped<IContentTransferNotificationHandler, T>() |
IContentTransferRecordImporter | Import records that are not content items | services.AddContentTransferImportTarget<T>() in a startup with [RequireFeatures(ContentTransferConstants.Feature.ModuleId)] |
IContentImportRowTypeProvider | Rows of several related content types in one file | services.AddSingleton<IContentImportRowTypeProvider, T>() |
AddContentPartImportHandler and AddContentFieldImportHandler live in namespace CrestApps.OrchardCore.ContentTransfer; StandardFieldImportHandler in CrestApps.OrchardCore.ContentTransfer.Handlers. Built-in handlers cover TitlePart, HtmlBodyPart, MarkdownBodyPart, common fields and taxonomy fields ({Part}_{Field}_Terms by name, or {Part}_{Field}_TermContentItemIds).
Omnichannel Management contributes contact-specific import options (duplicate phone filtering, lead country, DNC checks) and an export CRM last activity section; see the orchardcore-omnichannel-management skill.
AdminList shape. ContentTransferEntryDisplayDriver places the row shapes (ContentTransferEntry_Checkbox_SummaryAdmin, ContentTransferEntry_Fields_SummaryAdmin, ...) for both the SummaryAdmin (List) and SummaryAdminGrid (Grid) display types. A custom driver that adds a shape to these rows must give it a SummaryAdminGrid location too, and overrides of the old list markup must be redone.OrchardCore.Resources because crestapps-bootstrap-select was removed in favor of Orchard Core's bootstrap-select.IContentImportHandler.GetColumns is now GetColumnsAsync and returns Task<IReadOnlyCollection<ImportColumn>>; return fixed columns through Task.FromResult. IContentPartImportHandler and IContentFieldImportHandler keep the synchronous GetColumns.<div class="action-bar-bottom">) instead of an ocat-wrapper row; theme overrides and UI tests that look for the old row must update.BackgroundWork:Pacing, IContentExportBatchHandler, ExportRequest export options, ContentExportContext.Exclude, and IContentTransferFileReaderTransformer.LocalizationSource.IContentTransferImportTarget, IContentTransferRecordImporter, IContentTransferImportTargetResolver), IContentImportRowTypeProvider and ContentTransferColumns, ContentImportContext.Fail, ContentImportRowFilterContext.SkipReasonCode, the optional CanExport, CanImport and DescribeImport format members, OpenTelemetry instruments, and .ExclusiveToDocumentType().SingleRecordPerDocument() on ContentTransferEntryIndex..xlsx missing from the pickers: enable the OpenXml feature and install its package in the web project.AllowBulkImport or AllowBulkExport is off, or the user lacks the typed permission.NULL ended up in imported items: that was the behavior before NULL cells were read as empty; re-import the affected rows.404.13: lower MaxUploadChunkSize below 30000000 or raise maxAllowedContentLength.context.Fail(...) instead of throwing.Name has no dot, its startup does not require the Content Transfer feature, or AuthorizeAsync refuses the user.CanImport(contentType) returns false; an import-only format (CanExport = false) never appears in exports or templates.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
orchard-core, content-transfer, bulk-import, bulk-export, csv, excel
/crestapps-orchardcore:orchardcore-content-transferfrom 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./orchardcore-addressesSkill for the CrestApps Orchard Core Addresses module (CrestApps.OrchardCore.Addresses, Addresses.Countries, Addresses.GooglePlaces). Covers the immutable Address value shared by customers, checkout, orders, shipping and taxation, per-country address formats from Google address data with AddAddressesCore, IAddressFormatProvider and AddressFormat, IAddressValidator and AddressProblem, IAddressFormatter, the AddressEditor shape with IAddressEditorService and AddressEditorOptions, CreateAddressEditorAsync and CreateAddressDisplayAsync, ICountryService and managed Country content items, address suggestions through IAddressAutocompleteProvider, ContactInfo, NamedAddress and IShippingAddressBook, the Google Places provider with its protected API key, the address-autocomplete rate-limit group, and the ManageAddressSuggestions permission. Use it when requests mention Orchard Core addresses, international address formats, address validation, a country list, address autocomplete or Google Places./orchardcore-advanced-seoSkill for the CrestApps Orchard Core Advanced SEO module (CrestApps.OrchardCore.Seo), which publishes schema.org structured data as one JSON-LD graph per page and for NLWeb answers. Covers the Schema.org part (SchemaOrgPart, SchemaOrgPartSettings with SchemaType and property mappings from Content, Fixed, Editor or Liquid sources), the StructuredDataSettings site settings and their deployment step, the ManageAdvancedSeoSettings permission, Orchard Core SEO, Search, Products and Reviews integration, the getSchemaOrgOptions, configureContentTypeSchemaOrg and configureSiteStructuredData AI tools, describing pages in code with IPageStructuredData, the structured-data tag helper and the structured_data Liquid filter, and extending with IStructuredDataProvider, ContentPartStructuredDataProvider and SelfDescribingParts. Use this skill when requests mention schema.org, JSON-LD, structured data, rich results, Google required properties, product or article markup, or Advanced SEO in Orchard Core./orchardcore-agentic-commerceSkill for the CrestApps Orchard Core Agentic Commerce module (CrestApps.OrchardCore.AgenticCommerce), which lets AI agents such as Gemini and ChatGPT buy from the store with the Universal Commerce Protocol (UCP), the Agentic Commerce Protocol (ACP) and the AP2 mandates extension (preview). Covers every feature (UCP, account linking, catalog and cart, MCP and A2A bindings, ACP, Agent Product Feeds, AP2), the /.well-known/ucp and /.well-known/acp.json discovery documents, checkout session endpoints, agent platforms and their sign-in, AgenticCommerceSettings, store signing keys in Secrets, idempotency, payment handlers (Stripe shared payment tokens, Google Pay, test credentials), delegated 3-D Secure, embedded checkout, signed order updates, the AgentPlatforms recipe step, and extending with IAgentPaymentHandler, IUcpProfileContributor, IUcpCheckoutExtension and IAgentOrderPublisher. Use it when requests mention agentic commerce, selling through AI agents, UCP, ACP, AP2, agent checkout or agent product feeds./orchardcore-agreementsSkill for the CrestApps Orchard Core Agreements module (CrestApps.OrchardCore.Agreements), support and maintenance contracts with accounts. Covers the Agreement record with its SA- number, status, period and covered hours (a block or a monthly allowance with rounding), Content > Agreements, the account Service tab, the ManageAgreements and ViewAgreements permissions, the Agreements recipe and deployment step, module terms in Properties with IAgreementTermsValidator, IAgreementUsageProvider and IAgreementBalanceService, the hourly lifecycle task with IAgreementObserver, account manager notifications, and the Agreement Usage and Burn-down reports. Use this skill when requests mention service agreements, support contracts, prepaid or retainer hours, entitlements or agreement expiry. Strong matches include Agreement, AgreementHours, AgreementStatus, AgreementBalance, AgreementUsage, IAgreementManager, IAgreementObserver and TicketAgreementTerms.Other plugins' skills for the same job