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.