<a id="cli-aws-agent-registry-list-skills"></a>

# list-skills

## Description

Lists the skills a registry offers: the name, record id, description and version of each of its `SKILL` records, read with `ListDiscoverableRegistryRecords`, and in `installedFor` the AI coding agents it is installed for. Every page of records is read, so `--no-paginate` and `--max-items` do not apply.

`skillName` is the `name` in the frontmatter of the record’s `SKILL.md`, which `install-skill` names the skill’s folder after; `name` is the record’s own name, which can differ. The command reads it with `BatchGetDiscoverableRegistryRecord`, up to 100 records a call, with the same credentials or sign-in as the listing. `skillName` is left out for a record whose `SKILL.md` text is missing or can’t be read, and for every record, with a warning, if those calls fail. Nothing else they return is shown.

Each agent in `installedFor` has an `id`, the value to pass as `--agent`, and a display `name`. A skills folder that several agents share is listed once: `~/.agents/skills` as `universal`, unless `--agent` names one of the agents that share it. A skill is installed for an agent when the agent’s skills folder holds a copy that `install-skill` installed from this registry, record and endpoint, as recorded in its `.agent-registry-skill.json`, whatever its version. The copy is found by that marker, whatever the name of its folder. A copy installed by anything else, or from another registry, record or endpoint, does not count. The folders of every detected agent are checked, or only those of the agent named by `--agent`; with none detected, `installedFor` is empty. Nothing is downloaded. Install or update a skill with `install-skill`.

Use `--authorizer JWT` for a registry configured with a custom JWT authorizer; omit it for SigV4. With `--authorizer JWT`, signs you in through the browser if there is no usable cached sign-in, and caches the sign-in for later commands; `--no-browser` prints the sign-in link instead of opening a browser. Remove a cached sign-in with `sign-out`.

## Synopsis

```
  list-skills
--registry-id <value>
[--agent <value>]
[--authorizer <value>]
[--client-id <value>]
[--no-browser]
[--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

`--registry-id` (string) [required]
The registry to list the skills of, given as an id or an ARN.

`--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. Only that agent’s skills folder is checked for installed skills.

`--authorizer` (string)

> Authorization mode. Omit this argument, or specify `SIGV4` , to sign requests with your AWS credentials. Specify `JWT` for a registry configured with a `CUSTOM_JWT` authorizer, to send a bearer token from the registry owner’s identity provider instead. The token comes from `AWS_BEARER_TOKEN_AGENT_REGISTRY` if that is set, and is then sent as is. Otherwise it comes from the cached sign-in for this registry and endpoint, refreshed silently when possible. If there is no usable cached sign-in, you sign in through the browser and the new sign-in is cached. The CLI requests any scopes the registry advertises in its Protected Resource Metadata. Remove a cached sign-in with `sign-out` .

`--client-id` (string)

> OAuth client id to sign in with when `--authorizer JWT` is used. Protected Resource Metadata does not publish the client id, so it must be supplied by the registry owner. If omitted, the CLI reuses the client id of the earlier sign-in to this registry at this endpoint, if that was with the same identity provider, or prompts for it when standard input is a terminal. A client id that differs from the cached sign-in starts a new sign-in.

> The registry owner sets up an app client for the CLI in the identity provider: a public client with no client secret, the callback URL `http://127.0.0.1:8484/oauth/callback` (with the port from `AWS_AGENT_REGISTRY_CALLBACK_PORT` if that is set), the authorization-code flow, the `openid` scope, and any scopes the registry advertises in its Protected Resource Metadata. An Amazon Cognito user pool also needs a domain.

`--no-browser` (boolean)

> Print the sign-in link instead of opening a browser, when `--authorizer JWT` has to sign you in, and open it in a browser yourself. The sign-in still redirects to `127.0.0.1` on the machine that runs the CLI. To sign in with a browser on another machine, connect from that machine with `ssh -L 8484:127.0.0.1:8484` to the one that runs the CLI.

## 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 list the skills in a registry**

The following `list-skills` example lists the skills in the specified registry and the detected AI coding agents that each skill is installed for. `skillName` is the name in each skill’s `SKILL.md`, which `install-skill` names the skill’s folder after; `name` is the record’s name.

```bash
aws agent-registry list-skills \
    --registry-id a1b2c3d4e5f6g7h8
```

Output:

```json
{
    "skills": [
        {
            "name": "pdf-extract",
            "skillName": "pdf-extract",
            "recordId": "r1s2t3u4v5w6",
            "description": "Extracts text and tables from PDF files.",
            "recordVersion": "1.2.0",
            "installedFor": [
                {
                    "id": "claude-code",
                    "name": "Claude Code"
                },
                {
                    "id": "kiro",
                    "name": "Kiro"
                }
            ]
        },
        {
            "name": "csv-tools",
            "skillName": "csv-tools",
            "recordId": "k7l8m9n0p1q2",
            "description": "Cleans, joins and summarizes CSV files.",
            "recordVersion": "0.3.1",
            "installedFor": []
        }
    ]
}
```

For more information, see [AWS Agent Registry](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/registry.html) in the *Amazon Bedrock AgentCore Developer Guide*.

**Example 2: To list the skills in a registry that uses a custom JWT authorizer**

The following `list-skills` example signs in to a registry that uses a `CUSTOM_JWT` authorizer and lists its skills. The first time, the command opens the identity provider’s sign-in page in your browser. Later commands for the same registry reuse and refresh the cached sign-in instead of opening the browser again.

```bash
aws agent-registry list-skills \
    --registry-id a1b2c3d4e5f6g7h8 \
    --authorizer JWT \
    --client-id 0oa1b2c3d4e5f6g7h8i9
```

Output:

```
Registry a1b2c3d4e5f6g7h8 trusts: https://example.us.auth0.com/
Detected identity provider: generic OIDC provider
Attempting to open your default browser. If the browser does not open, open the following URL.

https://example.us.auth0.com/authorize?response_type=code&client_id=0oa1b2c3d4e5f6g7h8i9&...

Waiting for sign-in to complete (up to 10 minutes)...
Signed in.

{
    "skills": [
        {
            "name": "pdf-extract",
            "skillName": "pdf-extract",
            "recordId": "r1s2t3u4v5w6",
            "description": "Extracts text and tables from PDF files.",
            "recordVersion": "1.2.0",
            "installedFor": []
        }
    ]
}
```

For more information, see [AWS Agent Registry](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/registry.html) in the *Amazon Bedrock AgentCore Developer Guide*.

**Example 3: To list the skills in a registry as a table**

The following `list-skills` example lists the name, record ID, and version of each skill in the specified registry as a table.

```bash
aws agent-registry list-skills \
    --registry-id a1b2c3d4e5f6g7h8 \
    --query 'skills[].{name:name,recordId:recordId,version:recordVersion}' \
    --output table
```

Output:

```
--------------------------------------------
|                list-skills               |
+-------------+----------------+-----------+
|    name     |   recordId     |  version  |
+-------------+----------------+-----------+
|  pdf-extract|  r1s2t3u4v5w6  |  1.2.0    |
|  csv-tools  |  k7l8m9n0p1q2  |  0.3.1    |
+-------------+----------------+-----------+
```

For more information, see [AWS Agent Registry](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/registry.html) in the *Amazon Bedrock AgentCore Developer Guide*.
