azure-ai-document-intelligence-ts
Skill by sickn33
Guides developers in using the Azure Document Intelligence REST SDK in TypeScript to extract text, tables and fields from documents. It covers prebuilt and custom models for teams that process invoices, receipts and other files.
Install azure-ai-document-intelligence-ts
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-ai-document-intelligence-ts ~/.claude/skills/azure-ai-document-intelligence-tsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install azure-ai-document-intelligence-ts in Claude Code
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-ai-document-intelligence-ts ~/.gemini/antigravity-cli/skills/azure-ai-document-intelligence-tsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install azure-ai-document-intelligence-ts in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant TypeScript examples for the Azure Document Intelligence REST SDK. It shows how to analyze documents from a URL or a local file using prebuilt models such as prebuilt-read, prebuilt-layout, prebuilt-invoice and prebuilt-receipt. It also covers building custom models and document classifiers from training data in Azure Blob Storage, and classifying documents with a classifier.
The examples create the client with DefaultAzureCredential or an API key. Analysis is asynchronous, so they use getLongRunningPoller() and pollUntilDone(), and isUnexpected() to check for errors. The skill is for developers who want to pull text, tables and fields from business documents. It also notes that uploads can incur charges, that confidence scores are not guarantees, and that sensitive data such as SAS URLs should not be logged.
Written from the project's SKILL.md and checked against it.
What it can do
- Analyze document from URLRuns prebuilt or custom model analysis on a document at a public URL.
- Analyze local fileSends a local PDF as base64 content for analysis with a prebuilt model.
- Extract invoice fieldsReads vendor name, invoice total and due date from invoice documents.
- Extract receipt fieldsReads merchant name, total and line items from receipts.
- List document modelsLists available document models with pagination.
- Build custom modelTrains a template or neural custom model from Azure Blob Storage data.
- Build document classifierCreates a classifier from labeled document types stored in blob containers.
- Classify documentClassifies a document using a built classifier and optional auto split.
- Get service infoReads custom model limit and count for the resource.
- Poll long-running operationsTracks analysis progress and waits for the final result.
What you need
- Azure Document Intelligence resource endpoint
- Azure API key or Azure identity for DefaultAzureCredential
- npm packages @azure-rest/ai-document-intelligence and @azure/identity
- Azure Blob Storage SAS URL for custom model training
Try asking
- Extract the vendor, total and due date from this invoice PDF URL.
- Read all text and tables from this scanned document using prebuilt-layout.
- Build a custom model from my purchase order training data in blob storage.
Good to know
- Document uploads and URL analysis can incur Azure charges.
- Confidence scores are not calibrated guarantees and need review for material values.
- Only use authorized documents and avoid logging extracted IDs, medical or bank data, or SAS URLs.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/azure-ai-document-intelligence-ts/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB
Alternatives to azure-ai-document-intelligence-ts
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
azure-ai-document-intelligence-ts: common questions
Does this skill need an Azure account?
Yes. The source requires an Azure Document Intelligence resource endpoint and either an API key or Azure identity through DefaultAzureCredential.
Is DocumentIntelligence a class in this SDK?
No. The source states that DocumentIntelligence is a function, not a class, and the client is created by calling it.
How should sensitive data be handled?
The source advises never logging extracted IDs, medical or bank data, or SAS URLs, and using approved retention settings for uploads.
How do I install azure-ai-document-intelligence-ts?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is azure-ai-document-intelligence-ts free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is azure-ai-document-intelligence-ts safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to azure-ai-document-intelligence-ts?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
