hf-cli
하는 일
hf-cli는 Hugging Face Hub에서 파일과 정보를 관리하도록 돕는 도구입니다. Hugging Face Hub는 사람들이 AI 모델, 데이터, 기타 자원을 공유하는 곳입니다. 이 도구로 이런 파일을 복사하고, 내려받고, 업로드하고, 정리할 수 있습니다.
사용하는 경우
- ✓프로젝트에 사용할 AI 모델을 내려받아야 할 때.
- ✓자신의 데이터나 모델을 Hugging Face Hub에 업로드하고 싶을 때.
- ✓Hugging Face Hub에 이미 있는 파일을 정리하거나 확인해야 할 때.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hf-cli/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Hugging Face Hub에서 'bert-base-uncased' 언어 모델을 내려받으려면 어떻게 하나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
hf-cli는 명령줄 '어시스턴트'처럼 작동합니다. 'hf download'처럼 명령을 입력하고 내려받을 대상의 이름을 적으면, 나머지는 도구가 처리합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
When to Use
- Use when this upstream workflow matches the user's stated goal.
- Use when the task requires the procedures documented in this skill.
Install: curl -LsSf https://hf.co/cli/install.sh | bash -s. <!-- security-allowlist: curl-pipe-bash -->
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.
Generated with huggingface_hub v1.32.0. Run hf skills add --force to regenerate.
Commands
hf cp SRC— Copy files between local paths, repositories, and buckets.[--format [auto|human|agent|json|quiet]]hf download REPO_ID— Download files from the Hub.[--type [model|dataset|space|kernel] --revision TEXT --include TEXT --exclude TEXT --cache-dir TEXT --local-dir TEXT --force-download --dry-run --max-workers INTEGER --format [auto|human|agent|json|quiet]]hf env— Print information about the environment.[--format [auto|human|agent|json|quiet]]hf sync— Sync files between local directory and a bucket.[--delete --ignore-times --ignore-sizes --plan TEXT --apply TEXT --dry-run --include TEXT --exclude TEXT --filter-from TEXT --existing --ignore-existing --verbose --format [auto|human|agent|json|quiet]]hf update— Update thehfCLI to the latest version.[--format [auto|human|agent|json|quiet]]hf upload REPO_ID— Upload a file or a folder to the Hub. Recommended for single-commit uploads.[--type [model|dataset|space|kernel] --revision TEXT --private --include TEXT --exclude TEXT --delete TEXT --commit-message TEXT --commit-description TEXT --create-pr --every FLOAT --format [auto|human|agent|json|quiet]]hf upload-large-folder REPO_ID LOCAL_PATH— [Deprecated] Upload a large folder to the Hub. Usehf uploadinstead.[--type [model|dataset|space|kernel] --revision TEXT --private --include TEXT --exclude TEXT --num-workers INTEGER --no-report --no-bars --format [auto|human|agent|json|quiet]]hf version— Print information about the hf version.[--format [auto|human|agent|json|quiet]]
hf auth — Manage authentication (login, logout, etc.).
hf auth list— List all stored access tokens.[--format [auto|human|agent|json|quiet]]hf auth login— Login from your browser, or using a token from huggingface.co/settings/tokens.[--add-to-git-credential --force --format [auto|human|agent|json|quiet]]hf auth logout— Logout from a specific token.[--token-name TEXT --format [auto|human|agent|json|quiet]]hf auth switch— Switch between access tokens.[--token-name TEXT --add-to-git-credential --format [auto|human|agent|json|quiet]]hf auth token— Print the current access token to stdout.[--format [auto|human|agent|json|quiet]]hf auth whoami— Find out which huggingface.co account you are logged in as.[--format [auto|human|agent|json|quiet]]
hf buckets — Commands to interact with buckets.
hf buckets cp SRC— Copy files between local paths, repositories, and buckets.[--format [auto|human|agent|json|quiet]]hf buckets create BUCKET_ID— Create a new bucket.[--private --region [us|eu] --exist-ok --format [auto|human|agent|json|quiet]]hf buckets delete BUCKET_ID— Delete a bucket.[--yes --missing-ok --format [auto|human|agent|json|quiet]]hf buckets info BUCKET_ID— Get info about a bucket.[--format [auto|human|agent|json|quiet]]hf buckets list— List buckets or files in a bucket.[--human-readable --tree --recursive --search TEXT --format [auto|human|agent|json|quiet]]hf buckets move FROM_ID TO_ID— Move (rename) a bucket to a new name or namespace.[--format [auto|human|agent|json|quiet]]hf buckets remove ARGUMENT— Remove files from a bucket.[--recursive --yes --dry-run --include TEXT --exclude TEXT --format [auto|human|agent|json|quiet]]hf buckets settings BUCKET_ID— Update bucket settings (visibility).[--private --public --format [auto|human|agent|json|quiet]]hf buckets sync— Sync files between local directory and a bucket.[--delete --ignore-times --ignore-sizes --plan TEXT --apply TEXT --dry-run --include TEXT --exclude TEXT --filter-from TEXT --existing --ignore-existing --verbose --format [auto|human|agent|json|quiet]]
hf cache — Manage local cache directory.
…
자주 묻는 질문
Hugging Face Hub는 무엇인가요?
연구자와 개발자가 머신러닝 모델, 데이터셋, 애플리케이션을 공유하고 함께 작업하는 온라인 저장소입니다.
'명령줄(command line)'은 무슨 뜻인가요?
마우스와 그래픽 메뉴를 쓰는 대신 명령어를 입력해 컴퓨터와 상호작용하는 방식입니다.
'AI 모델'은 무엇인가요?
텍스트를 이해하거나 이미지를 생성하는 등 특정 작업을 수행하도록 많은 데이터로 학습시킨 컴퓨터 프로그램입니다.
상세 정보
작성자의 원본 설명
Curated upstream guidance for Hf Cli; use when the workflow matches the user goal.
인기도
- GitHub 스타
- 48k
- 순위
- #4805
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.