sincecutoff.com
← all changes

hf skills add installs the hf-cli coding skill

Introduced 2026-02-03 · score 0.95

HOW TO USE IT

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.

hf skills add --claude
hf skills add --claude --global
hf skills add --codex --opencode

WHY THIS HELPS

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.

REQUIREMENTS AND LIMITATIONS

  • 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.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card