skills/localstack-lifecycle/SKILL.md
Manage LocalStack container lifecycle. Use when users need to start, stop, restart, or check status of LocalStack, configure LocalStack environment variables, or troubleshoot LocalStack container issues.
npx skillsauth add localstack/skills localstackInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manage the LocalStack container lifecycle including starting, stopping, and monitoring the local cloud environment.
# Basic start
localstack start -d
# Start with debug mode
DEBUG=1 localstack start -d
# Start with Pro features (requires auth token)
LOCALSTACK_AUTH_TOKEN=<token> localstack start -d
# Check if LocalStack is running
localstack status
# Check service health
curl http://localhost:4566/_localstack/health
# View running Docker container
docker ps | grep localstack
# Graceful stop
localstack stop
# Force stop via Docker
docker stop localstack-main
# Follow logs
localstack logs -f
# View last 100 lines
localstack logs --tail 100
Key environment variables for LocalStack:
| Variable | Description | Default |
|----------|-------------|---------|
| DEBUG | Enable debug logging | 0 |
| PERSISTENCE | Enable persistence across restarts | 0 |
| LOCALSTACK_AUTH_TOKEN | Auth token for Pro features | None |
| GATEWAY_LISTEN | Port configuration | 4566 |
LOCALSTACK_AUTH_TOKEN is set for Pro featuresdevops
Manage LocalStack state and snapshots. Use when users want to save, load, export, or import LocalStack state, work with Cloud Pods, create local snapshots, or enable persistence across restarts.
development
Analyze LocalStack logs and debug issues. Use when users need to view LocalStack logs, debug AWS API errors, troubleshoot Lambda functions, identify error patterns, or enable debug mode.
tools
Manage LocalStack Extensions. Use when users want to install, uninstall, list, or configure LocalStack extensions, or develop custom extensions to extend LocalStack functionality.
testing
Analyze and enforce IAM policies in LocalStack. Use when users want to enable IAM enforcement, detect permission violations, auto-generate least-privilege policies, or test IAM policies locally before deploying to AWS.