[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NSV7X7TB75CEBQKH8XT9VW":3,"skill-same:01M6NSV7X7TB75CEBQKH8XT9VW":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":13,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":66},"01M6NSV7X7TB75CEBQKH8XT9VW","huggingface-hub",null,"Hugging Face Hub CLI (hf) — search, download, and upload models and datasets, manage repos, query datasets with SQL, deploy inference endpoints, manage Spaces and buckets.","qubit-calculus\u002FQubit","qubit-calculus","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F271071935?v=4","01M6NS19569VZ1F2Z0SACBWPS7","01M6NS1992MKFQVNP9AGRTSZXN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fqubit-calculus\u002FQubit\u002Fblob\u002Fmain\u002Fpackages\u002Fskills\u002Fhermes\u002Fmlops\u002Fhuggingface-hub\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"HuggingFace","huggingface hub","hub","models","spaces","with","upload","query","manage","endpoints","datasets","cli","hf","hugging face","download","search","mlops","sql","deploy","repos","2026-11-10 10:12:30",false,"---\nname: huggingface-hub\ndescription: Hugging Face Hub CLI (hf) — search, download, and upload models and datasets, manage repos, query datasets with SQL, deploy inference endpoints, manage Spaces and buckets.\nversion: 1.0.0\nauthor: Hugging Face\nlicense: MIT\ntags: [huggingface, hf, models, datasets, hub, mlops]\n---\n\n# Hugging Face CLI (`hf`) Reference Guide\n\nThe `hf` command is the modern command-line interface for interacting with the Hugging Face Hub, providing tools to manage repositories, models, datasets, and Spaces.\n\n> **IMPORTANT:** The `hf` command replaces the now deprecated `huggingface-cli` command.\n\n## Quick Start\n*   **Installation:** `curl -LsSf https:\u002F\u002Fhf.co\u002Fcli\u002Finstall.sh | bash -s`\n*   **Help:** Use `hf --help` to view all available functions and real-world examples.\n*   **Authentication:** Recommended via `HF_TOKEN` environment variable or the `--token` flag.\n\n---\n\n## Core Commands\n\n### General Operations\n*   `hf download REPO_ID`: Download files from the Hub.\n*   `hf upload REPO_ID`: Upload files\u002Ffolders (recommended for single-commit).\n*   `hf upload-large-folder REPO_ID LOCAL_PATH`: Recommended for resumable uploads of large directories.\n*   `hf sync`: Sync files between a local directory and a bucket.\n*   `hf env` \u002F `hf version`: View environment and version details.\n\n### Authentication (`hf auth`)\n*   `login` \u002F `logout`: Manage sessions using tokens from [huggingface.co\u002Fsettings\u002Ftokens](https:\u002F\u002Fhuggingface.co\u002Fsettings\u002Ftokens).\n*   `list` \u002F `switch`: Manage and toggle between multiple stored access tokens.\n*   `whoami`: Identify the currently logged-in account.\n\n### Repository Management (`hf repos`)\n*   `create` \u002F `delete`: Create or permanently remove repositories.\n*   `duplicate`: Clone a model, dataset, or Space to a new ID.\n*   `move`: Transfer a repository between namespaces.\n*   `branch` \u002F `tag`: Manage Git-like references.\n*   `delete-files`: Remove specific files using patterns.\n\n---\n\n## Specialized Hub Interactions\n\n### Datasets & Models\n*   **Datasets:** `hf datasets list`, `info`, and `parquet` (list parquet URLs).\n*   **SQL Queries:** `hf datasets sql SQL` — Execute raw SQL via DuckDB against dataset parquet URLs.\n*   **Models:** `hf models list` and `info`.\n*   **Papers:** `hf papers list` — View daily papers.\n\n### Discussions & Pull Requests (`hf discussions`)\n*   Manage the lifecycle of Hub contributions: `list`, `create`, `info`, `comment`, `close`, `reopen`, and `rename`.\n*   `diff`: View changes in a PR.\n*   `merge`: Finalize pull requests.\n\n### Infrastructure & Compute\n*   **Endpoints:** Deploy and manage Inference Endpoints (`deploy`, `pause`, `resume`, `scale-to-zero`, `catalog`).\n*   **Jobs:** Run compute tasks on HF infrastructure. Includes `hf jobs uv` for running Python scripts with inline dependencies and `stats` for resource monitoring.\n*   **Spaces:** Manage interactive apps. Includes `dev-mode` and `hot-reload` for Python files without full restarts.\n\n### Storage & Automation\n*   **Buckets:** Full S3-like bucket management (`create`, `cp`, `mv`, `rm`, `sync`).\n*   **Cache:** Manage local storage with `list`, `prune` (remove detached revisions), and `verify` (checksum checks).\n*   **Webhooks:** Automate workflows by managing Hub webhooks (`create`, `watch`, `enable`\u002F`disable`).\n*   **Collections:** Organize Hub items into collections (`add-item`, `update`, `list`).\n\n---\n\n## Advanced Usage & Tips\n\n### Global Flags\n*   `--format json`: Produces machine-readable output for automation.\n*   `-q` \u002F `--quiet`: Limits output to IDs only.\n\n### Extensions & Skills\n*   **Extensions:** Extend CLI functionality via GitHub repositories using `hf extensions install REPO_ID`.\n*   **Skills:** Manage AI assistant skills with `hf skills add`.\n","# Hugging Face CLI (`hf`) Reference Guide\n\nThe `hf` command is the modern command-line interface for interacting with the Hugging Face Hub, providing tools to manage repositories, models, datasets, and Spaces.\n\n> **IMPORTANT:** The `hf` command replaces the now deprecated `huggingface-cli` command.\n\n## Quick Start\n*   **Installation:** `curl -LsSf https:\u002F\u002Fhf.co\u002Fcli\u002Finstall.sh | bash -s`\n*   **Help:** Use `hf --help` to view all available functions and real-world examples.\n*   **Authentication:** Recommended via `HF_TOKEN` environment variable or the `--token` flag.\n\n---\n\n## Core Commands\n\n### General Operations\n*   `hf download REPO_ID`: Download files from the Hub.\n*   `hf upload REPO_ID`: Upload files\u002Ffolders (recommended for single-commit).\n*   `hf upload-large-folder REPO_ID LOCAL_PATH`: Recommended for resumable uploads of large directories.\n*   `hf sync`: Sync files between a local directory and a bucket.\n*   `hf env` \u002F `hf version`: View environment and version details.\n\n### Authentication (`hf auth`)\n*   `login` \u002F `logout`: Manage sessions using tokens from [huggingface.co\u002Fsettings\u002Ftokens](https:\u002F\u002Fhuggingface.co\u002Fsettings\u002Ftokens).\n*   `list` \u002F `switch`: Manage and toggle between multiple stored access tokens.\n*   `whoami`: Identify the currently logged-in account.\n\n### Repository Management (`hf repos`)\n*   `create` \u002F `delete`: Create or permanently remove repositories.\n*   `duplicate`: Clone a model, dataset, or Space to a new ID.\n*   `move`: Transfer a repository between namespaces.\n*   `branch` \u002F `tag`: Manage Git-like references.\n*   `delete-files`: Remove specific files using patterns.\n\n---\n\n## Specialized Hub Interactions\n\n### Datasets & Models\n*   **Datasets:** `hf datasets list`, `info`, and `parquet` (list parquet URLs).\n*   **SQL Queries:** `hf datasets sql SQL` — Execute raw SQL via DuckDB against dataset parquet URLs.\n*   **Models:** `hf models list` and `info`.\n*   **Papers:** `hf papers list` — View daily papers.\n\n### Discussions & Pull Requests (`hf discussions`)\n*   Manage the lifecycle of Hub contributions: `list`, `create`, `info`, `comment`, `close`, `reopen`, and `rename`.\n*   `diff`: View changes in a PR.\n*   `merge`: Finalize pull requests.\n\n### Infrastructure & Compute\n*   **Endpoints:** Deploy and manage Inference Endpoints (`deploy`, `pause`, `resume`, `scale-to-zero`, `catalog`).\n*   **Jobs:** Run compute tasks on HF infrastructure. Includes `hf jobs uv` for running Python scripts with inline dependencies and `stats` for resource monitoring.\n*   **Spaces:** Manage interactive apps. Includes `dev-mode` and `hot-reload` for Python files without full restarts.\n\n### Storage & Automation\n*   **Buckets:** Full S3-like bucket management (`create`, `cp`, `mv`, `rm`, `sync`).\n*   **Cache:** Manage local storage with `list`, `prune` (remove detached revisions), and `verify` (checksum checks).\n*   **Webhooks:** Automate workflows by managing Hub webhooks (`create`, `watch`, `enable`\u002F`disable`).\n*   **Collections:** Organize Hub items into collections (`add-item`, `update`, `list`).\n\n---\n\n## Advanced Usage & Tips\n\n### Global Flags\n*   `--format json`: Produces machine-readable output for automation.\n*   `-q` \u002F `--quiet`: Limits output to IDs only.\n\n### Extensions & Skills\n*   **Extensions:** Extend CLI functionality via GitHub repositories using `hf extensions install REPO_ID`.\n*   **Skills:** Manage AI assistant skills with `hf skills add`.\n",{"name":5,"tags":43,"author":45,"license":14,"version":46,"description":7},[44,30,21,28,20,34],"huggingface","Hugging Face","1.0.0","main","a05c0ccfff1cda2a5d12e9ee7d02b75350ac0557","packages\u002Fskills\u002Fhermes\u002Fmlops\u002Fhuggingface-hub","https:\u002F\u002Fgithub.com\u002Fqubit-calculus\u002FQubit","https:\u002F\u002Fgithub.com\u002Fqubit-calculus","2026-04-07 15:16:13",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add qubit-calculus\u002FQubit --skill huggingface-hub",{"tool":59,"command":60},"bunx","bunx skills add qubit-calculus\u002FQubit --skill huggingface-hub",{"tool":62,"command":63},"pnpm","pnpm dlx skills add qubit-calculus\u002FQubit --skill huggingface-hub","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fqubit-calculus\u002FQubit\u002Fblob\u002Fmain\u002Fpackages\u002Fskills\u002Fhermes\u002Fmlops\u002Fhuggingface-hub\u002FSKILL.md",true,[],[68,95,115,131,145,165],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":38},"01M6NT8MKBM6Q660B4D7SHXE3F","writing-plans","Use when you have a spec or requirements for a multi-step task. Creates comprehensive implementation plans with bite-sized tasks, exact file paths, and complete code examples.","https:\u002F\u002Fgithub.com\u002Fqubit-calculus\u002FQubit\u002Fblob\u002Fmain\u002Fpackages\u002Fskills\u002Fhermes\u002Fsoftware-development\u002Fwriting-plans\u002FSKILL.md",[],[75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94],"writing","writing plans","plans","design","review","workflow","documentation","tasks","development","code","planning","code-review","subagent","use","superpowers","complete","paths","test-driven-development","you","for",{"skillNo":96,"name":92,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":38},"01M6NT8G9H510DV7VMY4X4Q9F3","Use when implementing any feature or bugfix, before writing implementation code. Enforces RED-GREEN-REFACTOR cycle with test-first approach.","https:\u002F\u002Fgithub.com\u002Fqubit-calculus\u002FQubit\u002Fblob\u002Fmain\u002Fpackages\u002Fskills\u002Fhermes\u002Fsoftware-development\u002Ftest-driven-development\u002FSKILL.md",[],[101,102,83,103,104,75,105,84,106,87,89,107,108,109,110,77,111,112,113,114],"test","test driven development","driven","testing","debugging","refactor","red-green-refactor","cycle","green","feature","systematic","bugfix","implementing","systematic-debugging",{"skillNo":116,"name":114,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":38},"01M6NT87T34SVN9P1S3PCBWY2D","Use when encountering any bug, test failure, or unexpected behavior. 4-phase root cause investigation — NO fixes without understanding the problem first.","https:\u002F\u002Fgithub.com\u002Fqubit-calculus\u002FQubit\u002Fblob\u002Fmain\u002Fpackages\u002Fskills\u002Fhermes\u002Fsoftware-development\u002Fsystematic-debugging\u002FSKILL.md",[],[121,105,111,75,101,83,122,123,87,124,125,88,89,126,127,128,77,129,92,130],"systematic debugging","first","investigation","hermes","behavior","bug","root-cause","problem-solving","problem","fixes",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":38},"01M6NT83GMFJRDY84BWJHQSVQE","subagent-driven-development","Use when executing implementation plans with independent tasks. Dispatches fresh delegate_task per task with two-stage review (spec compliance then code quality).","https:\u002F\u002Fgithub.com\u002Fqubit-calculus\u002FQubit\u002Fblob\u002Fmain\u002Fpackages\u002Fskills\u002Fhermes\u002Fsoftware-development\u002Fsubagent-driven-development\u002FSKILL.md",[],[83,138,87,103,75,79,80,139,82,84,140,86,141,142,88,89,143,77,144,92],"subagent driven development","code quality","delegation","parallel","delegate","stage","fresh",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":38},"01M6NT7YMC7H5NK632ED23WMV6","requesting-code-review","Pre-commit verification pipeline — static security scan, baseline-aware quality gates, independent reviewer subagent, and auto-fix loop. Use after code changes and before committing, pushing, or opening a PR.","https:\u002F\u002Fgithub.com\u002Fqubit-calculus\u002FQubit\u002Fblob\u002Fmain\u002Fpackages\u002Fskills\u002Fhermes\u002Fsoftware-development\u002Frequesting-code-review\u002FSKILL.md",[],[152,79,84,153,75,154,155,86,156,157,158,159,87,160,161,162,89,92,163,164],"code review","requesting code review","security","commit","verification","security scan","pipeline","loop","reviewer","fix","auto","static","auto-fix",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":38},"01M6NT7AWK0VW1RFSJTAG92363","plan","Plan mode for Hermes — inspect context, write a markdown plan into the active workspace's `.hermes\u002Fplans\u002F` directory, and do not execute the work.","https:\u002F\u002Fgithub.com\u002Fqubit-calculus\u002FQubit\u002Fblob\u002Fmain\u002Fpackages\u002Fskills\u002Fhermes\u002Fsoftware-development\u002Fplan\u002FSKILL.md",[],[167,75,172,80,83,85,173,87,174,175,176,177,178,179,77,180,181,182,94,183],"directory","markdown","workspace","work","write","implementation","do","active","plan mode","inspect","mode","plan-mode"]