<a id="cli-aws-agent-toolkit-update-skill"></a>

# update-skill

## Description

Update installed AWS skills to the latest version. Compares the locally installed version against the available skills and downloads the newer version if available. Pass `--skill-name` to update a single skill or `--all` to update every installed skill that is out of date. By default skills are updated for all detected agents, use `--agent` to update for only a specific tool.

## Synopsis

```
  update-skill
[--skill-name <value>]
[--all]
[--agent <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
[--help]
```

## Options

`--skill-name` (string)
The name of the skill.

`--all` (boolean)
Update every installed AWS skill that is out of date. Cannot be combined with `--skill-name`.

`--agent` (string)
The agentic tool to target. If not set, the operation applies to all detected tools. Valid values: claude-code, cline, codex, cursor, devin, gemini-cli, kiro, openclaw, opencode, pi, windsurf, universal.

## Global Options

`--debug` (boolean)

Turn on debug logging.

`--endpoint-url` (string)

Override command’s default URL with the given URL.

`--no-verify-ssl` (boolean)

By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.

`--no-paginate` (boolean)

Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.

`--output` (string)

The formatting style for command output.

* json
* text
* table
* yaml
* yaml-stream
* off

`--query` (string)

A JMESPath query to use in filtering the response data.

`--profile` (string)

Use a specific profile from your credential file.

`--region` (string)

The region to use. Overrides config/env settings.

`--version` (string)

Display the version of this tool.

`--color` (string)

Turn on/off color output.

* on
* off
* auto

`--no-sign-request` (boolean)

Do not sign requests. Credentials will not be loaded if this argument is provided.

`--ca-bundle` (string)

The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.

`--cli-read-timeout` (int)

The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.

`--cli-connect-timeout` (int)

The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.

`--cli-binary-format` (string)

The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob `fileb://` will always be treated as binary and use the file contents directly regardless of the `cli-binary-format` setting. When using `file://` the file contents will need to properly formatted for the configured `cli-binary-format`.

* base64
* raw-in-base64-out

`--no-cli-pager` (boolean)

Disable cli pager for output.

`--cli-auto-prompt` (boolean)

Automatically prompt for CLI input parameters.

`--no-cli-auto-prompt` (boolean)

Disable automatically prompt for CLI input parameters.

`--cli-error-format` (string)

The formatting style for error output. By default, errors are displayed in enhanced format.

* legacy
* json
* yaml
* text
* table
* enhanced

`--help` (boolean)

Display help for the command/subcommand.

## Examples

#### NOTE
To use the following examples, you must have the AWS CLI installed and configured. See the [Getting started guide](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html) in the *AWS CLI User Guide* for more information.

Unless otherwise stated, all examples have unix-like quotation rules. These examples will need to be adapted to your terminal’s quoting rules. See [Using quotation marks with strings](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-quoting-strings.html) in the *AWS CLI User Guide* .

**Example 1: To update an installed skill**

The following `update-skill` example updates the aws-serverless skill to the latest version across all agents where it is installed.

```bash
aws agent-toolkit update-skill \
    --skill-name aws-serverless
```

Output:

```
Updated aws-serverless (v1) to Kiro.
```

For more information, see [Getting started](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/quick-start.html) in the *AWS Agent Toolkit User Guide*.

**Example 2: To update a skill for a specific agent**

The following `update-skill` example updates the aws-serverless skill only for Kiro.

```bash
aws agent-toolkit update-skill \
    --skill-name aws-serverless \
    --agent kiro
```

Output:

```
Updated aws-serverless (v2) to Kiro.
```

For more information, see [Getting started](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/quick-start.html) in the *AWS Agent Toolkit User Guide*.

**Example 3: To update a skill that is already up to date**

The following `update-skill` example shows the output when the installed skill is already at the latest version.

```bash
aws agent-toolkit update-skill \
    --skill-name aws-serverless
```

Output:

```
aws-serverless is already up to date (v2).
```

For more information, see [Getting started](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/quick-start.html) in the *AWS Agent Toolkit User Guide*.

**Example 4: To update every installed skill**

The following `update-skill` example updates all installed skills that are out of date. Skills that are already at the latest version are left alone.

```bash
aws agent-toolkit update-skill \
    --all
```

Output:

```
Updated aws-cloudformation (v2) to Kiro.
Updated aws-serverless (v2) to Kiro.
```

For more information, see [Getting started](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/quick-start.html) in the *AWS Agent Toolkit User Guide*.

**Example 5: To update every installed skill for a specific agent**

The following `update-skill` example updates all out-of-date skills, but only for Kiro.

```bash
aws agent-toolkit update-skill \
    --all \
    --agent kiro
```

Output:

```
Updated aws-serverless (v2) to Kiro.
```

For more information, see [Getting started](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/quick-start.html) in the *AWS Agent Toolkit User Guide*.

**Example 6: To update every installed skill when all skills are already up to date**

The following `update-skill` example shows the output when every installed skill is already at the latest version.

```bash
aws agent-toolkit update-skill \
    --all
```

Output:

```
All installed AWS skills are already up to date.
```

For more information, see [Getting started](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/quick-start.html) in the *AWS Agent Toolkit User Guide*.
