image-understand

image-understand is a skill for Claude Code, Codex from ssmurfgg04-gif/context-m. It costs 63 tokens per session (5,250 once invoked), scanned A, original, Apache-2.0.

A backend skill for analyzing static images with AI. It can describe scenes, recognize objects, extract text through OCR, classify images, assess quality, and create accessibility descriptions.

In plain words
What is it for?
Use it for image descriptions, object detection, text extraction, classification, quality checks, or alt text.
Why use it?
It provides one integration for turning image content into useful text or labels. It also supports checking and organizing visual information in common image formats.

Skill for Claude CodeCodex

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

Good fit Use it for image descriptions, object detection, text extraction, classification, quality checks, or alt text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ssmurfgg04-gif/context-m/image-understand
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 ssmurfgg04-gif/context-m --skill image-understand
Clone the repo
git clone --depth 1 https://github.com/ssmurfgg04-gif/context-m

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 image-understand

README.md
[![agentmods](https://agentmods.dev/badge/skills/ssmurfgg04-gif/context-m/image-understand/github.svg)](https://agentmods.dev/skills/ssmurfgg04-gif/context-m/image-understand)
Your own site
<a href="https://agentmods.dev/skills/ssmurfgg04-gif/context-m/image-understand"><img src="https://agentmods.dev/badge/skills/ssmurfgg04-gif/context-m/image-understand/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 image-understand

Your own site · 80×15
<a href="https://agentmods.dev/skills/ssmurfgg04-gif/context-m/image-understand"><img src="https://agentmods.dev/badge/skills/ssmurfgg04-gif/context-m/image-understand.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,250 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 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.00063 $0.05250
Opus 5 $0.00032 $0.02625
Sonnet 5 $0.00013 $0.01050
Haiku 4.5 $0.00006 $0.00525

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

Security

Grade A, and why

image-understand 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/image-understand.ts), 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.

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.

skills/image-understand/SKILL.md · 856 lines

How it starts

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

Image Understanding Skill

This skill provides specialized image understanding functionality using the z-ai-web-dev-sdk package, enabling AI models to analyze, describe, and extract information from static images.

Skills Path

Skill Location: {project_path}/skills/image-understand

this skill is located at above path in your project.

Reference Scripts: Example test scripts are available in the {Skill Location}/scripts/ directory for quick testing and reference. See {Skill Location}/scripts/image-understand.ts for a working example.

Overview

Image Understanding focuses specifically on static image analysis, providing capabilities for:

  • Image description and scene understanding
  • Object detection and recognition
  • OCR (Optical Character Recognition) and text extraction
  • Image classification and categorization
  • Visual content analysis
  • Quality assessment
  • Accessibility (alt text generation)

IMPORTANT: z-ai-web-dev-sdk MUST be used in backend code only. Never use it in client-side code.

Prerequisites

The z-ai-web-dev-sdk package is already installed. Import it as shown in the examples below.

CLI Usage (For Simple Tasks)

For quick image analysis tasks, you can use the z-ai CLI instead of writing code. This is ideal for simple image descriptions, testing, or automation.

Basic Image Analysis

# Describe an image from URL
z-ai vision --prompt "What's in this image?" --image "https://example.com/photo.jpg"

# Using short options
z-ai vision -p "Describe this image" -i "https://example.com/image.png"

Analyze Local Images

# Analyze a local image file
z-ai vision -p "What objects are in this photo?" -i "./photo.jpg"

# Save response to file
z-ai vision -p "Describe the scene" -i "./landscape.png" -o description.json

Multiple Images Comparison

# Compare multiple images
z-ai vision \
  -p "Compare these two images and highlight the differences" \
  -i "./photo1.jpg" \
  -i "./photo2.jpg" \
  -o comparison.json

# Analyze a series of images
z-ai vision \
  --prompt "What patterns do you see across these images?" \
  --image "https://example.com/img1.jpg" \
  --image "https://example.com/img2.jpg" \
  --image "https://example.com/img3.jpg"

Read the full file on GitHub · 856 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. 7d ago First seen · 856 lines · 63 tokens per session scan A e8fc7d756a26

Subscribe to this mod's changes

image-understand is a skill published in the GitHub repository ssmurfgg04-gif/context-m (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 63 tokens to every session and 5,250 once invoked, about $0.0003 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-09-03.