Skip to content
Development
Skill

/domain-multimodal

Use for vision-language and multimodal tasks: image-text retrieval, zero-shot image classification, visual question answering (VQA), image captioning, document or chart understanding, and visual grounding. Picks a contrastive dual-encoder or an instruction-tuned VLM, and uses

From plugin
mlcraft
823 skills1 agent1 command

Claude Code

$ npx -y skills add mxslr/mlcraft --skill domain-multimodal --agent claude-code

SKILL.md

domain-multimodal.SKILL.md
name: domain-multimodal
description: "Use for vision-language and multimodal tasks: image-text retrieval, zero-shot image classification, visual question answering (VQA), image captioning, document or chart understanding, and visual grounding. Picks a contrastive dual-encoder or an instruction-tuned VLM, and uses task-appropriate evaluation. Triggers on 'vision language', 'image and text', 'CLIP', 'VQA', 'visual question answering', 'image captioning', 'multimodal', 'describe an image', 'document understanding', 'zero-shot image'."

Multimodal (Vision-Language) - Method Selection

Try zero-shot first. Pretrained models often work with no training.

Decision table

| Task | Recommended | Notes | |---|---|---| | Zero-shot classification or image-text retrieval | CLIP or SigLIP (contrastive dual-encoder) | embeddings plus cosine similarity; build an approximate nearest neighbor index for retrieval. | | VQA, captioning, visual chat | BLIP-2 (Q-Former plus a frozen LLM) or a LLaVA-family model | instruction-tuned; adapt parameter-efficiently. | | Fine detail, documents, or charts | a high-resolution VLM or a document-specialized model | small text and layout need high input resolution. | | Custom domain adaptation | LoRA on the VLM, or fine-tune CLIP with a contrastive loss | small data. |

Cross-cutting practice

  • Prompt design matters for VLMs. Start zero-shot and only fine-tune if it is insufficient.
  • Metrics: retrieval uses Recall@K; zero-shot classification uses accuracy; VQA uses VQA accuracy (open-ended VQA needs an LLM judge plus human checks); captioning uses CIDEr, SPICE, or BLEU plus human review.
  • Caveats: VLMs hallucinate, so evaluate faithfulness. Deduplicate to avoid train and test image overlap.
  • Explainability: cross-attention or grounding maps (which region the answer used), and retrieved neighbors for retrieval.
  • Improve results: use `accuracy-improvement-loop`; evaluate with `rigorous-evaluation`.
Read more
@mxslr
Ships withmlcraft

A research-first AI/ML research-engineer workflow for Claude Code

823 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of mxslr/mlcraft on GitHub, a chart by star-history.com

Other skills on mlcraft.

accuracy-improvement-loop

accuracy-improvement-l…

Use when an existing model's results are disappointing and the user wants higher accuracy - 'accuracy is still too low',…

@mxslr@mxslrInstall Skill
data-rigor-and-leakage

data-rigor-and-leakage

Use BEFORE training any model, to build correct train/val/test splits and hunt data leakage - the #1 cause of fake-high accuracy.…

@mxslr@mxslrInstall Skill
dataset-profiling

dataset-profiling

Use as the FIRST step of any ML task, before choosing a model, to inspect and understand the actual dataset. Works for a LOCAL…

@mxslr@mxslrInstall Skill
deployment-explainability

deployment-explainabil…

Use when turning a trained model into something usable (an app, an inference function, a demo) or adding explainability. Selects…

@mxslr@mxslrInstall Skill
domain-3d

domain-3d

Use for 3D and point cloud tasks: point cloud classification, 3D semantic or instance segmentation, 3D object detection from…

@mxslr@mxslrInstall Skill
domain-anomaly-detection

domain-anomaly-detecti…

Use for anomaly, outlier, and novelty detection across data types: industrial or visual defect detection, time-series or sensor…

@mxslr@mxslrInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc11d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about domain-multimodal.

Which coding agents can use domain-multimodal?
domain-multimodal installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.