---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [skills](../index.md) / downloadSkillsArtifact

# Function: downloadSkillsArtifact()

> **downloadSkillsArtifact**(`skillSet`, `options`): `Promise`\<`string`\>

Defined in: [packages/b2c-tooling-sdk/src/skills/github.ts:520](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/skills/github.ts#L520)

Download and extract skills artifact.
Dispatches to the appropriate download strategy based on the skill source type.

## Parameters

### skillSet

[`SkillSet`](../type-aliases/SkillSet.md)

Which skill set to download

### options

[`DownloadSkillsOptions`](../interfaces/DownloadSkillsOptions.md) = `{}`

Download options

## Returns

`Promise`\<`string`\>

Path to extracted skills directory
