huggingface-spaces

Installation
SKILL.md

Hugging Face Spaces

Hugging Face Spaces host machine-learning applications. There are 1M+ today; each Space is a git repo. This skill covers creating, building, debugging, and maintaining them.

0. Getting ready

Before anything else:

  1. Check whether the hf CLI is installed (Get-Command hf on Windows or command -v hf on POSIX). If it is absent, use the official Python SDK or browser workflow; do not install a runtime implicitly.
  2. Check the user is logged in: hf auth whoami. If not, ask the user to run hf auth login locally and complete its browser/OAuth flow, or configure an approved secret manager. Never request or accept a token value in chat or pass a literal token in a command argument.
  3. Note whoami's canPay and isPro flags — they gate hardware choices below. A free (isPro=False) account can only host Static Spaces and up to 2 ZeroGPU Spaces.

The optional hf-cli skill teaches every hf command. Load it only when the hf runtime is already installed and the user explicitly authorizes adding that skill; this catalog omits it because the laptop has no hf command.

Installs
10
GitHub Stars
15
First Seen
Aug 24, 2026
huggingface-spaces — practicalswan/agent-skills