# Awscli

> Manage AWS Lightsail and EC2 instances using AWS CLI

- Skill: `modbender/awscli` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add modbender/awscli`
- Raw SKILL.md: https://api.skillmd.com/api/skills/modbender/awscli/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: modbender (https://skillmd.com/u/modbender)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/modbender/awscli

---


# AWS CLI Control Skill

This skill manages AWS Lightsail instances.

## Requirements

- AWS CLI installed on host
- AWS credentials configured (IAM user or role)
- Environment variables:

  - AWS_REGION
  - ALLOWED_INSTANCES

  ## Environment Variables

This skill requires the following environment variables:

- AWS_REGION (e.g., ap-southeast-1)
- ALLOWED_INSTANCES (comma-separated list)

Example:

AWS_REGION=ap-southeast-1
ALLOWED_INSTANCES=Ubuntu,Binami

## Available Operations

### 1. List Instances

action: "list"

Example:
{
"action": "list"
}

---

### 2. Reboot Instance

action: "reboot"  
instance: "<instance-name>"

Example:
{
"action": "reboot",
"instance": "Ubuntu-1"
}

---

### 3. Start Instance

action: "start"  
instance: "<instance-name>"

---

### 4. Stop Instance

action: "stop"  
instance: "<instance-name>"

---

## Notes

- Only use structured JSON input.
- Do NOT generate AWS CLI commands.
- Instance names must exactly match existing Lightsail instances.

