- Home
- Skills
- Localstack
- Skills
- Localstack Extensions
localstack-extensions_skill
6
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill localstack/skills --skill localstack-extensions- SKILL.md2.9 KB
Overview
This skill manages LocalStack extensions to install, uninstall, list, configure, and develop custom extensions that extend LocalStack functionality. It helps discover community extensions, configure runtime settings, and scaffold basic extension code for local cloud development. Use it to integrate tools like MailHog or to add custom HTTP endpoints and hooks into the LocalStack lifecycle.
How this skill works
The skill interacts with the LocalStack extensions command set and the LocalStack extensions API to perform operations: listing installed extensions, installing from PyPI or Git, uninstalling, and toggling enablement. It also guides creating an extension package with required hook methods and HTTP routes, and shows how to configure extensions via environment variables. For troubleshooting, it points to LocalStack logs and compatibility checks.
When to use it
- Add third-party integrations or developer tooling to a local cloud environment
- Install or remove extensions from a LocalStack instance
- Configure extension-specific settings via environment variables
- Develop and test a custom LocalStack extension locally
- Discover compatible community extensions before adding them
Best practices
- Prefer installing released extensions from PyPI or the official extensions registry when available
- Install local extensions in editable mode for iterative development (localstack extensions install -e ./my-extension)
- Set extension-specific environment variables using the EXTENSION_<NAME>_<SETTING> pattern
- Verify extension compatibility with your LocalStack version before installing
- Check localstack logs for load-time errors and disable conflicting extensions
Example use cases
- Install MailHog extension to capture SES emails and inspect them via a web UI
- Add a custom extension that exposes internal debug endpoints for integration tests
- Install a version-pinned extension from PyPI to ensure reproducible local environments
- Install an extension from a Git repository to evaluate a community contribution or fork
- Create an extension that registers lifecycle hooks to initialize test data when LocalStack starts
FAQ
Set the extension-specific enabled environment variable to 0, for example EXTENSION_MAILHOG_ENABLED=0 localstack start -d.
How can I install an extension from a Git repository?
Use the install command with a git URL, for example: localstack extensions install "git+https://github.com/org/extension-repo.git".