Cli

From fanfan-de/anybox · View interactive version

Cli is an AI agent skill from the GitHub repository fanfan-de/anybox. Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing repositories, models, datasets, and Spaces on the Hugging Face Hub. Replaces now deprecated `huggingface-cli` command.

How to use this skill

Skill file

Install: curl -LsSf https://hf.co/cli/install.sh | bash -s.

The Hugging Face Hub CLI tool hf is available. IMPORTANT: The hf command replaces the deprecated huggingface-cli command.

Use hf --help to view available functions. Note that auth commands are now all under hf auth e.g. hf auth whoami.

Commands

`hf auth` — Manage authentication (login, logout, etc.).

`hf buckets` — Commands to interact with buckets.

`hf cache` — Manage local cache directory.

`hf collections` — Interact with collections on the Hub.

`hf datasets` — Interact with datasets on the Hub.

`hf discussions` — Manage discussions and pull requests on the Hub.

`hf endpoints` — Manage Hugging Face Inference Endpoints.

`hf extensions` — Manage hf CLI extensions.

`hf jobs` — Run and manage Jobs on the Hub.

`hf models` — Interact with models on the Hub.

`hf papers` — Interact with papers on the Hub.

`hf repos` — Manage repos on the Hub.

`hf skills` — Manage skills for AI assistants.

`hf spaces` — Interact with spaces on the Hub.

`hf webhooks` — Manage webhooks on the Hub.

Common options

Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.