Adds PDF and OpenXml text extraction to CrestApps Orchard Core AI Documents. Covers PdfPig and DocumentFormat.OpenXml integration, processor registration, and supported file types.
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. Add optional PDF and Microsoft Open XML document extractors to the CrestApps AI Documents processing pipeline. Enable only the file format support required by the application, then combine it with a document context and optional vector indexing backend.
CrestApps.OrchardCore.AI.Documents.Pdf and CrestApps.OrchardCore.AI.Documents.OpenXml for PDF and Office Open XML support.AddCoreAIPdfDocumentProcessing; OpenXml registration calls AddCoreAIOpenXmlDocumentProcessing and AddCoreAIWordDocumentProcessing.| Feature ID | Registration | File support |
|---|---|---|
CrestApps.OrchardCore.AI.Documents.Pdf | AddCoreAIPdfDocumentProcessing | .pdf |
CrestApps.OrchardCore.AI.Documents.OpenXml | AddCoreAIOpenXmlDocumentProcessing, AddCoreAIWordDocumentProcessing | .docx, .xlsx, .pptx |
The PDF module uses PdfPig as an IngestionDocumentReader. The OpenXml module uses
the Microsoft DocumentFormat.OpenXml SDK to extract supported Office document text.
Both features also bring system agents that work on documents inside a conversation. They are always available to the primary model and do not appear in agent pickers.
| Agent | Feature | What it does |
|---|---|---|
| PowerPoint | CrestApps.OrchardCore.AI.Documents.OpenXml | Creates, edits, designs, reviews, previews, and exports .pptx decks. Exporting a deck as PDF also needs CrestApps.OrchardCore.AI.Documents.Pdf. |
| Word | CrestApps.OrchardCore.AI.Documents.OpenXml (AddCoreAIWordDocumentProcessing) | Writes, edits, reviews, previews, and exports .docx documents. |
CrestApps.OrchardCore.AI.Documents.Pdf | Creates, converts, edits, previews, and analyses PDFs. |
Previews come back as images, which the chat UI shows in its image carousel.
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.AI.Documents.ChatInteractions",
"CrestApps.OrchardCore.AI.Documents.AzureAI",
"CrestApps.OrchardCore.AI.Documents.Pdf",
"CrestApps.OrchardCore.AI.Documents.OpenXml"
],
"disable": []
}
]
}
This recipe enables a document context, Azure AI Search indexing, and both optional
extractors. Replace the Azure AI Search feature with
CrestApps.OrchardCore.AI.Documents.Elasticsearch when Elasticsearch is the selected
vector backend.
| Format | Extension | Extraction behavior |
|---|---|---|
.pdf | Reads text page by page. | |
| Word | .docx | Reads paragraphs from the main document body. |
| Excel | .xlsx | Reads rows and cells into the tabular workspace; it is a tabular, non-embeddable document. |
| PowerPoint | .pptx | Reads text elements across slides. |
The following legacy binary formats are not supported:
.doc.xls.pptConvert those files to .docx, .xlsx, or .pptx before upload. Plain-text
formats supported by the base document pipeline do not require either feature.
Enabling these modules after files already failed extraction does not automatically repair earlier uploads. Re-upload or reprocess them using the normal document workflow.
PdfPig extracts textual PDF content without external native dependencies and works cross-platform. It cannot reliably OCR scanned documents that contain only images. For scanned content, run OCR before upload or add a separate OCR stage that produces searchable text.
Complex multi-column layouts, tables, and positioned text may extract in an order that does not match visual reading order. Test representative documents and tune source documents or preprocessing where answer quality depends on layout.
Word extraction targets paragraphs in the main body. Excel extraction is row-based and loads cells into the tabular workspace for tabular-data tools. PowerPoint extraction covers text elements on slides. Embedded images, macros, complex charts, and visual formatting are not semantic text and should not be assumed to become RAG context.
Use current zipped Open XML files. A filename extension alone is not a guarantee that
the content is a valid .docx, .xlsx, or .pptx package.
dotnet add package CrestApps.OrchardCore.AI.Documents.Pdf
dotnet add package CrestApps.OrchardCore.AI.Documents.OpenXml
Add the packages to the host web or startup project. Enabling a feature cannot load a package that was not deployed with the application.
| Symptom | Check |
|---|---|
| PDF upload has no extracted context | Enable the PDF feature, confirm the file contains selectable text, then re-upload or reprocess it. |
| Word, Excel, or PowerPoint file is unsupported | Enable the OpenXml feature and use .docx, .xlsx, or .pptx, not a legacy binary format. |
| Scanned PDF has empty text | PdfPig is not OCR. Use OCR before processing image-only pages. |
| Spreadsheet answers miss labels | Verify labels are actual cell values, then inspect the tabular workspace metadata and query the table with tabular-data tools. |
| Presentation answer misses visual content | Only text elements are extracted; put critical content in text or add a dedicated extraction process. |
| Extraction succeeds but queries find nothing | Configure an embedding deployment and an active Azure AI Search or Elasticsearch document index. |
| Feature is enabled but no reader runs | Verify the deployed package, exact feature ID, detected MIME type, and that the upload reaches an AI Documents context. |
FileCreationService before they are stored; enable OrchardCore.Antivirus for ClamAV scanning (see orchardcore-ai-documents).Before enabling the extractors for users:
.docx, .xlsx, and .pptx files and validate the
extracted business text is intelligible.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
orchard-core, pdf-extraction, openxml, document-processing, ai-documents
/crestapps-orchardcore:orchardcore-ai-documents-extractorsfrom 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