cu-sdk-setup

cu-sdk-setup is a skill for Claude Code, Codex from Azure/azure-sdk-for-java. It costs 47 tokens per session (7,312 once invoked), scanned B, original, MIT.

A setup guide for using the Java SDK for Azure AI Content Understanding, Microsoft's service for analyzing and extracting information from content. It covers the required Java tools, Azure resources, models, and settings.

In plain words
What is it for?
Use it to install and configure the SDK, check Java and Maven, prepare Azure resources, set authentication settings, and run sample programs.
Why use it?
It helps avoid setup errors caused by missing software, Azure configuration, deployed models, or environment variables. It also pauses for user confirmation at specified steps.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to install and configure the SDK, check Java and Maven, prepare Azure resources, set authentication settings, and run sample programs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/azure/azure-sdk-for-java/cu-sdk-setup
About the project

Azure SDK for Java is a collection of Java libraries that let applications connect to and manage Azure services. Java developers use its client libraries to consume services and its management libraries to configure Azure resources. The catalogue add-ons support development with these libraries.

Azure/azure-sdk-for-java · 2,563 stars · on GitHub

Install

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.

Any agent
npx skills add Azure/azure-sdk-for-java --skill cu-sdk-setup
Clone the repo
git clone --depth 1 https://github.com/Azure/azure-sdk-for-java

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cu-sdk-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/azure/azure-sdk-for-java/cu-sdk-setup/github.svg)](https://agentmods.dev/skills/azure/azure-sdk-for-java/cu-sdk-setup)
Your own site
<a href="https://agentmods.dev/skills/azure/azure-sdk-for-java/cu-sdk-setup"><img src="https://agentmods.dev/badge/skills/azure/azure-sdk-for-java/cu-sdk-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cu-sdk-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/azure/azure-sdk-for-java/cu-sdk-setup"><img src="https://agentmods.dev/badge/skills/azure/azure-sdk-for-java/cu-sdk-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,312 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 30 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 47
    Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
    Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
  • high Privilege Escalation · line 72
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 86
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 144
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 146
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 156
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 158
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 165
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 167
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 280
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 387
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 389
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 392
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 439
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 456
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 489
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 505
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 507
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 517
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 519
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.07312
Opus 5.5 $0.00019 $0.02925
Sonnet 5.5 $0.00009 $0.01462
Haiku 4.5 $0.00005 $0.00731

Measured 2mo ago against content hash e2ebe320fed7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

cu-sdk-setup scanned grade B with 2 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 2mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/setup_user_env.ps1, scripts/setup_user_env.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

> - **Debian / Ubuntu / WSL** → `sudo apt update && sudo apt install -y openjdk-21-jdk maven`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

> Before asking the user for deployment names, probe what the resource already has configured. Use `curl` with the endpoint and credentials gathered above.
sdk/contentunderstanding/azure-ai-contentunderstanding/.github/skills/cu-sdk-setup/SKILL.md · 577 lines

How it starts

The opening of the file, as written. The whole thing — 577 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SDK User Environment Setup for Azure AI Content Understanding (Java)

Set up your Java environment to use the Azure AI Content Understanding SDK and run samples.

[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_questions tool when available.

Prerequisites

Before starting, ensure you have:

  • JDK 8 or later installed (JDK 11+ recommended; JDK 17/21 LTS also supported)
  • Apache Maven 3.6+ installed
  • An Azure subscription (create one for free)
  • A Microsoft Foundry resource in a supported region
  • Azure CLI installed (recommended for DefaultAzureCredential auth via az login)

[COPILOT] Probe JDK/Maven runtime first (before asking): Do not take the user's word for it — run these checks, then report. This prevents silent failures later during mvn operations.

java -version 2>&1 | head -1
mvn -version 2>&1 | head -1

Decision table:

Finding Action
JDK 8+ and Maven 3.6+ both present ✓ Good to go. Proceed to the [ASK USER] block below.
java missing Report the finding, then go to the [ASK USER] JDK/Maven install choice block below.
JDK version < 8 Report the finding, then go to the [ASK USER] JDK/Maven install choice block below.
mvn missing Report the finding, then go to the [ASK USER] JDK/Maven install choice block below.
Maven version < 3.6 Report the finding, then go to the [ASK USER] JDK/Maven install choice block below.

[ASK USER] JDK/Maven install choice (only when probe fails): Ask the user: "JDK or Maven is missing / too old. How would you like to proceed?"

  • Option A: Install it for me — Agent runs the platform-appropriate install command (see below), verifies, and continues.
  • Option B: I'll install it myself — Agent prints the install command for the user's platform and stops. User runs it, re-opens the terminal, and tells the agent to resume.

Default install commands (Option A):

  • macOS → brew install openjdk@21 maven (requires Homebrew; if not installed, fall back to Option B)
  • Debian / Ubuntu / WSL → sudo apt update && sudo apt install -y openjdk-21-jdk maven
  • Windows → winget install Microsoft.OpenJDK.21 and winget install Apache.Maven

Before running Option A, confirm with the user one more time by restating the exact command that will execute, then proceed. After install, re-run the probe to verify JDK 8+ and Maven 3.6+ before continuing.

Report the detected versions back to the user in one sentence before the [ASK USER] block below.

Read the full file on GitHub · 577 lines

Files

What ships with it

2 files 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.

Changes

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.

  1. 2mo ago First seen · 577 lines · 47 tokens per session scan B e2ebe320fed7

Subscribe to this mod's changes

cu-sdk-setup is a skill published in the GitHub repository Azure/azure-sdk-for-java (2,563 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 7,312 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

cu-sdk-setup compared with skills from other repositories

cu-sdk-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cu-sdk-setupAzure/azure-sdk-for-javaSkill2.6ktodayMITB47Claude Code, Codex
generate-code-csAzure/azure-sdk-for-netSkill6.1ktodayMITA26Claude Code, Codex
translate-a-sampleAzure/azure-sdk-for-netSkill6.1ktodayMITA90Claude Code, Codex
author-testAzure/azure-sdk-for-netSkill6.1ktodayMITA68Claude Code, Codex
azure-appconfiguration-javamicrosoft/skillsSkill3.2kyesterdayMITA55Claude Code
azure-monitor-query-javamicrosoft/skillsSkill3.2kyesterdayMITA81Claude Code
azure-communication-chat-javamicrosoft/skillsSkill3.2kyesterdayMITA41Claude Code