Kuzco classification

From frankiethull/kuzco · View interactive version

Kuzco classification is an AI agent skill from the GitHub repository frankiethull/kuzco. Classify an image and describe its contents with a local vision LLM. Wraps kuzco's tool_llm_image_classification() ellmer tool. Use when the task needs image classification, object identification, or a structured description of what an image contains.

How to use this skill

Skill file

kuzco-classification

Classify an image and describe its contents using a local vision language model,

exposed as an ellmer tool by the kuzco R package.

When to use

The user wants to know what an image shows: its category, the primary and secondary

objects, a description, dominant colors, or class probabilities. This is the default

skill for "what is in this image?" questions.

Setup

library(kuzco)
library(ellmer)

chat <- chat_ollama(model = "qwen2.5vl")
chat$register_tool(tool_llm_image_classification())

Tool arguments (LLM-controlled)

Result

Compact JSON text with image_classification, primary_object, secondary_object,

image_description, image_colors, and image_proba_names / image_proba_values.

Summarize the key fields for the user; quote the description verbatim when asked for detail.

Example

User: "What animal is in img/puppy.jpg?"

1. Call kuzco_image_classification with image = "img/puppy.jpg".

2. Answer from primary_object and image_description, mentioning the classification and confidence.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.