agentsclimarketplace

Aws gpu agent

Skill AlexBodner/aws-gpu-agent/skills/aws-gpu-agent

Launch AWS EC2 GPU instances and run AI/LLM workloads on them over SSH. Use when the user wants to create a GPU EC2 instance, run training or inference on AWS GPUs, push a local repo to an instance, stream remote logs, retrieve model outputs, or manage EC2 lifecycle actions such as start, stop, and terminate.From its SKILL.md

Install
npx -y skills add AlexBodner/aws-gpu-agent --skill aws-gpu-agent

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.5 KB, as published. Nobody here has run it

AWS GPU EC2 Agent

Create and drive an AWS EC2 GPU instance from the terminal. All actions go through the bundled aws-gpu.sh, an AWS CLI wrapper that launches a Deep Learning AMI GPU instance, runs commands via SSH, and keeps long jobs in tmux.

Call the script as bash "$CLAUDE_PLUGIN_ROOT/aws-gpu.sh" <cmd>.

Before anything: check prerequisites

These are the user's one-time setup tasks; do not attempt interactive auth for them unless they explicitly ask.

aws sts get-caller-identity
aws configure get region

If credentials are missing, tell the user to run aws configure or aws sso login. If no region is set, use aws configure set region us-east-1 or pass REGION=... on every command.

Also remind the user that GPU instance families often require quota increases in Service Quotas, for example Running On-Demand G and VT instances for G5/L4 workloads or P-family quota for A100/H100-style training.

Configuration

Set env vars per invocation:

NAME (aws-gpu), REGION (AWS region), AWS_PROFILE, INSTANCE_TYPE (g5.xlarge), AMI_ID (override), AMI_SSM_PARAMETER (latest PyTorch DLAMI parameter), KEY_NAME, KEY_FILE, SECURITY_GROUP_NAME, VOLUME_SIZE (200), SSH_USER (ubuntu), SPOT (0; set 1 for Spot).

Useful instance types:

  • g5.xlarge / g5.2xlarge: NVIDIA A10G, good default for inference and small fine-tunes.
  • g6.xlarge / g6.2xlarge: NVIDIA L4 where available.
  • p4d.24xlarge: 8x A100 for distributed training.
  • p5.48xlarge: 8x H100 for large training, high quota and cost.

Typical flow

S="$CLAUDE_PLUGIN_ROOT/aws-gpu.sh"
NAME=llm REGION=us-east-1 INSTANCE_TYPE=g5.xlarge bash "$S" create
NAME=llm REGION=us-east-1 bash "$S" status
NAME=llm REGION=us-east-1 bash "$S" push ~/path/to/repo
NAME=llm REGION=us-east-1 bash "$S" ssh "cd repo && pip install -r requirements.txt"
NAME=llm REGION=us-east-1 bash "$S" run "cd repo && python train.py" train
NAME=llm REGION=us-east-1 bash "$S" logs train.log
NAME=llm REGION=us-east-1 bash "$S" pull repo/outputs ./outputs
NAME=llm REGION=us-east-1 bash "$S" stop

Use the same NAME and REGION for every command targeting a given instance.

Commands

create · push <dir> [dest] · ssh "<cmd>" · shell · run "<cmd>" [session] · wait [session] · logs <remote-file> · status · pull <remote> [local] · put <local> <remote> · list · start · stop · delete.

Operational notes

  • Use run for long training, inference servers, evaluations, downloads, or installs that should survive disconnects. Poll with status, logs, or wait.
  • The default AMI is resolved through AWS public SSM parameters, so it follows AWS's latest PyTorch Deep Learning AMI instead of hardcoding AMI IDs.
  • push uses git archive HEAD for git repos, so only committed files are uploaded and private GitHub credentials are not needed on the instance.
  • The wrapper creates an EC2 key pair and a security group that allows SSH from the user's current public IP. If a key pair already exists, KEY_FILE must point to the matching private key.
  • EC2 instances bill while running. Always remind the user to stop when idle or delete when finished. Confirm before delete unless clearly authorized.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.