Skip to content
Agentmart
Submit a tool

community-huggingface-hub

Hugging Face Hub CLI (hf) — search, download, and upload models and datasets, manage repos, query datasets with SQL, deploy inference endpoints, manage Spaces…

Skill by ArgentAIOS

IndexedMIT★ 127
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/argentaios-community-huggingface-hub

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Hugging Face Hub CLI (hf) — search, download, and upload models and datasets, manage repos, query datasets with SQL, deploy inference endpoints, manage Spaces and buckets.

Use cases: backend, devops, ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/community-huggingface-hub

What's inside

Skill name
community-huggingface-hub
Description
Hugging Face Hub CLI (hf) — search, download, and upload models and datasets, manage repos, query datasets with SQL, deploy inference endpoints, manage Spaces and buckets.
License
MIT
Instructions
83 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Agent Skills spec issues

  • name: "community-huggingface-hub" does not match folder "huggingface-hub"

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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 `HF_TOKEN` environment variable or the `--token` flag.

---

## Core Commands

### General Operations

- `hf download REPO_ID`: Download files from the Hub.
- `hf upload REPO_ID`: Upload files/folders (recommended for single-commit).
- `hf upload-large-folder REPO_ID LOCAL_PATH`: Recommended for resumable uploads of large directories.
- `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](https://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 list` — 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.

### Infrastructure & Compute

- **Endpoints:** Deploy and manage Inference Endpoints (`deploy`, `pause`, `resume`, `scale-to-zero`, `catalog`).
- **Jobs:** Run compute tasks on HF infrastructure. Includes `hf jobs uv` for running Python scripts with inline dependencies and `stats` for resource monitoring.
- **Spaces:** Manage interactive apps. Includes `dev-mode` and `hot-reload` for Python files without full restarts.

### Storage & Automation

- **Buckets:** Full S3-like bucket management (`create`, `cp`, `mv`, `rm`, `sync`).
- **Cache:** Manage local storage with `list`, `prune` (remove detached revisions), and `verify` (checksum checks).
- **Webhooks:** Automate workflows by managing Hub webhooks (`create`, `watch`, `enable`/`disable`).
- **Collections:** Organize Hub items into collections (`add-item`, `update`, `list`).

---

## Advanced Usage & Tips

### Global Flags

- `--format json`: Produces machine-readable output for automation.
- `-q` / `--quiet`: Limits output to IDs only.

### Extensions & Skills

- **Extensions:** Extend CLI functionality via GitHub repositories using `hf extensions install REPO_ID`.
- **Skills:** Manage AI assistant skills with `hf skills add`.

From ArgentAIOS/argentos-core, MIT.

More from ArgentAIOS/argentos-core

Signals

Stars
127
Forks
23
Open issues
25
Last commit (this folder)
Apr 27, 2026 (6 months ago)
Last release
Jul 9, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ArgentAIOS

Cite this page

community-huggingface-hub skill. Agent Mart. https://agentmart.dev/skills/argentaios-community-huggingface-hub (last updated 2026-10-24)