mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-14 04:02:26 +00:00
Completes the Windows-gating coverage for the built-in skills/ tree. Every
bundled SKILL.md now carries an explicit platforms: declaration so the
loader (agent.skill_utils.skill_matches_platform) can skip-load skills
that don't fit the current OS.
74 skills declared cross-platform (platforms: [linux, macos, windows]):
Creative (16): ascii-art, ascii-video, architecture-diagram, baoyu-comic,
baoyu-infographic, claude-design, creative-ideation, design-md,
excalidraw, humanizer, manim-video, p5js, pixel-art,
popular-web-designs, pretext, sketch, songwriting-and-ai-music,
touchdesigner-mcp
Autonomous agents: claude-code, codex, hermes-agent, opencode
Data/devops: jupyter-live-kernel, kanban-orchestrator, kanban-worker,
webhook-subscriptions, dogfood, codebase-inspection
GitHub: github-auth, github-code-review, github-issues,
github-pr-workflow, github-repo-management
Media: gif-search, heartmula, songsee, spotify, youtube-content
MCP / email / gaming / notes / smart-home: native-mcp, himalaya,
pokemon-player, obsidian, openhue
mlops (non-broken): weights-and-biases, huggingface-hub, llama-cpp,
outlines, segment-anything-model, dspy, trl-fine-tuning
Productivity: airtable, google-workspace, linear, maps, nano-pdf,
notion, ocr-and-documents, powerpoint
Red-teaming / research: godmode, arxiv, blogwatcher, llm-wiki,
polymarket
Software-dev: debugging-hermes-tui-commands, hermes-agent-skill-authoring,
node-inspect-debugger, plan, requesting-code-review, spike,
subagent-driven-development, systematic-debugging,
test-driven-development, writing-plans
Misc: yuanbao
5 skills gated from Windows (platforms: [linux, macos]):
mlops/inference/vllm (serving-llms-vllm)
vLLM is officially Linux-only; Windows requires WSL.
mlops/training/axolotl
Axolotl's flash-attn + deepspeed + bitsandbytes stack is Linux-first.
mlops/training/unsloth
Requires Triton + xformers + flash-attn — Linux only in practice.
mlops/models/audiocraft (audiocraft-audio-generation)
torchaudio ffmpeg backend + encodec dependencies are Linux-first.
mlops/inference/obliteratus
Research abliteration workflow; relies on Linux-focused pytorch
kernels and MLX — no first-class Windows path.
Same strict-over-lenient policy as the optional-skills sweep: when the
underlying tool's Windows support is rough, missing, or WSL-only, gate the
skill. Easier to un-gate after verified Windows support lands than to leak
partial support that manifests as mid-task failures.
Combined with prior commits in this branch, every bundled SKILL.md
(skills/ + optional-skills/) now has a platforms: declaration.
81 lines
3.6 KiB
Markdown
81 lines
3.6 KiB
Markdown
---
|
|
name: huggingface-hub
|
|
description: "HuggingFace hf CLI: search/download/upload models, datasets."
|
|
version: 1.0.0
|
|
author: Hugging Face
|
|
license: MIT
|
|
tags: [huggingface, hf, models, datasets, hub, mlops]
|
|
platforms: [linux, macos, windows]
|
|
---
|
|
|
|
# Hugging Face CLI (`hf`) Reference Guide
|
|
|
|
The `hf` command is the modern command-line interface for interacting with the Hugging Face Hub, providing tools to manage repositories, models, datasets, and Spaces.
|
|
|
|
> **IMPORTANT:** The `hf` command replaces the now deprecated `huggingface-cli` command.
|
|
|
|
## Quick Start
|
|
* **Installation:** `curl -LsSf https://hf.co/cli/install.sh | bash -s`
|
|
* **Help:** Use `hf --help` to view all available functions and real-world examples.
|
|
* **Authentication:** Recommended via `HF_TOKEN` environment variable or the `--token` flag.
|
|
|
|
---
|
|
|
|
## Core Commands
|
|
|
|
### General Operations
|
|
* `hf download REPO_ID`: Download files from the Hub.
|
|
* `hf upload REPO_ID`: Upload files/folders (recommended for single-commit).
|
|
* `hf upload-large-folder REPO_ID LOCAL_PATH`: Recommended for resumable uploads of large directories.
|
|
* `hf sync`: Sync files between a local directory and a bucket.
|
|
* `hf env` / `hf version`: View environment and version details.
|
|
|
|
### Authentication (`hf auth`)
|
|
* `login` / `logout`: Manage sessions using tokens from [huggingface.co/settings/tokens](https://huggingface.co/settings/tokens).
|
|
* `list` / `switch`: Manage and toggle between multiple stored access tokens.
|
|
* `whoami`: Identify the currently logged-in account.
|
|
|
|
### Repository Management (`hf repos`)
|
|
* `create` / `delete`: Create or permanently remove repositories.
|
|
* `duplicate`: Clone a model, dataset, or Space to a new ID.
|
|
* `move`: Transfer a repository between namespaces.
|
|
* `branch` / `tag`: Manage Git-like references.
|
|
* `delete-files`: Remove specific files using patterns.
|
|
|
|
---
|
|
|
|
## Specialized Hub Interactions
|
|
|
|
### Datasets & Models
|
|
* **Datasets:** `hf datasets list`, `info`, and `parquet` (list parquet URLs).
|
|
* **SQL Queries:** `hf datasets sql SQL` — Execute raw SQL via DuckDB against dataset parquet URLs.
|
|
* **Models:** `hf models list` and `info`.
|
|
* **Papers:** `hf papers list` — View daily papers.
|
|
|
|
### Discussions & Pull Requests (`hf discussions`)
|
|
* Manage the lifecycle of Hub contributions: `list`, `create`, `info`, `comment`, `close`, `reopen`, and `rename`.
|
|
* `diff`: View changes in a PR.
|
|
* `merge`: Finalize pull requests.
|
|
|
|
### Infrastructure & Compute
|
|
* **Endpoints:** Deploy and manage Inference Endpoints (`deploy`, `pause`, `resume`, `scale-to-zero`, `catalog`).
|
|
* **Jobs:** Run compute tasks on HF infrastructure. Includes `hf jobs uv` for running Python scripts with inline dependencies and `stats` for resource monitoring.
|
|
* **Spaces:** Manage interactive apps. Includes `dev-mode` and `hot-reload` for Python files without full restarts.
|
|
|
|
### Storage & Automation
|
|
* **Buckets:** Full S3-like bucket management (`create`, `cp`, `mv`, `rm`, `sync`).
|
|
* **Cache:** Manage local storage with `list`, `prune` (remove detached revisions), and `verify` (checksum checks).
|
|
* **Webhooks:** Automate workflows by managing Hub webhooks (`create`, `watch`, `enable`/`disable`).
|
|
* **Collections:** Organize Hub items into collections (`add-item`, `update`, `list`).
|
|
|
|
---
|
|
|
|
## Advanced Usage & Tips
|
|
|
|
### Global Flags
|
|
* `--format json`: Produces machine-readable output for automation.
|
|
* `-q` / `--quiet`: Limits output to IDs only.
|
|
|
|
### Extensions & Skills
|
|
* **Extensions:** Extend CLI functionality via GitHub repositories using `hf extensions install REPO_ID`.
|
|
* **Skills:** Manage AI assistant skills with `hf skills add`.
|