Skip to content
TrustedSkillsbeta
Back to all skills

hugging-face-cli

Official
huggingface·v1.0.0·ai-ml·Apache-2.0

Execute Hugging Face Hub operations using the `hf` CLI. Use when the user needs to download models/datasets/spaces, upload files to Hub repositories, create repos, manage local cache, or run compute j

Install on your platform

Showing OpenClaw.

  1. 1

    Run this in your terminal

    terminal
    $ 

What we know about this skill

Publisher

huggingface

Matched to the vendor's own GitHub organisation.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

Nobody has reviewed this code. TrustedSkills indexes and links skills; it does not audit, run or scan them. A skill runs with whatever access you give your agent — read the source before you install it.

Automated safety checks

scanned

We could not read this skill's source, so none of the checks below were run.

Not scanned. none of the 26 skills in the repository match this slug — it was most likely renamed or removed upstream after the registry indexed it Source recorded as huggingface/skills.
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

What it does

The huggingface-cli skill allows users to interact with the Hugging Face Hub directly from an AI agent. It enables downloading pre-trained models and datasets, uploading new content like files and models, creating new repositories on the Hub, and managing local caches for efficient workflow. This tool streamlines common tasks related to accessing and contributing to the Hugging Face ecosystem.

When to use it

  • Downloading a model: A user needs a specific pre-trained language model for fine-tuning; this skill can download it directly.
  • Creating a new repository: A data scientist wants to share their newly trained model with the community and create a dedicated space on the Hugging Face Hub.
  • Uploading training data: A researcher has processed a dataset and needs to upload it as a new dataset on the Hugging Face Hub.
  • Managing cached files: An agent is running out of disk space, and needs to clear the local cache of downloaded models and datasets.

Key capabilities

  • Downloading models and datasets from the Hugging Face Hub
  • Uploading files to existing or new repositories
  • Creating new repositories on the Hugging Face Hub
  • Managing local cached files

Example prompts

  • "Download the 'bert-base-uncased' model."
  • "Create a new repository named 'my-awesome-model'."
  • "Upload this file to my existing 'my-project' repository."

Tips & gotchas

  • The user must be logged in to their Hugging Face account for many operations. Ensure the agent has access to authentication credentials.
  • Large model downloads can take significant time and bandwidth; consider implementing progress monitoring or resuming interrupted downloads.