Smolvlm

From tdimino/claude-code-minoan · View interactive version

Smolvlm is an AI agent skill from the GitHub repository tdimino/claude-code-minoan. Local vision-language model for image analysis using SmolVLM-2B

How to use this skill

Skill file

SmolVLM - Local Image Analysis

Analyze images locally using SmolVLM-2B, a state-of-the-art compact vision-language model optimized for Apple Silicon via mlx-vlm.

Quick Usage

Describe an Image

python ~/.claude/skills/smolvlm/scripts/view_image.py /path/to/image.png

Ask a Question About an Image

python ~/.claude/skills/smolvlm/scripts/view_image.py /path/to/image.png "What text is visible?"

Specific Tasks

# Extract text (OCR)
python ~/.claude/skills/smolvlm/scripts/view_image.py screenshot.png "Extract all text"

# UI analysis
python ~/.claude/skills/smolvlm/scripts/view_image.py ui.png "Describe the UI elements"

# Detailed description
python ~/.claude/skills/smolvlm/scripts/view_image.py photo.jpg --detailed

Effective Prompts

General Description

Text Extraction (OCR)

UI/Screenshot Analysis

Visual Question Answering

Code/Technical

Model Details

| Spec | Value |

|------|-------|

| Model | SmolVLM-2B-Instruct |

| Size | ~4GB |

| Peak Memory | 5.8GB |

| Speed | ~94 tok/s (M-series) |

| Supported Formats | PNG, JPG, JPEG, GIF, WebP |

Requirements

Troubleshooting

"Model not found": First run downloads the model (~4GB). Wait for completion.

Out of memory: Close other applications. Model needs ~6GB free RAM.

Slow first inference: Model loading takes 10-15s on first use, subsequent calls are faster.

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.