hub-cli-setup
Automates the setup of Hugging Face and GitHub CLI credentials within Pixi environments.
Install
mkdir -p .claude/skills/hub-cli-setup && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10760" && unzip -o skill.zip -d .claude/skills/hub-cli-setup && rm skill.zipInstalls to .claude/skills/hub-cli-setup
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Use when setting up Hugging Face Hub CLI authentication or the recommended GitHub CLI workflow for IsaacLab-Imitation datasets, pushes, PRs, and CI checks.Key capabilities
- →Authenticate with Hugging Face Hub CLI
- →Authenticate with GitHub CLI
- →Set up Git credential helper for Hugging Face
- →Switch Hugging Face authentication tokens
- →Remove Hugging Face-scoped Git credential helper
How it works
This skill executes pixi run commands to authenticate with Hugging Face Hub CLI or GitHub CLI. It can also configure Git's credential helper for Hugging Face.
Inputs & outputs
When to use hub-cli-setup
- →Authenticate with Hugging Face Hub
- →Set up GitHub CLI for CI/CD
- →Configure git credentials for private datasets
About this skill
Hub CLI Setup
Use the repo-owned Pixi environments. Hugging Face CLI support lives in the
lerobot environment, while GitHub CLI support lives in the default
environment.
# Hugging Face Hub CLI for LeRobot dataset access. Use hf, not huggingface-cli.
pixi run -e lerobot hf auth login
pixi run -e lerobot hf auth whoami
# GitHub CLI is recommended for branch, push, PR, and CI workflows.
pixi run gh auth login
pixi run gh auth setup-git --hostname github.com
pixi run gh auth status
# Optional: only for direct git push/pull to https://huggingface.co.
# This uses Git's plaintext store helper, scoped to Hugging Face only.
git config --global credential.https://huggingface.co.helper store
# If you are already logged in:
pixi run -e lerobot hf auth list
TOKEN_NAME=home-ubuntu
pixi run -e lerobot hf auth switch --token-name "$TOKEN_NAME" --add-to-git-credential
# If you are not logged in yet:
pixi run -e lerobot hf auth login --add-to-git-credential
# Remove the Hugging Face-scoped helper later if you no longer want it.
git config --global --unset credential.https://huggingface.co.helper
When not to use it
- →When not setting up Hugging Face Hub CLI authentication
- →When not setting up GitHub CLI for IsaacLab-Imitation datasets
- →When not configuring git credentials for direct pushes to Hugging Face
Limitations
- →Hugging Face CLI support lives in the `lerobot` environment
- →GitHub CLI support lives in the default environment
- →Direct git push/pull to huggingface.co uses Git's plaintext store helper
How it compares
This skill uses environment-scoped pixi commands for authentication, providing a managed approach compared to direct CLI commands.
Compared to similar skills
hub-cli-setup side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| hub-cli-setup (this skill) | 0 | 2mo | Review | Beginner |
| github-release-management | 4 | 6mo | Review | Advanced |
| agent-release-swarm | 1 | 6mo | Review | Advanced |
| magerun-release | 1 | 5mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
github-release-management
ruvnet
Comprehensive GitHub release orchestration with AI swarm coordination for automated versioning, testing, deployment, and rollback management
agent-release-swarm
ruvnet
Agent skill for release-swarm - invoke with $agent-release-swarm
magerun-release
netz98
Technical release process for n98-magerun2
release
ziggy42
Use this skill when the user wants to cut a new release.
release-branch
mono
Create a release branch for SkiaSharp. Use when user says "release X", "start release X", "create release branch for X", "I want to release", or "release now". This is the FIRST step of releasing - creates branch and pushes to trigger CI. Can auto-detect next preview version from main branch.
release-minor
knuckleswtf
Automates the process of tagging a new minor release for Scribe by analyzing commit messages, updating the changelog, and creating a GitHub release.