Skip to content
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
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
43 changes: 42 additions & 1 deletion docs/source/en/package_reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -3120,6 +3120,7 @@ $ hf skills [OPTIONS] COMMAND [ARGS]...

* `add`: Download a skill and install it for an AI...
* `preview`: Print the generated SKILL.md to stdout.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel that hf skills add and hf skills preview description could be harmonized now that we have more than 1 skill that can be installed

* `update`: Update installed marketplace-managed skills.

### `hf skills add`

Expand All @@ -3131,9 +3132,13 @@ If custom agents are specified (e.g. --claude --codex --cursor --opencode, etc),
**Usage**:

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

**Arguments**:

* `[NAME]`: Marketplace skill name.

**Options**:

* `--claude`: Install for Claude.
Expand Down Expand Up @@ -3170,6 +3175,42 @@ $ hf skills preview [OPTIONS]

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

### `hf skills update`

Update installed marketplace-managed skills.

**Usage**:

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

**Arguments**:

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

**Options**:

* `--claude`: Update skills installed for Claude.
* `--codex`: Update skills installed for Codex.
* `--cursor`: Update skills installed for Cursor.
* `--opencode`: Update skills installed for OpenCode.
* `-g, --global`: Use global skills directories instead of the current project.
* `--dest PATH`: Update skills in a custom skills directory.
* `--force`: Overwrite local modifications when updating a skill.
* `--help`: Show this message and exit.

Examples
$ hf skills update
$ hf skills update hf-cli
$ hf skills update gradio --dest=~/my-skills
$ hf skills update --claude --force

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