{
  "slug": "hf-skills-add-installs-the-hf-cli-coding-skill-55a5199d3f93",
  "title": "hf skills add installs the hf-cli coding skill",
  "tools": [
    "hf"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-02-03T16:19:53.000Z",
  "announced_at": "2026-02-03T16:19:53.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a repository uses Hugging Face CLI workflows with Claude Code, Codex, or OpenCode, run `hf skills add` with the matching assistant flag. Add `--global` for a user-level install or use `--dest <PATH>` for a custom skills directory.",
    "examples": [
      "hf skills add --claude",
      "hf skills add --claude --global",
      "hf skills add --codex --opencode"
    ],
    "gotchas": [
      "Version: v1.4.0",
      "Requires hf skills add --claude, --codex, or --opencode; --global installs at user level and --dest PATH selects a custom skills directory.",
      "--claude: Install for Claude. At least one assistant flag or `--dest` is required; assistant flags can be combined.",
      "--codex: Install for Codex. At least one assistant flag or `--dest` is required; assistant flags can be combined.",
      "--opencode: Install for OpenCode. At least one assistant flag or `--dest` is required; assistant flags can be combined.",
      "-g, --global: Install globally at user level instead of in the current project.",
      "--dest <PATH>: Install into a custom skills directory. Mutually exclusive with assistant flags and `--global`.",
      "--force: Overwrite existing skills in the destination.",
      "Docs conflict: Current CLI reference no longer lists `--codex` or `--opencode` and says `--claude` is unnecessary; it describes newer behavior than v1.4.0. The v1.4.0 source documents all three assistant flags."
    ]
  },
  "why_it_matters": "When working with Claude Code, Codex, or OpenCode on a repository that uses Hugging Face CLI workflows, install the hf-cli skill for the assistant.",
  "sources": [
    "https://github.com/huggingface/huggingface_hub/releases/tag/v1.4.0",
    "https://github.com/huggingface/huggingface_hub/blob/v1.4.0/src/huggingface_hub/cli/skills.py"
  ],
  "rank": 0.95026,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-cd28f29f91e5b3a2-0:gate",
    "evidence_hash": "e1638677dc007e48aa1c9f9e2c9e8d4539f1f50b00365f579b50c3056facffe3"
  },
  "review": {
    "draft_hash": "96b586d8cf4d5bfa4e5f8c3f7e6ba430f27fd1d2b589ca073b6740f98206e82b",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.75 (>= 0.6 needed)."
  }
}
