huggingface

huggingface is a skill for Claude Code, Codex from ericrisco/rsc-harness. It costs 131 tokens per session (2,705 once invoked), scanned A, original, MIT.

A guide to using Hugging Face, a platform that hosts machine-learning models, datasets, and interactive apps. It covers hosted model requests, dedicated model deployments, and running models locally with Transformers.

In plain words
What is it for?
Use it to find models by task, license, or size; call them through hosted services; deploy an endpoint; upload Hub repositories; or load models locally.
Why use it?
It helps you choose where and how to run an open model without setting up more infrastructure than the task needs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to find models by task, license, or size; call them through hosted services; deploy an endpoint; upload Hub repositories; or load models locally.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ericrisco/rsc-harness/huggingface
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 ericrisco/rsc-harness --skill huggingface
Clone the repo
git clone --depth 1 https://github.com/ericrisco/rsc-harness

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ericrisco/rsc-harness/huggingface/github.svg)](https://agentmods.dev/skills/ericrisco/rsc-harness/huggingface)
Your own site
<a href="https://agentmods.dev/skills/ericrisco/rsc-harness/huggingface"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/huggingface/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ericrisco/rsc-harness/huggingface"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/huggingface.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,705 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.00131 $0.02705
Opus 5 $0.00066 $0.01352
Sonnet 5 $0.00026 $0.00541
Haiku 4.5 $0.00013 $0.00270

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

Security

Grade A, and why

huggingface 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/verify.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/huggingface/SKILL.md · 192 lines

How it starts

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

Hugging Face: Hub, routed/hosted inference, and transformers

Hugging Face is three surfaces, and you should always know which one you are on:

  1. The Hub — versioned git repos for models, datasets, and Spaces. You search it, you hf download / hf upload, you read and write model cards.
  2. Inference — three ways to actually run a model: the Inference Providers router (serverless, you own nothing), a dedicated Inference Endpoint (you own a deployment that autoscales), or local transformers (you own the machine).
  3. The catalog — 1M+ open models you choose from by task, license, and size.

The whole skill is choosing the right surface for the job and proving it works: a 200 router response, a live endpoint URL, a pushed repo commit. If the model is open and the workflow lives on huggingface.co, you are in the right place. Operating the GPU box yourself is ../ollama/SKILL.md (your machine) or ../runpod/SKILL.md (a rented box); training weights is ../finetuning/SKILL.md.

Decision: how should I run this model?

Pick the row before you write a line of code. The cheapest mistake is standing up infra you did not need.

Situation Use Why
Try a model now, low/dev volume, own no infra Inference Providers router (InferenceClient) Fastest path; monthly credits cover dev.
CPU task: embeddings, text-ranking, text-classification, small BERT/GPT-2 provider="hf-inference" That is exactly its remaining niche as of July 2025.
Big LLM (8B, 70B, 405B) through HF router with a partner provider (Together/Fireworks/Cerebras/DeepInfra…) hf-inference does not serve big LLMs — it will 404 or stall.
Steady prod traffic, need fixed latency/SLA dedicated Inference Endpoint + scale-to-zero Predictable, autoscaling, billed per minute.
Interactive demo or shareable GPU app Space (Gradio + ZeroGPU) Free-ish, public URL, GPU only while a call runs.
One-off GPU job (eval, batch convert) hf jobs run No standing infra; PRO feature.
Offline, data-private, or already on a GPU box local transformers pipeline() No network, no per-call cost.

Read the full file on GitHub · 192 lines

Files

What ships with it

6 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.

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. 7d ago First seen · 192 lines · 131 tokens per session scan A ffd0fa8d6cfc

Subscribe to this mod's changes

huggingface is a skill published in the GitHub repository ericrisco/rsc-harness (78 stars, last pushed yesterday), licensed MIT. It adds 131 tokens to every session and 2,705 once invoked, about $0.0007 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-09-03.