CmdID

CmdID / aws / aws agent-toolkit

aws agent-toolkit get-skill-file

Returns a specific file from a skill version. AWS CLI reference

2 examples 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

Example 1: To fetch a file from a skill

The following get-skill-file example retrieves the SKILL.md file from the aws-serverless skill.

aws agent-toolkit get-skill-file --skill-name aws-serverless --file-path SKILL.mdIdentify
Its output
# AWS Serverless

Build, deploy, and manage serverless applications on AWS using Lambda,
API Gateway, Step Functions, EventBridge, and SAM/CDK.

## When to use this skill
...

For more information, see Getting started in the AWS Agent Toolkit User Guide.

Example 2: To fetch a specific version of a skill file

The following get-skill-file example retrieves a reference file from a specific version of the aws-serverless skill.

aws agent-toolkit get-skill-file --skill-name aws-serverless --file-path references/architecture.md --skill-version v1Identify
--skill-versionA skill version identifier: either the literal "latest" or a versioned tag like "v1", "v2".
Its output
# Architecture Reference

## Lambda Function Patterns
...

For more information, see Getting started in the AWS Agent Toolkit User Guide.

Options

2 in the AWS CLI reference
--skill-name, --file-path
--skill-versionA skill version identifier: either the literal "latest" or a versioned tag like "v1", "v2".