Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
- Added requirements section specifying AWS CLI installation, credentials, and environment variables needed. - Documented new mandatory environment variables: AWS_REGION and ALLOWED_INSTANCES. - Provided example values for environment variables. - Clarified instructions on environment setup for correct skill usage.
What This Skill Does
Controls AWS Lightsail instances through structured JSON actions. Supports listing, starting, stopping, and rebooting instances. Instance access is restricted to a configured allowlist.
Restricts instance operations to a safe allowlist, preventing accidental actions on unintended resources.
When to use it
- Reboot a stuck Lightsail instance without opening the AWS console
- Start a stopped dev server before a demo
- Shut down instances at end of day to reduce costs
- List all running instances to audit current state
- Automate instance lifecycle from a chat interface
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: 'Reboot the Ubuntu-1 instance'
- 1Validates 'Ubuntu-1' is in the ALLOWED_INSTANCES list
- 2Constructs JSON payload with action 'reboot' and instance 'Ubuntu-1'
- 3Sends structured request to the AWS CLI skill
- 4Receives confirmation of reboot initiation
Ubuntu-1 instance reboot initiated successfully
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.