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/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.
<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="Reviewed on agentmods" width="80" 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.5 | $0.00019 | $0.01142 |
| Sonnet 5.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 1mo 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.
- 1mo 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 (544 stars, last pushed 4d ago), licensed MIT. It adds 48 tokens to every session and 2,855 once invoked, about $0.0002 per session on Opus 5.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
answer-audit
Adversarially audit a RAG answer against the corpus it claims to cite. Use when asked to review, critique, sanity-check, or "give skeptical feedback on" an answer produced by Canon (or any retrieval-grounded system) — especially when the answer looks good. Assumes the answer is wrong until each claim is proven…
prompt-optimization
Applies prompt repetition to improve accuracy for non-reasoning LLMs. Use when a Haiku or other non-reasoning agent misses details in a long prompt.
constitutional-ai
Anthropic's method for training harmless AI through self-improvement. Two-phase approach - supervised learning with self-critique/revision, then RLAIF (RL from AI Feedback). Use for safety alignment, reducing harmful outputs without human labels. Powers Claude's safety system.
instructor
Extract structured data from LLM responses with Pydantic validation, retry failed extractions automatically, parse complex JSON with type safety, and stream partial results with Instructor - battle-tested structured output library.
ai-elements
AI Elements component library guidance — pre-built React components for AI interfaces built on shadcn/ui. Use when building chat UIs, message displays, tool call rendering, streaming responses, reasoning panels, or any AI-native interface with the AI SDK.
ai-gateway
Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.