huggingface

Fetch filtered Hugging Face model, dataset, or space listings via public JSON API.

5|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/AgentComputerAI/torch --skill huggingface-agentcomputerai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: huggingface
Source: https://github.com/AgentComputerAI/torch/tree/main/skills/sites/huggingface
Command: npx skills add https://github.com/AgentComputerAI/torch --skill huggingface-agentcomputerai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scraping Hugging Face model, dataset, or space listings through the HTML UI is slow and often rate‑limited, whereas the site offers a public JSON API that returns the same data without authentication or anti‑bot measures.

Core Features & Use Cases

  • API‑based extraction: Directly fetch listings via /api/models, /api/datasets, or /api/spaces with full filter support.
  • Cursor pagination: Automatically follow Link headers to retrieve all pages of results.
  • Stealth‑free operation: No special headers, proxies, or browsers required; a simple fetch suffices.

Quick Start

Ask the skill to list all text‑generation models from Hugging Face using its public API.

Frequently Asked Questions about huggingface

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch Hugging Face model listings via a public API?▼

Fetch Hugging Face model listings by sending a simple HTTP GET request to the /api/models JSON API endpoint. This returns filtered results directly without requiring authentication or anti-bot measures.

Can I get Hugging Face datasets without scraping the HTML UI?▼

Yes, you can retrieve Hugging Face datasets without scraping HTML by querying the public /api/datasets JSON API. This method bypasses UI rate limits and returns structured listing data directly.

How does cursor pagination work for Hugging Face API results?▼

Cursor pagination for Hugging Face API results works by reading the Link response headers. The skill automatically follows these Link headers to retrieve all pages of filtered results sequentially.

Do I need authentication tokens to query Hugging Face spaces listings?▼

No, you do not need authentication tokens to query Hugging Face spaces listings. The public JSON API at /api/spaces provides the data through a simple fetch without requiring special headers or proxies.

What is the best way to extract filtered text-generation models from Hugging Face?▼

The best way to extract filtered text-generation models from Hugging Face is using the public JSON API. It supports full filtering directly on the /api/models endpoint, returning structured data without HTML scraping.