huggingface-hub

Manage Hugging Face Hub models, datasets, and Spaces via the hf CLI.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/LynxLabVN/office-agent --skill huggingface-hub-lynxlabvn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-hub
Source: https://github.com/LynxLabVN/office-agent/tree/main/agent-core/skills/mlops/huggingface-hub
Command: npx skills add https://github.com/LynxLabVN/office-agent --skill huggingface-hub-lynxlabvn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires hf, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines interactions with the Hugging Face Hub, enabling efficient management of models, datasets, and Spaces, and facilitating seamless model and dataset sharing.

Core Features & Use Cases

  • Model and Dataset Management: Download, upload, and synchronize models and datasets across the Hub.
  • Authentication and Environment: Handle user sessions and environment configuration for secure access.
  • Specialized Hub Interactions: Execute complex queries, manage discussions and pull requests, deploy inference endpoints, run compute jobs, and automate workflows.
  • Use Case: Quickly deploy a pre-trained model to create an endpoint for inference and integrate it into your application pipeline.

Quick Start

Use the huggingface-hub skill to search for a model and download it using its ID.

Frequently Asked Questions about huggingface-hub

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

FAQPage Schema
How do I download and upload machine learning models to the Hugging Face Hub?

This Skill enables Hugging Face Hub management by downloading and uploading machine learning models via the 'hf' CLI, synchronizing local and remote repositories.

What is needed to authenticate my environment for Hugging Face Hub access?

Authenticating your environment for Hugging Face Hub access requires configuring user sessions and environment variables. The 'hf' CLI dependency handles secure access for interacting with Hub resources.

Can I run advanced queries to search for specific datasets on the Hugging Face Hub?

Yes, you can execute advanced queries to search for specific datasets on the Hugging Face Hub. The Skill supports complex filtering to locate and download models, datasets, and Spaces by their IDs.

Does this approach support managing discussions and pull requests on the Hub?

Yes, specialized Hugging Face Hub interactions include managing discussions and pull requests. You can automate workflows and handle repository updates directly through the integrated 'hf' CLI.

What's the best way to deploy a pre-trained model for inference using the Hub?

The best way to deploy a pre-trained model for inference is to use this Skill to deploy compute jobs and inference endpoints. It automates the workflow to integrate endpoints into your application pipeline.

Do I need the 'hf' CLI installed to manage Hugging Face Spaces?

Yes, you need the 'hf' CLI installed as a dependency to manage Hugging Face Spaces. The Skill relies on this command-line tool to execute backend operations and interact with the Hub.