azure-ai-vision-imageanalysis-java

azure-ai-vision-imageanalysis-java is a skill for Claude Code from Ghosteken/agent-harness. It costs 40 tokens per session (1,994 once invoked), scanned A, a copy of azure-ai-vision-imageanalysis-java, MIT.

A Java SDK for Azure AI Vision that analyzes images by generating captions, extracting text with OCR, detecting objects and people, adding tags, and suggesting crops.

In plain words
What is it for?
Use it to describe images, read text in pictures, find objects or people, label image content, and create smart crops.
Why use it?
It gives Java applications ready access to common image-understanding tasks without implementing computer-vision models themselves.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-harness plugin — 173 skills, 14 commands, 12 agents shipped together

Good fit Use it to describe images, read text in pictures, find objects or people, label image content, and create smart crops.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ghosteken/agent-harness/azure-ai-vision-imageanalysis-java
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 Ghosteken/agent-harness --skill azure-ai-vision-imageanalysis-java
Clone the repo
git clone --depth 1 https://github.com/Ghosteken/agent-harness

Made for: Claude Code.

Or install agent-harness, the plugin that ships this one along with the rest of its 173 skills, 14 commands, 12 agents.

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 azure-ai-vision-imageanalysis-java

README.md
[![agentmods](https://agentmods.dev/badge/skills/ghosteken/agent-harness/azure-ai-vision-imageanalysis-java/github.svg)](https://agentmods.dev/skills/ghosteken/agent-harness/azure-ai-vision-imageanalysis-java)
Your own site
<a href="https://agentmods.dev/skills/ghosteken/agent-harness/azure-ai-vision-imageanalysis-java"><img src="https://agentmods.dev/badge/skills/ghosteken/agent-harness/azure-ai-vision-imageanalysis-java/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 azure-ai-vision-imageanalysis-java

Your own site · 80×15
<a href="https://agentmods.dev/skills/ghosteken/agent-harness/azure-ai-vision-imageanalysis-java"><img src="https://agentmods.dev/badge/skills/ghosteken/agent-harness/azure-ai-vision-imageanalysis-java.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,994 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod 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.00040 $0.01994
Opus 5 $0.00020 $0.00997
Sonnet 5 $0.00008 $0.00399
Haiku 4.5 $0.00004 $0.00199

Measured 9d ago against content hash c4de8ab82e78, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

azure-ai-vision-imageanalysis-java 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 9d 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.

Origin

This is a copy

91% identical to azure-ai-vision-imageanalysis-java — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

archive/skills-community/azure-ai-vision-imageanalysis-java/SKILL.md · 300 lines

How it starts

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

Azure AI Vision Image Analysis SDK for Java

Build image analysis applications using the Azure AI Vision Image Analysis SDK for Java.

Installation

<dependency>
    <groupId>com.azure</groupId>
    <artifactId>azure-ai-vision-imageanalysis</artifactId>
    <version>1.1.0-beta.1</version>
</dependency>

Client Creation

With API Key

import com.azure.ai.vision.imageanalysis.ImageAnalysisClient;
import com.azure.ai.vision.imageanalysis.ImageAnalysisClientBuilder;
import com.azure.core.credential.KeyCredential;

String endpoint = System.getenv("VISION_ENDPOINT");
String key = System.getenv("VISION_KEY");

ImageAnalysisClient client = new ImageAnalysisClientBuilder()
    .endpoint(endpoint)
    .credential(new KeyCredential(key))
    .buildClient();

Async Client

import com.azure.ai.vision.imageanalysis.ImageAnalysisAsyncClient;

ImageAnalysisAsyncClient asyncClient = new ImageAnalysisClientBuilder()
    .endpoint(endpoint)
    .credential(new KeyCredential(key))
    .buildAsyncClient();

With DefaultAzureCredential

import com.azure.identity.DefaultAzureCredentialBuilder;

ImageAnalysisClient client = new ImageAnalysisClientBuilder()
    .endpoint(endpoint)
    .credential(new DefaultAzureCredentialBuilder().build())
    .buildClient();

Visual Features

Feature Description
CAPTION Generate human-readable image description
DENSE_CAPTIONS Captions for up to 10 regions
READ OCR - Extract text from images
TAGS Content tags for objects, scenes, actions
OBJECTS Detect objects with bounding boxes
SMART_CROPS Smart thumbnail regions
PEOPLE Detect people with locations

Core Patterns

Generate Caption

import com.azure.ai.vision.imageanalysis.models.*;
import com.azure.core.util.BinaryData;
import java.io.File;
import java.util.Arrays;

// From file
BinaryData imageData = BinaryData.fromFile(new File("image.jpg").toPath());

ImageAnalysisResult result = client.analyze(
    imageData,
    Arrays.asList(VisualFeatures.CAPTION),
    new ImageAnalysisOptions().setGenderNeutralCaption(true));

System.out.printf("Caption: \"%s\" (confidence: %.4f)%n",
    result.getCaption().getText(),
    result.getCaption().getConfidence());

Read the full file on GitHub · 300 lines

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. 9d ago First seen · 300 lines · 40 tokens per session scan A c4de8ab82e78

Subscribe to this mod's changes

azure-ai-vision-imageanalysis-java is a skill published in the GitHub repository Ghosteken/agent-harness (2 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 1,994 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to azure-ai-vision-imageanalysis-java, differing in 7 lines, and is treated as a copy.

Related

Other skills, from other repositories

azure-ai-vision-imageanalysis-java

Build image analysis applications with Azure AI Vision SDK for Java. Use when implementing image captioning, OCR text extraction, object detection, tagging, or smart cropping.

microsoft/skills · 40 tokens

tsp-type-override

Override TypeSpec types with Java-native types (e.g. OffsetDateTime, DayOfWeek) using @@alternateType in a client.java.tsp file. Use when a TypeSpec model field has an incorrect or too-generic type that should map to a specific Java type.

Azure/azure-sdk-for-java · 62 tokens

tsp-naming-collision

Fix Java codegen parameter names that end with a numeric suffix (e.g. createAgentRequest1) caused by TypeSpec model names colliding with synthetic body type names. Use when generated Java client methods have parameter names ending in '1'.

Azure/azure-sdk-for-java · 56 tokens

ax-java-gen

Use when writing Java code with dev.axllm:ax for AxGen programs, forward calls, indexed multi-sampling, result pickers, streaming, tools, assertions, traces, usage, and output parsing.

ax-llm/ax · 49 tokens

can

A debugging tool for CAN and CAN-FD, communication systems used by vehicles and embedded devices. It can find interfaces, monitor and send messages, record logs, decode DBC database files, and report bus statistics.

zhinkgit/embeddedskills · 168 tokens

aws-sdk-java-v2-bedrock

Provides Amazon Bedrock patterns using AWS SDK for Java 2.x. Invokes foundation models (Claude, Llama, Titan), generates text and images, creates embeddings for RAG, streams real-time responses, and configures Spring Boot integration. Use when asking about Bedrock integration, Java SDK for AI models, AWS generative…

giuseppe-trisciuoglio/developer-kit · 92 tokens