Agent skill · nousresearch

huggingface-hub

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

What it needs

About 2k tokens when loaded.

What this skill does

Hugging Face CLI (hf) Reference Guide The hf command is the modern command-line interface for interacting with the Hugging Face Hub, providing tools to manage repositories, models, datasets, and Spaces. IMPORTANT: The hf command replaces the now deprecated huggingface-cli command. Quick Start Installation: curl -LsSf https://hf.co/cli/install.sh bash -s Help: Use hf --help to view all available functions and real-world examples. Authentication: Recommended via HFTOKEN environment variable or the --token flag. --- Core Commands General Operations hf download REPOID: Download files from the Hub. hf upload REPOID: Upload files/folders (recommended for single-commit; also handles resumable uploads of large directories). hf upload-large-folder REPOID LOCALPATH: [Deprecated] — use hf upload instead. hf sync: Sync files between a local directory and a bucket. hf env / hf version: View environment and version details. Authentication (hf auth) login / logout: Manage sessions using tokens from huggingface.co/settings/tokens. list / switch: Manage and toggle between multiple stored access tokens. whoami: Identify the currently logged-in account. Repository Management (hf repos) create / delete: Create or permanently remove repositories. duplicate: Clone a model, dataset, or Space to a new ID. move: Transfer a repository between namespaces. branch / tag: Manage Git-like references. delete-files: Remove specific files using patterns. --- Specialized Hub Interactions Datasets & Models Datasets: hf datasets list, info, and parquet (list parquet URLs). SQL Queries: hf datasets sql SQL — Execute raw SQL via DuckDB against dataset parquet URLs. Models: hf models list and info. Papers: hf papers ls — View daily papers. Discussions & Pull Requests (hf discussions) Manage the lifecycle of Hub contributions: list, create, info, comment, close, reopen, and rename. diff: View changes in a PR. merge: Finalize pull requests. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills nousresearch/huggingface-hub--b7f7e0

View the source on GitHub

Browse the @skills marketplace