IPL 2026 Predictor
An XGBoost-powered IPL match winner predictor trained on 18 seasons of historical data. Includes a Streamlit app with interactive team selection, impact-player logic, and live win probabilities.
Open-source projects, my Claude Code setup bundle, and CLI install guides for AI agents — pick one.
An XGBoost-powered IPL match winner predictor trained on 18 seasons of historical data. Includes a Streamlit app with interactive team selection, impact-player logic, and live win probabilities.
Electron desktop app for Open WebUI — pure black UI, venv installer, and system tray integration. Run your local AI chat interface as a native desktop app without touching the terminal every time.
A local memory system for AI assistants that runs entirely on your own hardware. Store and retrieve context without cloud dependencies — full privacy, zero latency.
A Claude Code skill for generating and publishing blog posts directly to Google Blogger. Automate your blogging workflow with AI. Also available as a Claude skill on Clawhub.
Building more tools and skills in public. Follow on GitHub to stay updated.
Follow on GitHubMy entire Claude Code config in one download. Plugins, skills, rules, hooks, agents, commands — hand the file + prompt to Claude Code, Cursor, or Codex and it sets up everything on your machine.
11
plugins
17
custom skills
29
slash commands
6
sub-agents
How it works
Download setup.md, open the Agent Prompt and copy it, then paste both into Claude Code / Cursor / Codex. The agent backs up your existing ~/.claude/, clones the companion repo, merges files non-destructively, and installs 11 plugins. Takes about a minute.
Detailed view
One line per item — plugins, skills, sub-agents, slash commands, and CLI tools.
superpowers — TDD, debugging, and process-discipline skills that override default behavior.document-skills — Read, write, and edit PDFs, DOCX, and XLSX files from prompts.frontend-design — UI design-system helpers and component-generation workflow.n8n-mcp-skills — Expose n8n nodes, templates, and workflow management to the agent.apify-ultimate-scraper — Drive Apify actors to scrape any website on demand.rust-analyzer-lsp — Rust LSP features (completion, goto-def, errors) inside Claude Code.hugging-face-cli — Pull models / datasets and run HF CLI operations from the agent.ui-ux-pro-max — Pro UI/UX design-thinking workflow with spec generation.marketing-skills — Campaign planning, SEO audits, ad copy, and content-marketing playbooks.codex — Hand off heavy coding tasks to OpenAI Codex from inside Claude Code.claude-mem — Persistent cross-session memory so the agent remembers context.Optional add-ons you can enable: browser-use (web automation), SEO / career-ops skills — see the setup.md notes to register their marketplaces.
autoresearch — Deep multi-source research with citations and a written report.caveman — Terse response style (drops articles + filler, keeps technical substance).data-analyst — BI-style analysis with stats methods, visualizations, and insight writeups.data-storytelling — Turn datasets into narrative-driven, stakeholder-ready reports.design-system — Build and audit design systems (tokens, components, guidelines).exploratory-data-analysis — EDA pipelines for scientific + general data formats.gmaps-scraper — Scrape Google Maps places by query + radius into structured CSV/JSON.graphify — Turn any input (codebase, docs) into a browsable knowledge graph.kpi-dashboard-design — Design KPI dashboards executives actually read and act on.linkedin-profile-search — Find people by role / company via search-engine scraping.prompt-refine — Iteratively sharpen messy prompts into crisp specifications.seedance — 15 video-generation prompt recipes (cinematic, 3D, anime, ads, more).senior-data-scientist — Experiment design, feature engineering, model evaluation.skill-development — Meta-skill for authoring new Claude Code skills properly.social-media — Cross-platform social post generation (X, LinkedIn, Instagram).sql-optimization-patterns — Diagnose and rewrite slow SQL with pattern-based fixes.youtube-content-generator — Titles, descriptions, tags, and thumbnail prompts for YT.blog-writer-expert — Full-length blog posts with SEO structure and engagement hooks.comprehensive-qa-tester — Deep QA test reports across features with reproduction steps.fullstack-expert — Cross-stack debugging: frontend, backend, database, and infra.system-troubleshooter — Windows / Linux sysadmin problem solving and recovery.ui-ux-design-expert — UI/UX reviews, specs, and accessibility critique.youtube-content-strategist — Cross-platform YouTube promo packages (metadata, posts).gsd/* — Get Shit Done (26)
/gsd:new-project — Bootstrap a new project with structure and roadmap./gsd:map-codebase — Generate a high-level map of an existing codebase./gsd:create-roadmap — Phase-based roadmap planner for a project./gsd:new-milestone / discuss-milestone / complete-milestone — Milestone lifecycle./gsd:add-phase / insert-phase / remove-phase — Phase management./gsd:discuss-phase / research-phase / plan-phase / execute-phase — Phase execution flow./gsd:list-phase-assumptions — Surface assumptions baked into a phase plan./gsd:add-todo / check-todos — Todo-level task tracking./gsd:execute-plan — Execute the current plan end to end./gsd:plan-fix — Replan around a blocker or broken assumption./gsd:consider-issues — Enumerate risks before executing./gsd:verify-work — Verify a completed task against spec + tests./gsd:progress / status — Project-level progress and status reports./gsd:pause-work / resume-work / resume-task — Session continuity./gsd:help — List every GSD command with a one-line summary.vibe-* — free-form (3)
/vibe-build — Rapid prototype / MVP build flow, low ceremony./vibe-coding — Free-form flow-state coding session./vibe-research — Open-ended research session without strict structure.vercel — Deploy, preview, and manage env vars on Vercel from any agent.gh — GitHub CLI: open PRs, manage issues, run workflows, clone.supabase — Local Supabase, DB migrations, and edge-function deploys.aws — AWS CLI v2: S3, Lambda, IAM, and cross-account profiles.gws — Google Workspace CLI: Drive, Gmail, Calendar, admin ops.hf — Hugging Face CLI: download / upload models + datasets, manage tokens.llmfit — Fine-tune open-source LLMs locally with minimal config.llm-serve — Serve local LLMs behind an OpenAI-compatible HTTP API.Install guides for Vercel, GitHub, Supabase, AWS, Google Workspace, and Hugging Face are on this page ↑. LLMFit and LLM Serve guides are on the YouTube channel.
Agent Prompt
Drop this prompt into Claude Code, Cursor, or Codex alongside setup.md. The agent will install the bundle non-destructively.
/claude-code-setup/agent-prompt.txt Loading…
Install guides for every CLI worth having in your AI workflow. Part of the ongoing TechRex Shorts series.
There is no special "agent integration" for these tools. You install the CLI, authenticate it on your machine once, then just tell your agent what to do. The agent runs the commands in your shell using the credentials the CLI already stored locally.
That's the whole integration. No MCP server needed, no API keys in agent config — the agent just shells out to a CLI that already knows who you are.
Deploy projects, manage env vars, and preview deployments from the terminal.
Create PRs, manage issues, clone repos, and run workflows without leaving your terminal.
Spin up local Supabase, run migrations, and deploy edge functions from your terminal.
Manage AWS services, configure credentials, and automate cloud infrastructure.
Official Google Workspace CLI for managing Drive, Gmail, Calendar, and admin resources from the terminal.
Download models and datasets, push repos, manage auth tokens, and run Hugging Face Hub ops from the terminal.
Install Vercel CLI globally via npm
Requires Node.js 18+. Global flag puts the `vercel` binary on your PATH so any agent shell can invoke it.
npm install -g vercel (Alternative) Install via pnpm, yarn, or bun
Any Node package manager works. Pick the one you already use.
pnpm add -g vercel Log in to your Vercel account
Opens a browser tab. Pick the same sign-in method (GitHub, GitLab, Bitbucket, or email) you use on vercel.com. Token is saved to `~/.local/share/com.vercel.cli/auth.json`.
vercel login Link a local project
Run inside your project directory. Creates a `.vercel/` folder with the project + org IDs so every subsequent command targets this project.
vercel link (Optional) Pull production env vars
Writes `.env.local` from your Vercel project — handy for local dev and for AI agents that need the same secrets.
vercel env pull Verify installation
vercel --version Install Node.js LTS (prerequisite)
Vercel CLI is a Node package. In an elevated PowerShell, install the LTS build. Skip this step if `node --version` already returns 18+.
winget install OpenJS.NodeJS.LTS Open a FRESH PowerShell window
The Node installer modifies PATH. Existing terminals will not see `node`/`npm` until you reopen them.
Install Vercel CLI globally
Global flag is what makes `vercel` available to any shell / AI agent.
npm install -g vercel Log in to your Vercel account
Opens your default browser. Pick the same sign-in method you use on vercel.com. The access token is stored at %APPDATA%\com.vercel.cli\auth.json.
vercel login Link a local project
From your project directory. Select the Vercel team + project to link. Creates a `.vercel/` folder you should NOT commit.
vercel link (Optional) Pull production env vars
Writes `.env.local` so local + agent commands see the same secrets as production.
vercel env pull 💡 Avoid installing Node via the Microsoft Store — it sandboxes global installs and `npm install -g` silently fails. If you see EACCES errors, follow npm's permissions guide: https://docs.npmjs.com/resolving-eacces-permissions-errors.
Verify installation
vercel --version Install Node.js 18+ via nvm (recommended)
nvm avoids the `sudo npm -g` permissions dance and lets you switch versions per project.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash && source ~/.bashrc && nvm install --lts Install Vercel CLI globally
npm install -g vercel Log in to your Vercel account
Prints a URL + one-time code. Copy the URL to a browser (useful on headless boxes).
vercel login Link a local project
vercel link (Optional) Pull production env vars
vercel env pull Verify installation
vercel --version Use it with an AI agent
Once installed + authenticated, just tell Claude Code / Cursor / Codex:
"Use the Vercel CLI to deploy this project to production" · "Pull my production env vars into .env.local" · "List my last 10 deployments"
The agent runs the CLI in your shell with the credentials you already saved — no extra config.
Install via Homebrew
Official formula. Updates with `brew upgrade gh`.
brew install gh Authenticate with GitHub
Interactive prompts: pick GitHub.com → HTTPS → "Login with a web browser". Copy the one-time code it prints, paste it at github.com/login/device, authorize.
gh auth login Verify auth
Should print `Logged in to github.com as <your-username>` and show the token scopes.
gh auth status Verify installation
gh --version Install via winget (recommended)
The WinGet package is the only one maintained by the GitHub CLI team. Run in PowerShell — a UAC prompt will appear.
winget install --id GitHub.cli (Alternative) Install via Scoop
Community-maintained. Good if you already use Scoop for dev tooling.
scoop install gh (Alternative) Install via Chocolatey
Community-maintained. Requires Chocolatey installed first.
choco install gh Open a FRESH PowerShell or Terminal window
The installer modifies PATH — existing shells will not see `gh` until they are restarted.
Authenticate with GitHub
Interactive prompts. Recommended answers: GitHub.com → HTTPS → Yes (auth git with gh credentials) → Login with a web browser. It prints a one-time code; paste it at github.com/login/device and authorize.
gh auth login (Alternative) Authenticate with a Personal Access Token
If you cannot use the browser flow (CI, agent-only machine), create a classic PAT at github.com/settings/tokens, then pipe it in. Replace YOUR_PAT with the token.
echo YOUR_PAT | gh auth login --with-token Verify auth
Confirms gh can talk to the API and lists the token scopes.
gh auth status 💡 WinGet uses the official signed installer. Choco/Scoop are community forks — if anything breaks, fall back to WinGet or download the .msi from https://github.com/cli/cli/releases/latest.
Verify installation
gh --version Add the GitHub CLI apt keyring (Debian / Ubuntu)
For Fedora / RHEL / openSUSE, see the official install docs — each distro has a one-liner.
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) && sudo mkdir -p -m 755 /etc/apt/keyrings && wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null && sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg Add the apt source list
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null Install gh
sudo apt update && sudo apt install gh -y Authenticate with GitHub
GitHub.com → HTTPS → browser flow. Copy the one-time code to github.com/login/device.
gh auth login Verify auth
gh auth status Verify installation
gh --version Use it with an AI agent
Once installed + authenticated, just tell Claude Code / Cursor / Codex:
"Use the GitHub CLI to open a PR from this branch" · "List my open issues across all repos" · "Trigger the deploy.yml workflow on main"
The agent runs the CLI in your shell with the credentials you already saved — no extra config.
Install via Homebrew tap
Official tap maintained by Supabase. Updates with `brew upgrade supabase`.
brew install supabase/tap/supabase Log in to Supabase
Opens a browser, generates a personal access token, and saves it to `~/.supabase/access-token`.
supabase login Initialize a new project directory
Creates `supabase/config.toml` and the migrations folder. Run in an empty or existing app directory.
supabase init Link to your cloud project
Find <project-ref> in your Supabase dashboard URL: https://supabase.com/dashboard/project/<ref>. This lets `supabase db push`, functions deploy, etc. target the right project.
supabase link --project-ref <your-project-ref> (Optional) Start the local stack
Requires Docker Desktop running. Spins up Postgres + Auth + Storage + Studio on localhost.
supabase start Verify installation
supabase --version Install Scoop (if you don't have it)
Scoop is the only supported Windows installer for Supabase CLI. Run in a NON-admin PowerShell — Scoop installs per-user.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser; irm get.scoop.sh | iex Add the Supabase Scoop bucket
Pulls the bucket manifest from Supabase's official scoop repo.
scoop bucket add supabase https://github.com/supabase/scoop-bucket.git Install Supabase CLI
Scoop downloads the prebuilt Windows binary and adds it to PATH.
scoop install supabase Log in to Supabase
Opens your default browser. Click "Authorize" on the Supabase consent screen. The token is stored under %USERPROFILE%\.supabase\.
supabase login Initialize a new project directory
Creates `supabase/config.toml`. Run in an empty directory (or your app's root).
supabase init Link to your cloud project
Get <project-ref> from your Supabase dashboard URL (the 20-char slug after /project/).
supabase link --project-ref <your-project-ref> (Optional) Start the local stack
Requires Docker Desktop for Windows installed and running.
supabase start 💡 Supabase EXPLICITLY does not support `npm install -g supabase`. On Windows, use Scoop. Do not follow random Stack Overflow answers telling you to npm-install it globally — it will silently break.
Verify installation
supabase --version Install via Homebrew on Linux (recommended)
Linuxbrew works cross-distro and gets updates fastest.
brew install supabase/tap/supabase (Alternative) Install as a dev dependency
Global npm install is NOT supported. Use it as a per-project devDependency and run via `npx supabase`.
npm install supabase --save-dev (Alternative) Download a prebuilt release
Grab the .tar.gz for your arch from https://github.com/supabase/cli/releases and drop `supabase` into /usr/local/bin.
Log in to Supabase
supabase login Initialize a new project directory
supabase init Link to your cloud project
supabase link --project-ref <your-project-ref> (Optional) Start the local stack
Requires Docker Engine running.
supabase start Verify installation
supabase --version Use it with an AI agent
Once installed + authenticated, just tell Claude Code / Cursor / Codex:
"Use the Supabase CLI to start a local stack" · "Create a migration for a new posts table" · "Generate TypeScript types from my remote database" · "Deploy the send-email edge function"
The agent runs the CLI in your shell with the credentials you already saved — no extra config.
Install the signed .pkg (recommended)
Official AWS-signed package. Most up-to-date and supported path.
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg" && sudo installer -pkg AWSCLIV2.pkg -target / (Alternative) Install via Homebrew
Community-maintained. Usually a few days behind upstream but simpler.
brew install awscli Create an IAM user + access keys in AWS Console
Sign in to AWS Console → IAM → Users → Create user → attach a least-privilege policy (NEVER use root keys) → Security credentials tab → Create access key → select "CLI" as the use case. Copy the Access Key ID and Secret Access Key — the secret is shown only once.
Configure credentials
Prompts for 4 values: Access Key ID, Secret Access Key, default region (e.g. us-east-1), default output format (json / text / table). Stored in ~/.aws/credentials and ~/.aws/config.
aws configure Test your credentials
Returns your account ID, user ARN, and user ID. If this fails, your keys are wrong or your user has no permissions.
aws sts get-caller-identity Verify installation
aws --version Install via MSI (recommended)
Runs the official AWS-signed MSI silently. Adds `aws` to the system PATH. Open an ELEVATED PowerShell (Run as Administrator).
msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msi /qn (Alternative) Install via winget
Works in a normal PowerShell — winget handles the elevation prompt.
winget install --id Amazon.AWSCLI (Alternative) Download + run the MSI manually
If you cannot run commands as admin, download the MSI from https://awscli.amazonaws.com/AWSCLIV2.msi and double-click it.
Open a FRESH PowerShell window
MSI modifies the SYSTEM PATH — open a brand-new PowerShell / Terminal so `aws` is on PATH. Existing ones will say "command not found".
Create an IAM user + access keys in AWS Console
AWS Console → IAM → Users → Create user → attach a least-privilege policy (e.g. PowerUserAccess for dev, NOT root keys) → the new user → Security credentials → Create access key → select "Command Line Interface (CLI)" → confirm. Copy both the Access Key ID and the Secret Access Key. The Secret is shown only once — save it immediately.
Configure credentials
Prompts for 4 values: AWS Access Key ID, AWS Secret Access Key, Default region (e.g. us-east-1), Default output (json). Stored at %USERPROFILE%\.aws\credentials and %USERPROFILE%\.aws\config.
aws configure (Optional) Set up a named profile for multiple accounts
If you have work + personal AWS accounts, configure each under its own profile. Then use `aws --profile work s3 ls`, etc.
aws configure --profile work Test your credentials
Returns your AWS account ID + user ARN. If this errors, your keys are wrong or the user has no permission.
aws sts get-caller-identity 💡 NEVER commit %USERPROFILE%\.aws\credentials to git. For CI or AI agents, prefer AWS IAM Identity Center SSO (`aws configure sso`) over long-lived access keys.
Verify installation
aws --version Download the v2 installer (x86_64)
For ARM64 (Graviton, Raspberry Pi), use awscli-exe-linux-aarch64.zip instead.
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" Unzip the installer
unzip awscliv2.zip Run the installer
Installs to /usr/local/aws-cli/ and symlinks `aws` into /usr/local/bin/.
sudo ./aws/install (Alternative) Snap install
One-liner on distros with snapd (Ubuntu, Fedora with snapd).
sudo snap install aws-cli --classic Create an IAM user + access keys
Same as the Windows step: AWS Console → IAM → create dedicated CLI user → attach least-privilege policy → generate access keys.
Configure credentials
aws configure Test your credentials
aws sts get-caller-identity Verify installation
aws --version Use it with an AI agent
Once installed + authenticated, just tell Claude Code / Cursor / Codex:
"Use the AWS CLI to list my S3 buckets" · "Describe the EC2 instance i-abc123" · "Tail CloudWatch logs for /aws/lambda/my-func" · "Deploy this Lambda zip"
The agent runs the CLI in your shell with the credentials you already saved — no extra config.
Install via Homebrew (easiest)
Pulls a signed prebuilt binary. No Rust or Node toolchain needed.
brew install googleworkspace-cli (Alternative) Install via npm
Official npm wrapper. Requires Node.js 18+.
npm install -g @googleworkspace/cli (Alternative) Install from source with Cargo
The CLI is written in Rust. Only needed if you want the bleeding edge.
cargo install --git https://github.com/googleworkspace/cli --locked Install gcloud CLI (for automated auth)
Easiest auth path uses gcloud to provision the GCP project for you.
brew install --cask google-cloud-sdk Automated setup via gcloud
Creates a Google Cloud project, enables the Workspace APIs, generates OAuth credentials, and opens a browser to log in. One command does everything.
gws auth setup Verify auth
Should return a JSON list of your 5 most recent Drive files.
gws drive files list --params '{"pageSize": 5}' Verify installation
gws --version Install Node.js LTS (prerequisite for npm path)
Skip if `node --version` already returns 18+.
winget install OpenJS.NodeJS.LTS Open a FRESH PowerShell window
PATH refresh. Required after Node install.
Install Google Workspace CLI globally via npm
On Windows, the npm path is the easiest — no Rust toolchain, no manual PATH edits.
npm install -g @googleworkspace/cli (Alternative) Download a prebuilt Windows binary
From https://github.com/googleworkspace/cli/releases — grab the .exe for windows-x86_64, place it in a folder on your PATH (e.g. C:\tools\gws.exe).
Install gcloud CLI (for automated auth)
Google Cloud SDK includes the gcloud binary `gws auth setup` depends on. Elevated PowerShell required.
winget install Google.CloudSDK Automated setup via gcloud
Creates a GCP project, enables the Workspace APIs (Drive, Gmail, Calendar, etc.), generates OAuth credentials, and opens a browser to complete the OAuth flow. Credentials saved to %USERPROFILE%\.config\gws\.
gws auth setup (Manual alternative) Set up OAuth credentials yourself
If you prefer not to install gcloud: go to console.cloud.google.com/apis/credentials → Create Credentials → OAuth client ID → Desktop app. Download the JSON, save it as %USERPROFILE%\.config\gws\client_secret.json, then run `gws auth login` to complete the browser flow.
gws auth login Verify auth
Lists your 5 most recent Drive files as JSON. If this errors with 401, re-run `gws auth setup` or `gws auth login`.
gws drive files list --params "{\"pageSize\": 5}" 💡 The CLI is written in Rust but is distributed as prebuilt binaries — you do NOT need to install Rust or Go on Windows. Use the npm package or the GitHub release binaries.
Verify installation
gws --version Install via Homebrew on Linux (simplest)
Works across distros via Linuxbrew. Gets signed binaries.
brew install googleworkspace-cli (Alternative) Install via npm
Requires Node.js 18+. Works everywhere.
npm install -g @googleworkspace/cli (Alternative) Install from source
Requires Rust toolchain (`rustup`). Builds from the official repo.
cargo install --git https://github.com/googleworkspace/cli --locked Install gcloud CLI (for automated auth)
Debian/Ubuntu one-liner; other distros see cloud.google.com/sdk/docs/install.
curl https://sdk.cloud.google.com | bash && exec -l $SHELL Automated setup via gcloud
Provisions the Cloud project, enables APIs, runs the OAuth flow.
gws auth setup Verify auth
gws drive files list --params '{"pageSize": 5}' Verify installation
gws --version Use it with an AI agent
Once installed + authenticated, just tell Claude Code / Cursor / Codex:
"Use the gws CLI to list my 10 most recent Drive files" · "Draft a Gmail reply to this thread" · "Create a Calendar event for tomorrow 3pm"
The agent runs the CLI in your shell with the credentials you already saved — no extra config.
Prerequisite: Python 3.8+
Check with `python3 --version`. Install via Homebrew if missing.
brew install python Install huggingface_hub with CLI extras
The `[cli]` extra installs the `hf` binary (replaces the old `huggingface-cli`).
pip install -U "huggingface_hub[cli]" (Alternative) Install via uv
Faster if you already use uv for Python envs.
uv tool install "huggingface_hub[cli]" Log in with a user access token
Create a token at https://huggingface.co/settings/tokens (read + write scope). `hf auth login` prompts for the token and stores it in `~/.cache/huggingface/token`.
hf auth login Verify auth
Returns your HF username + org memberships.
hf auth whoami (Optional) Download a model
Pulls the repo into the HF cache. Agents can reference it by repo_id afterward.
hf download meta-llama/Llama-3.2-1B-Instruct Verify installation
hf --version Prerequisite: Python 3.8+
Install via winget if missing. Tick "Add python.exe to PATH" during interactive installs.
winget install Python.Python.3.12 Open a FRESH PowerShell window
PATH refresh. Required after Python install so `pip` resolves.
Install huggingface_hub with CLI extras
Installs the `hf` binary onto your Python Scripts PATH. Quotes are required in PowerShell for the bracket extra.
pip install -U "huggingface_hub[cli]" Log in with a user access token
Generate a token at https://huggingface.co/settings/tokens (read + write scope). The command prompts for the token and stores it in %USERPROFILE%\.cache\huggingface\token.
hf auth login Verify auth
Returns your HF username + org memberships. 401 means re-run `hf auth login`.
hf auth whoami (Optional) Download a model
Cached under %USERPROFILE%\.cache\huggingface\hub — agents resolve by repo_id after this.
hf download meta-llama/Llama-3.2-1B-Instruct 💡 If `hf` is not recognised after install, the Python Scripts dir is missing from PATH. Add `%USERPROFILE%\AppData\Local\Programs\Python\Python3xx\Scripts` and reopen the shell.
Verify installation
hf --version Prerequisite: Python 3.8+ and pip
Debian/Ubuntu example. For other distros, use your package manager.
sudo apt update && sudo apt install -y python3 python3-pip Install huggingface_hub with CLI extras
The `[cli]` extra installs the `hf` binary onto your user bin dir (usually `~/.local/bin`).
pip install -U "huggingface_hub[cli]" (Alternative) Install via pipx or uv
Isolated install — avoids polluting the system Python.
pipx install "huggingface_hub[cli]" Log in with a user access token
Create a token at https://huggingface.co/settings/tokens (read + write scope). Stored in `~/.cache/huggingface/token`.
hf auth login Verify auth
hf auth whoami (Optional) Download a model
hf download meta-llama/Llama-3.2-1B-Instruct Verify installation
hf --version Use it with an AI agent
Once installed + authenticated, just tell Claude Code / Cursor / Codex:
"Use hf to download meta-llama/Llama-3.2-1B-Instruct" · "Upload this model folder to my HF account" · "List files in this dataset repo"
The agent runs the CLI in your shell with the credentials you already saved — no extra config.
Want walkthroughs for the tools listed here? Watch on the YouTube channel. Want the background on how these projects fit into the TechRex workflow? Read About.