tao-port-huggingface-model

tao-port-huggingface-model is a skill for Claude Code from NVIDIA-TAO/tao-skill-bank. It costs 210 tokens per session (4,521 once invoked), scanned C, original, Apache-2.0.

A workflow for adapting a computer-vision model from Hugging Face, a model-sharing platform, for use with NVIDIA TAO Toolkit and TensorRT. It covers local configuration, training, deployment, and repeated testing and debugging.

In plain words
What is it for?
Connecting Hugging Face vision models such as ViT, DETR, or SegFormer to TAO, then building, testing, debugging, and deploying them locally.
Why use it?
It addresses the integration work needed when a model built for one ecosystem must run in TAO's training and deployment pipeline.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the tao-skills plugin — 82 skills shipped together , and of tao-skill-bank

Good fit Connecting Hugging Face vision models such as ViT, DETR, or SegFormer to TAO, then building, testing, debugging, and deploying them locally.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nvidia-tao/tao-skill-bank/tao-port-huggingface-model
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 NVIDIA-TAO/tao-skill-bank --skill tao-port-huggingface-model
Clone the repo
git clone --depth 1 https://github.com/NVIDIA-TAO/tao-skill-bank

Made for: Claude Code.

Or install tao-skills, the plugin that ships this one along with the rest of its 82 skills.

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 tao-port-huggingface-model

README.md
[![agentmods](https://agentmods.dev/badge/skills/nvidia-tao/tao-skill-bank/tao-port-huggingface-model/github.svg)](https://agentmods.dev/skills/nvidia-tao/tao-skill-bank/tao-port-huggingface-model)
Your own site
<a href="https://agentmods.dev/skills/nvidia-tao/tao-skill-bank/tao-port-huggingface-model"><img src="https://agentmods.dev/badge/skills/nvidia-tao/tao-skill-bank/tao-port-huggingface-model/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 tao-port-huggingface-model

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvidia-tao/tao-skill-bank/tao-port-huggingface-model"><img src="https://agentmods.dev/badge/skills/nvidia-tao/tao-skill-bank/tao-port-huggingface-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 210 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,521 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00210 $0.04521
Opus 5.5 $0.00084 $0.01808
Sonnet 5.5 $0.00042 $0.00904
Haiku 4.5 $0.00021 $0.00452

Measured 1mo ago against content hash fd8cacf316e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

tao-port-huggingface-model scanned grade C with 1 finding 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.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

**Goal:** decide whether to proceed at all. Gather credentials, locate/clone the four TAO repos, create a consistent working branch, launch the `tao-hf-inspect` container (Context A), validate the HF model is CV with a s
skills/applications/tao-port-huggingface-model/SKILL.md · 211 lines

How it starts

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

Standalone install? If this session was not initialized by the TAO skill bank plugin, run the tao-setup skill first (host preflight, credentials, cross-skill discovery).

TAO-HF Integration Skill

Integrate a HuggingFace (HF) Computer Vision model into the NVIDIA TAO Toolkit ecosystem. Work the phases iteratively — not purely linearly — via a build → test → debug → fix → retest loop at every step: when something fails, diagnose and fix before moving on; when it passes, move to the next step.

This SKILL.md is the workflow coordinator. Each phase has a dedicated references/phase-N-*.md with the full step-by-step content, code, docker invocations, and gates. Read the matching reference at the start of each phase — the summaries below are not sufficient.


Local-Only Rule

All work is strictly local. Do NOT push/commit/branch on any remote (GitLab, GitHub, HuggingFace), create merge/pull requests or issues, or upload/publish Docker images to any registry or artifact store. You may only read/clone from remotes — all edits, Docker builds, and test runs stay on the local machine.


Submodule Override Strategy

The user clones the four TAO repos (tao-core, tao-pytorch, tao-deploy, tao-dataservices) independently into one working directory. The tao-core/ submodule nested inside each repo points to the original unmodified commit; modifications only exist in the top-level tao-core/. Always install from the top-level tao-core/, never <repo>/tao-core/ — the nested submodule silently ignores all modifications. Override rules: (1) mount the working directory -v $(pwd):/workspace; (2) pip install /workspace/tao-core FIRST, before tao-pytorch/tao-deploy; (3) PYTHONPATH top-level tao-core first, e.g. -e PYTHONPATH=/workspace/tao-core:/workspace/tao-pytorch. See references/cross-cutting.md for the directory tree.

Read the full file on GitHub · 211 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. 1mo ago First seen · 211 lines · 210 tokens per session scan C fd8cacf316e1

Subscribe to this mod's changes

tao-port-huggingface-model is a skill published in the GitHub repository NVIDIA-TAO/tao-skill-bank (97 stars, last pushed 5d ago), licensed Apache-2.0. It adds 210 tokens to every session and 4,521 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it C with 1 finding (harvests environment variables). 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

vss-benchmark-vlm-qa

Benchmark video Q&A accuracy and latency of a deployed RT-VLM (Cosmos Reason 3) via vss vlm run, using questions and videos from the DSS vss-devx-base dataset. Replaces the deprecated nat eval / vss-agent QA path. Not for tool-calling or trajectory evaluation, and not for LVS summarization throughput.

NVIDIA-AI-Blueprints/video-search-and-summarization · 80 tokens

rtvi-byom-porting

Use when adding, debugging, or validating a bring-your-own VLM in VSS RT-VLM, including a custom Hugging Face or NGC checkpoint loaded with configuration only (VLMMODELTOUSE=vllm-compatible), plus adapters, plugins, shims, and model-specific runtime dependencies. Not for ordinary catalog-preset deployment of an…

NVIDIA-AI-Blueprints/video-search-and-summarization · 93 tokens

profile-vllm-performance

Profile vLLM and RT-VLM inference to identify and remove GPU-idle gaps, underfilled batches, transfer stalls, serialized multimodal work, scheduler gaps, or KV pressure. Use this skill when GPU utilization is unexpectedly low or bursty, capacity trails another runtime, TTFT or ITL regresses, or multimodal prefill and…

NVIDIA-AI-Blueprints/video-search-and-summarization · 93 tokens

vss-build-vision-ai

Add agent-ready vision capabilities — dense captioning, detection, search, alerting, summarization — to an agent or application through a customizable, self-contained vision stack built on the NVIDIA VSS Blueprint. Use this skill when a developer or agent wants to give their app vision: pick capabilities via guided…

NVIDIA-AI-Blueprints/video-search-and-summarization · 203 tokens

huggingface-hub

HuggingFace hf CLI: search/download/upload models, datasets.

NousResearch/hermes-agent · 20 tokens

vss-deploy-dense-captioning

Use this skill when deploying standalone RT-VLM dense captioning or calling its REST API (uploads, captions, streams, chat-completions, Kafka). Not for VSS profile deploy or video-search ingestion.

NVIDIA-AI-Blueprints/video-search-and-summarization · 51 tokens