Skip to content
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
1371b41
feat: add feature from hf-skills repo
burtenshaw Mar 20, 2026
c860505
docs: add update to docs
burtenshaw Mar 20, 2026
70571a9
test: use subprocess to test
burtenshaw Mar 20, 2026
45db8af
fix in docs
burtenshaw Mar 20, 2026
a04a708
Add marketplace skill install and update support
burtenshaw Mar 20, 2026
7194f4b
Add marketplace skill install and update support
burtenshaw Mar 20, 2026
09bc08a
Merge branch 'feature/add-marketplace-skills' of https://github.com/h…
burtenshaw Mar 20, 2026
cb375ce
drop skill excess
burtenshaw Mar 20, 2026
daf140b
remove excess project matter
burtenshaw Mar 20, 2026
6ddf759
fix: annotations in test
burtenshaw Mar 20, 2026
47c0588
Merge branch 'main' into feature/add-marketplace-skills
burtenshaw Mar 20, 2026
48afd76
fix: make fail_populate raise so pytest.raises assertion passes
burtenshaw Mar 20, 2026
550d38c
Simplify hf skills install and upgrade flow
burtenshaw Mar 26, 2026
8c1095d
Simplify a bit further
burtenshaw Mar 27, 2026
976f2ac
Fix skills upgrade status after successful install
burtenshaw Mar 27, 2026
2c73db8
Merge branch 'main' into feature/add-marketplace-skills
hanouticelina Apr 1, 2026
f0c993d
Apply suggestions from code review
burtenshaw Apr 2, 2026
89c5d78
Delete uv.lock
burtenshaw Apr 2, 2026
ef540af
simplify
burtenshaw Apr 2, 2026
b525999
fix: annotate skill update status literal
burtenshaw Apr 2, 2026
a213973
Merge branch 'main' into feature/add-marketplace-skills
Wauplin Apr 2, 2026
db3dc86
update example
Wauplin Apr 2, 2026
ebc4d6e
Merge branch 'main' into feature/add-marketplace-skills
Wauplin Apr 2, 2026
3b69456
Merge branch 'feature/add-marketplace-skills' of github.com:huggingfa…
Wauplin Apr 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 46 additions & 11 deletions docs/source/en/package_reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -3240,38 +3240,41 @@ $ hf skills [OPTIONS] COMMAND [ARGS]...

**Commands**:

* `add`: Download a skill and install it for an AI...
* `preview`: Print the generated SKILL.md to stdout.
* `add`: Download a Hugging Face skill and install...
* `preview`: Print the generated `hf-cli` SKILL.md to...
* `upgrade`: Upgrade installed Hugging Face marketplace...

### `hf skills add`

Download a skill and install it for an AI assistant.
Download a Hugging Face skill and install it for an AI assistant.

Default location is in the current directory (.agents/skills) or user-level (~/.agents/skills).
If custom agents are specified (e.g. --claude --codex --cursor --opencode, etc), the skill will be symlinked to the agent's skills directory.
If `--claude` is specified, the skill is also symlinked into Claude's legacy skills directory.

**Usage**:

```console
$ hf skills add [OPTIONS]
$ hf skills add [OPTIONS] [NAME]
```

**Arguments**:

* `[NAME]`: Marketplace skill name.

**Options**:

* `--claude`: Install for Claude.
* `--codex`: Install for Codex.
* `--cursor`: Install for Cursor.
* `--opencode`: Install for OpenCode.
* `-g, --global`: Install globally (user-level) instead of in the current project directory.
* `--dest PATH`: Install into a custom destination (path to skills directory).
* `--force`: Overwrite existing skills in the destination.
* `--help`: Show this message and exit.

Examples
$ hf skills add
$ hf skills add huggingface-gradio --dest=~/my-skills
$ hf skills add --global
$ hf skills add --claude --cursor
$ hf skills add --codex --opencode --cursor --global
$ hf skills add --claude
$ hf skills add --claude --global

Learn more
Use `hf <command> --help` for more information about a command.
Expand All @@ -3280,7 +3283,7 @@ Learn more

### `hf skills preview`

Print the generated SKILL.md to stdout.
Print the generated `hf-cli` SKILL.md to stdout.

**Usage**:

Expand All @@ -3292,6 +3295,38 @@ $ hf skills preview [OPTIONS]

* `--help`: Show this message and exit.

### `hf skills upgrade`

Upgrade installed Hugging Face marketplace skills.

**Usage**:

```console
$ hf skills upgrade [OPTIONS] [NAME]
```

**Arguments**:

* `[NAME]`: Optional installed skill name to upgrade.

**Options**:

* `--claude`: Upgrade skills installed for Claude.
* `-g, --global`: Use global skills directories instead of the current project.
* `--dest PATH`: Upgrade skills in a custom skills directory.
* `--help`: Show this message and exit.

Examples
$ hf skills upgrade
$ hf skills upgrade hf-cli
$ hf skills upgrade huggingface-gradio --dest=~/my-skills
$ hf skills upgrade --claude

Learn more
Use `hf <command> --help` for more information about a command.
Read the documentation at https://huggingface.co/docs/huggingface_hub/en/guides/cli


## `hf spaces`

Interact with spaces on the Hub.
Expand Down
Loading
Loading