Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/azure/azure-sdk-for-java/cu-sdk-sample-runnpx skills add Azure/azure-sdk-for-java --skill cu-sdk-sample-rungit clone --depth 1 https://github.com/Azure/azure-sdk-for-javaWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00041 | $0.08706 |
| Opus 5 | $0.00020 | $0.04353 |
| Sonnet 5 | $0.00008 | $0.01741 |
| Haiku 4.5 | $0.00004 | $0.00871 |
Grade A, and why
cu-sdk-sample-run scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 597 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Run a Specific Sample
Run a specific sample from the Azure AI Content Understanding Java SDK.
[COPILOT INTERACTION MODEL]: This skill is designed to be interactive. At each step marked with [ASK USER], pause execution and prompt the user for input or confirmation before proceeding. Do NOT silently skip these prompts. Use the
ask_questionstool when available.
Prerequisites
- Java >= 8 (JDK)
- Maven
- SDK package available (public Maven Central or local build)
- Environment variables configured (via shell
export) - For prebuilt analyzers: model deployments configured (run
Sample00_UpdateDefaultsfirst)
[ASK USER] Prerequisites check: Before proceeding, verify the user's environment:
- "Do you have Java and Maven installed?" -- If no, direct them to install JDK 8+ and Maven.
- "Have you built the SDK or is it available on Maven Central?" -- If no, direct them to Step 2 below.
- "Have you configured your environment variables (endpoint and credentials)?" -- If no, direct them to Step 3.
- "Have you run
Sample00_UpdateDefaultsto configure model defaults?" -- If no and they want to use prebuilt analyzers, guide them to run it first.- (Deferred — only if the user later picks
Sample16_CreateAnalyzerWithLabels.) "Do you plan to train with labeled data? If yes, you'll need an Azure Blob container with the receipt label files uploaded and a SAS URL." Walk them through Step 5's Sample16 subsection when relevant.
Package Directory
sdk/contentunderstanding/azure-ai-contentunderstanding
Available Samples
All sync samples have async versions with an Async suffix. Samples are located in:
src/samples/java/com/azure/ai/contentunderstanding/samples/
Getting Started (Run These First)
Sample00_UpdateDefaults -- Required First!
One-time setup - Configures completion and embedding model deployment mappings and prebuilt analyzer aliases for your Microsoft Foundry resource. Must run before using prebuilt analyzers.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 597 lines · 41 tokens per session scan A 8022b474dd39
cu-sdk-sample-run is a skill published in the GitHub repository Azure/azure-sdk-for-java (2,565 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 8,706 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
dpg-migration
Migration logic for Azure SDK for .NET data-plane libraries migrating from AutoRest/Swagger to TypeSpec-based generation. Uses MCP tools from the generator-agent server for automated deterministic fixes.
csharp-azure-spector-coverage-gaps
Discovers and implements gaps in Spector test coverage for the Azure C# HTTP client emitter. Use when asked to find missing Spector scenarios, add Spector test coverage, or implement a specific Spector spec for the Azure C# emitter. Can also compare coverage between the Azure dashboard and the Standard (TypeSpec core)…
mgmt-review-comment-resolution
Resolve review comments on Azure management-plane .NET SDK PRs. Handles renaming types/properties, changing property types, and other API surface adjustments by updating TypeSpec client.tsp and regenerating.
mpg-migration
Handles Azure SDK for .NET management-plane migrations from AutoRest/Swagger to TypeSpec; use for MPG, mgmt migration, or Azure.ResourceManager. migration requests.
generate-code-cs
Generate the code from typespec for C#. Parameter: C# SDK repository root location .
bump-mgmt-base-version
Bump the http-client-csharp base dependency version in http-client-csharp-mgmt. Updates emitter (npm) and generator (NuGet) references, rebuilds, and regenerates test projects.