huggingface_hub

huggingface_hub is a skill for Claude Code from 0xmariowu/Autosearch. It costs 23 tokens per session (549 once invoked), scanned A, original, MIT.

A search connector for Hugging Face Hub, a public website hosting open machine-learning models and related files. It finds models by name, task, library, and other tags.

In plain words
What is it for?
Use it to find language models, embedding models, rerankers, computer-vision models, and image-generation models, using signals such as downloads, likes, and tags.
Why use it?
It helps you identify and compare relevant models without manually browsing the Hub or using a paid, authenticated search service.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Part of the autosearch plugin — 55 skills, 1 agent shipped together

Good fit Use it to find language models, embedding models, rerankers, computer-vision models, and image-generation models, using signals such as downloads, likes, and tags.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0xmariowu/autosearch/huggingface_hub
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 0xmariowu/Autosearch --skill huggingface_hub
Clone the repo
git clone --depth 1 https://github.com/0xmariowu/Autosearch

Made for: Claude Code.

Or install autosearch, the plugin that ships this one along with the rest of its 55 skills, 1 agent.

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_hub

README.md
[![agentmods](https://agentmods.dev/badge/skills/0xmariowu/autosearch/huggingface_hub/github.svg)](https://agentmods.dev/skills/0xmariowu/autosearch/huggingface_hub)
Your own site
<a href="https://agentmods.dev/skills/0xmariowu/autosearch/huggingface_hub"><img src="https://agentmods.dev/badge/skills/0xmariowu/autosearch/huggingface_hub/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_hub

Your own site · 80×15
<a href="https://agentmods.dev/skills/0xmariowu/autosearch/huggingface_hub"><img src="https://agentmods.dev/badge/skills/0xmariowu/autosearch/huggingface_hub.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 549 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.
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.00023 $0.00549
Opus 5 $0.00012 $0.00275
Sonnet 5 $0.00005 $0.00110
Haiku 4.5 $0.00002 $0.00055

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

Security

Grade A, and why

huggingface_hub 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (methods/api_search.py), 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.

autosearch/skills/channels/huggingface_hub/SKILL.md · 53 lines

What it actually says

Overview

Hugging Face Hub provides broad coverage of open machine learning models through a free public search endpoint. It is useful when the query is trying to identify specific models, compare popular model families, or find research-adjacent model artifacts by task, library, and ecosystem tags.

When to Choose It

  • Choose it for model lookup queries like LLM families, embedding models, rerankers, vision models, and diffusion checkpoints.
  • Choose it when download counts, likes, pipeline type, and Hub tags are useful ranking signals even if the list endpoint does not expose long descriptions.
  • Choose it when the search should stay free and no-auth while still targeting the Hugging Face ecosystem directly.
  • api_search - Calls https://huggingface.co/api/models with search=<query> and limit=10, then maps public model hits into normalized evidence.
  • api_search - Uses the model id as both canonical title and URL suffix, producing links like https://huggingface.co/<id>.
  • api_search - Synthesizes snippet text from pipeline_tag, library_name, downloads, likes, and the first five tags because the list endpoint does not provide free-text summaries.

Known Quirks

  • Private or gated models are filtered client-side by skipping items where private=True.
  • The list endpoint returns no prose description, so snippets are synthesized from tags, task type, library, and popularity metadata.
  • Download and like counts can exceed 1M for popular models, so both are formatted with thousand separators for readability.

Quality Bar

  • Evidence items have non-empty title and url.
  • No crash on empty or malformed API response.
  • Source channel field matches the channel name.
Files

What ships with it

1 file 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. 12d ago First seen · 53 lines · 23 tokens per session scan A a89a3afa5d9d

Subscribe to this mod's changes

huggingface_hub is a skill published in the GitHub repository 0xmariowu/Autosearch (44 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 549 once invoked, about $0.0001 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

opik

This skill should be used when the user needs to add Opik tracing or integrations to their code, instrument an LLM application, or needs reference for Opik SDK usage (Python, TypeScript, REST API). Use for tasks like "add tracing", "instrument my code", "use trackopenai", "add OpikTracer", "what span types are…

comet-ml/opik-claude-code-plugin · 84 tokens

agy-prompting

Internal helper — how to tighten a user request into a sharp prompt for the Antigravity CLI (agy / Gemini 3.x with native web search and agentic tools).

MarcosNahuel/antigravity-plugin-cc · 40 tokens

gemini-prompting

Internal guidance for composing effective grounded search queries.

KingGyuSuh/gemini-search-cc · 9 tokens

n8n-agents

Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain. AI node — an AI Agent, LLM chain, Text Classifier, or Information Extractor — and whenever the user mentions AI agents, LLM with tools, tool calling, $fromAI, system prompts, agent memory, sessionId, structured/JSON output…

czlonkowski/n8n-mcp · 156 tokens

ai-ml-governance

Governs models and AI systems in production — intended use, evaluation, monitoring, human oversight, documentation, and the decision to deploy or retire. Use this before deploying a model or AI feature, when defining evaluation criteria, when a model's behavior has drifted, when assessing AI risk or regulatory…

cbrock84/headcount · 83 tokens

opik-instrument

Add Opik tracing to an existing app and verify a real trace lands. Installs the Opik package, detects the language and LLM framework, adds the minimum tracing, runs a safe representative path, confirms a trace in Opik, and returns the trace link. Use for "instrument my code", "add opik tracing", "add observability"…

comet-ml/opik-mcp · 101 tokens