hf-cli
Inspect and manage Hugging Face Hub models, datasets, Spaces, repositories, cache, authentication, and downloads with the current hf CLI.
от metaspartan★ 41 звезда на GitHub
Установить hf-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Hugging Face CLI
Use the current hf CLI for Hub operations. Do not use the deprecated huggingface-cli command.
Workflow
- Run
hf versionandhf --helpbefore relying on a command that may vary by installed version. - Use public read-only operations without authentication when possible.
- For private or write operations, run
hf auth whoamiwithout printing stored tokens. - Prefer structured output such as
--format jsonwhen another tool will consume the result. - Use
--dry-runwhen supported before downloads, cache cleanup, synchronization, or deletion. - Confirm the repository, revision, visibility, and affected paths before uploads or destructive changes.
Common operations
hf models info namespace/model --format json
hf models list --search "query" --limit 20 --format json
hf datasets info namespace/dataset --format json
hf datasets list --search "query" --limit 20 --format json
hf download namespace/model --include "*.json" --dry-run
hf cache list --limit 30
hf papers list --limit 20 --format json
Use hf upload for a bounded file or directory and hf upload-large-folder for resumable large uploads. Never place a token in command arguments, source files, logs, or chat output. Use the authenticated credential store or HF_TOKEN environment variable.
If hf is unavailable, report that prerequisite clearly. Do not install software unless the user requested installation.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл hf-cli?
Inspect and manage Hugging Face Hub models, datasets, Spaces, repositories, cache, authentication, and downloads with the current hf CLI.
Как установить скилл hf-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hf-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…