---
title: thv skill build
hide_title: true
description: Reference for ToolHive CLI command `thv skill build`
last_update:
  author: autogenerated
slug: thv_skill_build
mdx:
  format: md
---

## thv skill build

Build a skill

### Synopsis

Build a skill from a local directory into an OCI artifact that can be pushed to a registry.

On success, prints the OCI reference of the built artifact to stdout.

```
thv skill build [path] [flags]
```

### Options

```
  -h, --help         help for build
  -t, --tag string   OCI tag for the built artifact
```

### Options inherited from parent commands

```
      --debug   Enable debug mode
```

### SEE ALSO

* [thv skill](thv_skill.md)	 - Manage skills

