packages/skills/skills/huggingface-cli/SKILL.md
# HuggingFace CLI Execute Hugging Face Hub operations using the `hf` CLI for downloading models/datasets, uploading files, managing repositories, cache, and cloud compute. ## Prerequisites - HuggingFace CLI installed: `pip install huggingface_hub` - HF account and token for authenticated operations - `hf auth login` completed ## Instructions 1. **Authentication** ```bash hf auth login # Interactive login hf auth login --token $HF_TOKEN # Non-interactive hf au
npx skillsauth add mediar-ai/skillhubz packages/skills/skills/huggingface-cliInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Execute Hugging Face Hub operations using the hf CLI for downloading models/datasets, uploading files, managing repositories, cache, and cloud compute.
pip install huggingface_hubhf auth login completedAuthentication
hf auth login # Interactive login
hf auth login --token $HF_TOKEN # Non-interactive
hf auth whoami # Check current user
Download models and datasets
hf download <repo_id> # Full repo to cache
hf download <repo_id> --local-dir ./models # To local directory
hf download <repo_id> --include "*.safetensors" # Filter by pattern
hf download <repo_id> --repo-type dataset # Dataset
Upload files
hf upload <repo_id> . . # Current dir to root
hf upload <repo_id> ./models /weights # Folder to path
hf upload <repo_id> . . --repo-type dataset # Dataset
hf upload <repo_id> . . --create-pr # Create PR
Repository management
hf repo create <name> # Create model repo
hf repo create <name> --repo-type dataset # Create dataset
hf repo create <name> --private # Private repo
hf repo delete <repo_id> # Delete repo
hf repo tag create <repo_id> v1.0 # Create tag
Cache management
hf cache ls # List cached repos
hf cache rm model/gpt2 # Remove cached repo
hf cache prune # Remove detached revisions
Browse Hub
hf models ls # List trending models
hf models ls --search "llama" --limit 20 # Search models
hf datasets ls # List datasets
hf spaces ls # List spaces
Cloud compute (Jobs)
hf jobs run python:3.12 python script.py # Run on CPU
hf jobs run --flavor a10g-small <image> <cmd> # Run on GPU
hf jobs ps # List jobs
hf jobs logs <job_id> # View logs
hf auth login againhf upload-large-folder--repo-type (model/dataset/space), --revision, --quiet--quiet for scripts to get only paths/URLsSource: huggingface/skills
tools
# X Twitter Scraper Use Xquik for X/Twitter tweet search, user lookup, profile tweets, follower export, media download, monitors, webhooks, posting workflows, and MCP-backed API exploration. ## Prerequisites - A Xquik API key in `XQUIK_API_KEY`. - Internet access to `https://xquik.com/api/v1`, `https://xquik.com/mcp`, and `https://docs.xquik.com`. - A clear user request that identifies the target tweets, users, accounts, keywords, media, monitor, webhook, or write action. ## Source Truth -
tools
Use when the user says "mk0r", "appmaker CLI", "open a VM", "run something in the sandbox", "talk to the VM agent", "spin up an E2B sandbox", or "chat with appmaker from CLI." Wraps the `mk0r` CLI to list projects, exec commands inside their E2B sandboxes, stream chat with the VM agent (same `/api/chat` the web UI uses), toggle SOAX residential IP, manage schedules, and copy files. Supports a sticky default project via `mk0r projects use`.
testing
Use when the user mentions "influencer candidates", "social media operator", "check proposals on Upwork/Fiverr", "review influencer applications", "qualify candidates", or "reach out to operators". Manages the IG/TikTok account operator hiring pipeline — review applicants, check replies, qualify, and do proactive outreach.
tools
End-to-end newsletter pipeline: investigate recent features, draft, send via API endpoint, and track delivery/open/click metrics.