Computer Vision Helper

Computer Vision Helper is a skill for Claude Code, Codex from eddiebelaval/squire. It costs 16 tokens per session (2,284 once invoked), scanned A, original, MIT.

A guide to building software that understands images and video. Computer vision includes tasks such as classifying images, finding objects, separating regions, reading text, and comparing visual content.

In plain words
What is it for?
Use it to plan image classification, object detection, segmentation, OCR, image similarity, document analysis, product recognition, and other visual AI applications.
Why use it?
Visual AI projects require choosing between different methods and balancing accuracy, data, and deployment limits. This helps identify a suitable approach for the task.

Skill for Claude CodeCodex

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

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.

agentmods
npx agentmods add skills/eddiebelaval/squire/computer-vision-helper
Any agent
npx skills add eddiebelaval/squire --skill computer-vision-helper
Clone the repo
git clone --depth 1 https://github.com/eddiebelaval/squire

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 Computer Vision Helper

README.md
[![agentmods](https://agentmods.dev/badge/skills/eddiebelaval/squire/computer-vision-helper.svg)](https://agentmods.dev/skills/eddiebelaval/squire/computer-vision-helper)
Your own site
<a href="https://agentmods.dev/skills/eddiebelaval/squire/computer-vision-helper"><img src="https://agentmods.dev/badge/skills/eddiebelaval/squire/computer-vision-helper.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,284 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00016 $0.02284
Opus 5 $0.00008 $0.01142
Sonnet 5 $0.00003 $0.00457
Haiku 4.5 $0.00002 $0.00228

Measured 2d ago against content hash 3fc50b38713a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

Computer Vision Helper 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 2d 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.

skills/computer-vision-helper/SKILL.md · 318 lines

How it starts

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

Computer Vision Helper

The Computer Vision Helper skill guides you through implementing image analysis and visual AI tasks. From basic image classification to complex object detection and segmentation, this skill helps you leverage modern computer vision techniques effectively.

Computer vision has been transformed by deep learning and now by vision-language models. This skill covers both traditional approaches (CNNs, pre-trained models) and cutting-edge techniques (CLIP, GPT-4V, Segment Anything). It helps you choose the right approach based on your accuracy requirements, available data, and deployment constraints.

Whether you are building product recognition, document analysis, medical imaging, or any visual AI application, this skill ensures you understand the landscape and implement solutions that work.

Core Workflows

Workflow 1: Select Computer Vision Approach

  1. Define the task:
    • Classification: What category is this image?
    • Detection: Where are objects in this image?
    • Segmentation: Pixel-level object boundaries
    • OCR: Extract text from images
    • Similarity: Find similar images
    • Generation: Create or modify images
  2. Assess available resources:
    • Training data quantity and quality
    • Compute budget (training and inference)
    • Latency requirements
    • Accuracy needs
  3. Choose approach:
    Task No Training Data Small Dataset Large Dataset
    Classification CLIP, GPT-4V Transfer learning Fine-tune/train
    Detection GPT-4V, Grounding DINO Fine-tune YOLO Train custom
    Segmentation SAM Fine-tune SAM Train custom
    OCR Cloud APIs, Tesseract Fine-tune Train custom
  4. Plan implementation
  5. Document approach rationale

Workflow 2: Implement Image Classification

  1. Prepare data:
    # Data loading with augmentation
    transform = transforms.Compose([
        transforms.Resize(256),
        transforms.CenterCrop(224),
        transforms.RandomHorizontalFlip(),
        transforms.ColorJitter(brightness=0.2, contrast=0.2),
        transforms.ToTensor(),
        transforms.Normalize(mean=[0.485, 0.456, 0.406],
                           std=[0.229, 0.224, 0.225])
    ])
    
    dataset = ImageFolder(root='data/', transform=transform)
    dataloader = DataLoader(dataset, batch_size=32, shuffle=True)
    
  2. Set up model:
    # Transfer learning from pretrained model
    model = models.resnet50(pretrained=True)
    
    # Freeze early layers
    for param in model.parameters():
        param.requires_grad = False
    
    # Replace classifier head
    model.fc = nn.Linear(model.fc.in_features, num_classes)
    
  3. Train with validation
  4. Evaluate on test set
  5. Optimize for deployment

Read the full file on GitHub · 318 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. 2d ago First seen · 318 lines · 16 tokens per session scan A 3fc50b38713a

Subscribe to this mod's changes

Computer Vision Helper is a skill published in the GitHub repository eddiebelaval/squire (21 stars, last pushed 21d ago), licensed MIT. It adds 16 tokens to every session and 2,284 once invoked, about $0.0001 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.