huggingface-vision-trainer

huggingface-vision-trainer is a skill for Claude Code, Codex from metaspartan/cybara. It costs 37 tokens per session (335 once invoked), scanned A, original, MIT.

A workflow for preparing, training, evaluating, and publishing computer-vision and vision-language models with Hugging Face tools. Computer-vision models work with images, while vision-language models work with both images and text.

In plain words
What is it for?
Use it for image classification, object detection, segmentation, depth estimation, and vision-language fine-tuning, including dataset checks and publishing evaluation results.
Why use it?
It helps catch dataset, label, licensing, preprocessing, and evaluation problems before expensive remote training runs.

Skill for Claude CodeCodex

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

Good fit Use it for image classification, object detection, segmentation, depth estimation, and vision-language fine-tuning, including dataset checks and publishing evaluation results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/metaspartan/cybara/huggingface-vision-trainer
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.

Any agent
npx skills add metaspartan/cybara --skill huggingface-vision-trainer
Clone the repo
git clone --depth 1 https://github.com/metaspartan/cybara

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 huggingface-vision-trainer

README.md
[![agentmods](https://agentmods.dev/badge/skills/metaspartan/cybara/huggingface-vision-trainer/github.svg)](https://agentmods.dev/skills/metaspartan/cybara/huggingface-vision-trainer)
Your own site
<a href="https://agentmods.dev/skills/metaspartan/cybara/huggingface-vision-trainer"><img src="https://agentmods.dev/badge/skills/metaspartan/cybara/huggingface-vision-trainer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for huggingface-vision-trainer

Your own site · 80×15
<a href="https://agentmods.dev/skills/metaspartan/cybara/huggingface-vision-trainer"><img src="https://agentmods.dev/badge/skills/metaspartan/cybara/huggingface-vision-trainer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 335 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00037 $0.00335
Opus 5 $0.00018 $0.00168
Sonnet 5 $0.00007 $0.00067
Haiku 4.5 $0.00004 $0.00034

Measured 10d ago against content hash 4133a601176f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

huggingface-vision-trainer 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 10d 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.

plugins/huggingface-workflows/skills/huggingface-vision-trainer/SKILL.md · 25 lines

What it actually says

Hugging Face Vision Trainer

Use this workflow for image classification, object detection, segmentation, depth estimation, and vision-language fine-tuning.

Workflow

  1. Inspect the dataset card, license, image features, labels, splits, corrupt records, class balance, dimensions, and annotation coordinate format.
  2. Visualize a small representative sample before transforming labels or augmenting images.
  3. Choose a model and processor that explicitly support the task and license requirements.
  4. Preserve label mappings, preprocessing settings, image normalization, and augmentation seeds in the training configuration.
  5. Split by source or subject when random row splitting could leak near-duplicate images.
  6. Select task-appropriate metrics such as accuracy/F1, mAP, IoU, or VQA-style scores.
  7. Run a small batch through preprocessing, forward pass, loss, and metric computation before launching remote training.
  8. Save the processor with the model and publish representative evaluation outputs in the model card.

For vision-language models, ensure image tokens are not truncated and verify the model's chat template. Use PEFT when it materially reduces memory without invalidating the task.

Remote GPU work follows the huggingface-jobs confirmation and monitoring workflow. Do not upload private images, biometric data, or sensitive annotations without explicit authorization.

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. 10d ago First seen · 25 lines · 37 tokens per session scan A 4133a601176f

Subscribe to this mod's changes

huggingface-vision-trainer is a skill published in the GitHub repository metaspartan/cybara (28 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 335 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

Jupyter Live Kernel

Guides notebook-first analysis with reproducible kernels, inspectable data loading, and explicit promotion paths back into durable code.

agentic-in/elephant-agent · 29 tokens

ecc-cost-aware-llm-pipeline

Cost optimization patterns for LLM API usage — model routing by task complexity, budget tracking, retry logic, and prompt caching. Use when LLM spend needs to come down, or when routing tasks across model tiers and budgets.

KornLabs/truss · 54 tokens

slop-diagrams

Create branded architecture, IT current-state, flowchart, sequence, state machine, ER/data model, timeline, swimlane, quadrant, radar/spider, polar chart (polar/radial lollipop), loop/flywheel, nested, tree, org chart, layer stack, Venn, pyramid/funnel, treemap, bar, line, Gantt and scatter charts, high-level…

KornLabs/truss · 190 tokens

histolab

Lightweight WSI tile extraction and preprocessing. Use for basic slide processing tissue detection, tile extraction, stain normalization for H&E images. Best for simple pipelines, dataset preparation, quick tile-based analysis. For advanced spatial proteomics, multiplexed imaging, or deep learning pipelines use pathml.

synthetic-sciences/openscience · 62 tokens

glycobiology

Glycosylation site prediction and glycobiology analysis. N-glycosylation motif finding, O-glycosylation hotspot prediction, glycan structure resources. Lightweight, pure Python. For protein function queries use uniprot-database; for structure analysis use alphafold-database.

synthetic-sciences/openscience · 67 tokens

pyhealth

Comprehensive healthcare AI toolkit for developing, testing, and deploying machine learning models with clinical data. This skill should be used when working with electronic health records (EHR), clinical prediction tasks (mortality, readmission, drug recommendation), medical coding systems (ICD, NDC, ATC)…

synthetic-sciences/openscience · 109 tokens