Hugging Face Cli

🏢Official
by huggingface · vlatest · Repository

Hugging Face Cli provides a command-line interface for interacting with Hugging Face models and datasets, streamlining development workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add hugging-face-cli npx -- -y @trustedskills/hugging-face-cli
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "hugging-face-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/hugging-face-cli"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill provides access to the Hugging Face CLI, enabling interaction with the Hugging Face ecosystem. It allows you to download and use pre-trained models, datasets, and tokenizers directly from the Hugging Face Hub. You can also manage your own hosted models and datasets on the platform using this tool.

When to use it

  • Model Download: Quickly retrieve a specific model for experimentation or deployment without manual file management.
  • Dataset Access: Easily download and work with publicly available datasets from the Hugging Face Hub.
  • Model Management: Push existing models to the Hugging Face Hub, making them accessible to others.
  • Tokenization Tasks: Utilize tokenizers for preparing text data for machine learning tasks.

Key capabilities

  • Download pre-trained models
  • Access and utilize datasets
  • Manage hosted models on the Hugging Face Hub
  • Utilize tokenizers

Example prompts

  • "Download the 'bert-base-uncased' model using the Hugging Face CLI."
  • "Push my fine-tuned model to the Hugging Face Hub with the name 'my_awesome_model'."
  • "List all available datasets related to sentiment analysis on the Hugging Face Hub."

Tips & gotchas

  • Requires an active Hugging Face account and API token for certain operations like pushing models.
  • Familiarity with command-line interfaces is helpful to effectively use this skill.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
huggingface
Installs
0

🏢 Official

Published by the company or team that built the technology.