domain-computer-vision

domain-computer-vision is a skill for Claude Code, Codex from mxslr/mlcraft. It costs 96 tokens per session (673 once invoked), scanned A, original, MIT.

A guide for machine-learning tasks that use ordinary images, including recognizing categories, finding objects, reading text, detecting faces, and identifying image regions or body points.

In plain words
What is it for?
Use it for image classification, object and face detection, face verification, image segmentation, pose estimation, OCR (reading text from images), and related tasks.
Why use it?
It helps match the model and training approach to the visual task instead of using one method for every type of image problem.

Skill for Claude CodeCodex

Part of the mlcraft plugin — 23 skills, 1 command, 1 agent shipped together

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/mxslr/mlcraft/domain-computer-vision
Any agent
npx skills add mxslr/mlcraft --skill domain-computer-vision
Clone the repo
git clone --depth 1 https://github.com/mxslr/mlcraft

Made for: Claude Code, Codex.

Or install mlcraft, the plugin that ships this one along with the rest of its 23 skills, 1 command, 1 agent.

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 domain-computer-vision

README.md
[![agentmods](https://agentmods.dev/badge/skills/mxslr/mlcraft/domain-computer-vision.svg)](https://agentmods.dev/skills/mxslr/mlcraft/domain-computer-vision)
Your own site
<a href="https://agentmods.dev/skills/mxslr/mlcraft/domain-computer-vision"><img src="https://agentmods.dev/badge/skills/mxslr/mlcraft/domain-computer-vision.svg" alt="Measured on agentmods" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 673 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 $0.00096 $0.00673
Opus 5 $0.00048 $0.00336
Sonnet 5 $0.00019 $0.00135
Haiku 4.5 $0.00010 $0.00067

Measured 3d ago against content hash e0a44e4fe613, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

domain-computer-vision 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 3d 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/domain-computer-vision/SKILL.md · 31 lines

How it starts

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

Computer Vision - Method Selection

Pick by sub-task, then apply training-optimization + rigorous-evaluation. Prefer pretrained backbones; train from scratch only with very large data.

Decision table

Sub-task Recommended (strong default, then heavier option) Notes
Image classification EfficientNet / ConvNeXt, then ViT/Swin (needs more data) ConvNeXt/EffNet are strong, data-efficient. Match input resolution to the backbone.
Object detection YOLO (v8/11) / RT-DETR, then DINO-DETR or Faster R-CNN YOLO for speed/deploy; DETR-family for accuracy. Use mAP@IoU.
Face detection RetinaFace / YOLO-face / MTCNN Detection ≠ recognition.
Face recognition/verification ArcFace / CosFace embeddings + similarity Metric-learning, not softmax classification. Evaluate with verification (ROC/EER), gallery split by identity.
Semantic segmentation U-Net / DeepLabv3+ / SegFormer Dice/IoU. Watch class imbalance.
Instance segmentation Mask R-CNN / YOLO-seg
Promptable / zero-shot seg SAM / SAM2 Great for annotation & few-shot.
Keypoints / pose HRNet / YOLO-pose / ViTPose
OCR detector + recognizer (DBNet + CRNN) / TrOCR / PaddleOCR

Cross-cutting CV practice

  • Transfer learning from ImageNet; two-phase fine-tune; discriminative LR (see training-optimization).
  • Augmentation matched to the task: flips only if label-invariant (a horizontally-flipped digit/letter is different!); mild rotation/scale/color; MixUp/CutMix help classification but can hurt localization and fine textures.
  • Resolution is a top accuracy lever - small objects need higher resolution or tiling/patching; don't downsample away the signal.
  • Detection data: verify box format (xywh vs xyxy, normalized?), anchor/scale sizing, and NMS thresholds.
  • Leakage: split by source/scene/identity, not by frame - consecutive frames or same-identity images must not cross splits (data-rigor-and-leakage).
  • Explainability: Grad-CAM for classifiers; overlay predicted boxes/masks for detection/segmentation.
  • Improve accuracy: use accuracy-improvement-loop. For tiny objects in big images, consider tiling or weakly-supervised localization.

Read the full file on GitHub · 31 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. 3d ago First seen · 31 lines · 96 tokens per session scan A e0a44e4fe613

Subscribe to this mod's changes

domain-computer-vision is a skill published in the GitHub repository mxslr/mlcraft (8 stars, last pushed 1mo ago), licensed MIT. It adds 96 tokens to every session and 673 once invoked, about $0.0005 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-08-31.

Related

Other skills, from other repositories

seo-strategy

Audits and improves organic search performance — technical health, site architecture, internal linking, structured data, and the content decisions that determine what can rank. Use this to run an SEO audit, diagnose why pages are not ranking or were deindexed, plan a site's URL and navigation structure, add structured…

cbrock84/headcount · 74 tokens

implement-factory

Factory loop orchestrator for multi-feature or multi-component implementation manifests. Use for high-complexity work with parallel-eligible workstreams and holdout-scenario evaluation.

rsmdt/the-startup · 37 tokens

chief-strategy-officer

Owns where the business plays and how it wins over a multi-year horizon — portfolio choices, corporate development, strategic partnerships, and planning under uncertainty. Use this for a decision about which markets or businesses to be in, whether to build, buy, or partner, how to allocate capital across business…

cbrock84/headcount · 93 tokens

scenario-planning

Plans under genuine uncertainty — building scenarios, identifying which assumptions are load-bearing, setting early-warning indicators, and stress-testing a plan against futures rather than forecasting one. Use this when a decision depends on something unknowable, when a plan assumes conditions that may not hold…

cbrock84/headcount · 78 tokens

ai-ml-governance

Governs models and AI systems in production — intended use, evaluation, monitoring, human oversight, documentation, and the decision to deploy or retire. Use this before deploying a model or AI feature, when defining evaluation criteria, when a model's behavior has drifted, when assessing AI risk or regulatory…

cbrock84/headcount · 83 tokens

ai-research-analyst

Produces executive-level research — market sizing, competitor mapping, trend analysis, and strategic intelligence — grounded in cited sources with the confidence in each claim made explicit. Use this to analyze a market or industry, map competitors, evaluate a market-entry or build-versus-buy decision, produce a…

cbrock84/headcount · 91 tokens