lambda
Skill by itsmostafa
Lambda is an AWS Lambda reference skill for event-driven serverless functions. It gives an assistant CLI and boto3 patterns for creating functions, adding triggers, and debugging invocations. It is aimed at developers working on AWS Lambda.
Install lambda
Built from the published package, never by AI.
git clone --depth 1 https://github.com/itsmostafa/aws-agent-skills /tmp/aws-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/aws-agent-skills/skills/lambda ~/.claude/skills/lambdaRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/itsmostafa/aws-agent-skills /tmp/aws-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/aws-agent-skills/skills/lambda ~/.gemini/antigravity-cli/skills/lambdaAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The lambda skill is a reference guide for AWS Lambda, the service that runs code without provisioning servers. It covers core concepts such as functions, synchronous, asynchronous and poll-based invocation types, execution environments, and layers. It includes AWS CLI and boto3 examples for creating functions, adding S3 and SQS triggers, setting environment variables, publishing and attaching layers, and invoking functions.
The skill also lists best practices for performance, security, cost and reliability. Its troubleshooting section covers timeout errors, out of memory errors, cold start latency, permission denied errors and VPC connectivity issues. The source says it is meant for developers who create functions, configure triggers, debug invocations, optimize cold starts, set up event source mappings, or manage layers.
Written from the project's SKILL.md and checked against it.
What it can do
- Create functionsCreate and update a Python Lambda function with the AWS CLI or boto3.
- Add S3 triggerGrant S3 permission to invoke a Lambda function using add-permission.
- Add SQS event sourceCreate an event source mapping from an SQS queue with batch settings.
- Environment variablesSet function environment variables with update-function-configuration.
- LayersPublish a layer version and attach it to a function.
- Invoke functionsRun synchronous or asynchronous invocations and save the response.
- TroubleshootingDiagnose timeouts, memory errors, cold starts, access denied errors and VPC issues.
- Best practicesGuidance on memory sizing, IAM least privilege, ARM architecture and idempotent handlers.
What you need
- AWS CLI
- boto3 for Python code examples
- An IAM execution role for the function
Try asking
- Create a Python 3.12 Lambda function with a 30 second timeout and 256 MB memory.
- Add an SQS event source to my Lambda function with batch size 10.
- Help me debug a Lambda timeout and raise the timeout safely.
Good to know
- Layers: up to 5 per function.
- The source marks the aws lambda invoke-async command as deprecated.
- Examples use the python3.12 runtime and placeholder account IDs and ARNs.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/lambda/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
debugging.md9 KB -
deployment.md7 KB
Alternatives to lambda
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
lambda: common questions
What does the Lambda skill cover?
It covers Lambda core concepts, common CLI and boto3 patterns, a CLI command reference, best practices and troubleshooting steps. The source lists creating functions, triggers, invocations, cold starts, event source mappings and layers.
How can I reduce Lambda cold starts according to this skill?
The source suggests using Provisioned Concurrency, reducing package size, using layers for dependencies, and considering Graviton2 (ARM). It also says to initialize connections outside the handler.
Does the skill explain how to fix timeout errors?
Yes. It lists possible causes, such as a function running longer than its timeout, a network call to an unreachable resource, or VPC configuration issues. It shows the CLI commands to check and increase the timeout.
How do I install lambda?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is lambda free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is lambda safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to lambda?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
