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.
npx skills add waybarrios/opencode-power-pack --skill huggingface-vision-trainergit clone --depth 1 https://github.com/waybarrios/opencode-power-packWrote 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.
[](https://agentmods.dev/skills/waybarrios/opencode-power-pack/huggingface-vision-trainer)<a href="https://agentmods.dev/skills/waybarrios/opencode-power-pack/huggingface-vision-trainer"><img src="https://agentmods.dev/badge/skills/waybarrios/opencode-power-pack/huggingface-vision-trainer.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00048 | $0.02855 |
| Opus 5 | $0.00024 | $0.01427 |
| Sonnet 5 | $0.00010 | $0.00571 |
| Haiku 4.5 | $0.00005 | $0.00285 |
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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vision Model Training on Hugging Face Jobs
Train object detection, image classification, and SAM/SAM2 segmentation models on managed cloud GPUs. No local GPU setup required — results are automatically saved to the Hugging Face Hub. For text/language model fine-tuning (SFT/DPO/GRPO via TRL), use this pack's huggingface-llm-trainer skill instead.
When to Use
Fine-tuning object detection models (D-FINE, RT-DETR v2, DETR, YOLOS), image classification models (any timm/ model or Transformers classifier), or SAM/SAM2 segmentation models (bbox or point prompts) on custom datasets — locally or on Hugging Face Jobs.
Local Script Execution
Helper scripts use PEP 723 inline dependencies:
uv run scripts/dataset_inspector.py --dataset username/dataset-name --split train
uv run scripts/estimate_cost.py --help
Prerequisites Checklist
- Hugging Face account with Pro/Team/Enterprise plan (Jobs require a paid plan). Authenticated login (
hf auth whoami), token with write permissions passed in job secrets. - Object detection: dataset on the Hub with an
objectscolumn (bbox,category, optionalarea). Bboxes in xywh (COCO) or xyxy (Pascal VOC) — auto-detected/converted. Categories can be integers or strings (auto-remapped).image_idoptional, auto-generated. - Image classification: an
imagecolumn (PIL images) and alabelcolumn (integer or string class IDs,ClassLabelor plain — auto-remapped). Common alt names (labels,class,fine_label) auto-detected. - SAM/SAM2 segmentation: an
imagecolumn, amaskcolumn (binary ground-truth mask), and a prompt — either apromptcolumn with JSON ({"bbox": [...]}or{"point": [...]}), or dedicatedbbox/pointcolumns (xyxy, absolute pixels). Example dataset:merve/MicroMat-mini. - Always validate unknown datasets first (see Dataset Validation below).
- Timeout must exceed expected training time — default 30min is too short, use 2-4h minimum for vision training.
- Hub push enabled:
push_to_hub=True,hub_model_id="username/model-name", token insecrets.
What ships with it
11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/finetune_sam2_trainer.md 6.3 KB
- references/hub_saving.md 17 KB
- references/image_classification_training_notebook.md 11 KB
- references/object_detection_training_notebook.md 29 KB
- references/reliability_principles.md 9.3 KB
- references/timm_trainer.md 3.5 KB
- scripts/dataset_inspector.py 31 KB runs code
- scripts/estimate_cost.py 7.2 KB runs code
- scripts/image_classification_training.py 13 KB runs code
- scripts/object_detection_training.py 27 KB runs code
- scripts/sam_segmentation_training.py 14 KB runs code
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.
- 8d ago First seen · 120 lines · 48 tokens per session scan A 00d83a33ff1d
huggingface-vision-trainer is a skill published in the GitHub repository waybarrios/opencode-power-pack (495 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 2,855 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.
Other skills, from other repositories
shipkit-prompt-audit
Audit LLM prompt pipeline architecture — decomposition, parallelization, chain integrity, schema validation, fallback paths. Finds structural issues no linter catches.
review-loop
Run the adversarial verification loop — implement, then hand the change to a fresh checker that did not write it, fix what it finds, and re-dispatch until APPROVE. Use before claiming any behavioural change is done, and on requests like "review loop", "adversarial review", "independent review", "get this verified"…
memstack-seo-ai-search-visibility
Use this skill when the user says 'AI search', 'AI visibility', 'ChatGPT ranking', 'Perplexity optimization', 'GEO', 'generative engine optimization', or needs to optimize content for AI-powered search engines and LLM citations. Do NOT use for traditional SEO audits or Google Ads.
ln-11-plan-reviewer
Reviews an implementation plan against repository evidence before execution; identifies missing decisions and risks. Not for completed-code review.
ln-25-persistence-auditor
Audits queries, transactions, data-path costs, and persistence resource lifetimes. Not for general performance tuning.
ln-71-system-design-baseline-builder
Creates architecture-driving requirements and constraints before design. Not for target design, plan review, or implementation audits.