debugging-lambda-timeouts

debugging-lambda-timeouts is a skill for Claude Code, Codex from aws/agent-toolkit-for-aws. It costs 62 tokens per session (365 once invoked), scanned A, original, Apache-2.0.

A troubleshooting guide for AWS Lambda functions that exceed their allowed runtime and stop with a timeout. It examines settings, logs, metrics, networking, startup delays, memory, code, and services the function calls.

In plain words
What is it for?
Use it to investigate timeout patterns, review CloudWatch evidence and function configuration, inspect timeout-prone code when available, and produce prioritized fixes.
Why use it?
It replaces guesswork with a structured search for causes such as slow external services, database connections, cold starts, insufficient memory, or inefficient code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate timeout patterns, review CloudWatch evidence and function configuration, inspect timeout-prone code when available, and produce prioritized fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws/agent-toolkit-for-aws/debugging-lambda-timeouts
About the project

Agent Toolkit for AWS is a collection of AWS-supported MCP servers, skills, plugins, commands, and hooks that help AI coding agents build, deploy, and manage applications on AWS. It is used by developers working with AWS services through agents such as Claude Code, Codex, Cursor, and Kiro. The catalogue entries are the toolkit's own agent extensions for AWS development and operations.

aws/agent-toolkit-for-aws · 3,609 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aws/agent-toolkit-for-aws --skill debugging-lambda-timeouts
Clone the repo
git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for debugging-lambda-timeouts

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/debugging-lambda-timeouts/github.svg)](https://agentmods.dev/skills/aws/agent-toolkit-for-aws/debugging-lambda-timeouts)
Your own site
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/debugging-lambda-timeouts"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/debugging-lambda-timeouts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for debugging-lambda-timeouts

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/debugging-lambda-timeouts"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/debugging-lambda-timeouts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 365 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 20 Nov 2026
  • Snyk warn 20 Nov 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.00365
Opus 5.5 $0.00025 $0.00146
Sonnet 5.5 $0.00012 $0.00073
Haiku 4.5 $0.00006 $0.00036

Measured 10d ago against content hash bc23e04c65d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debugging-lambda-timeouts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/specialized-skills/serverless-skills/debugging-lambda-timeouts/SKILL.md · 48 lines

What it actually says

Debugging Lambda Timeouts

Overview

Domain expertise for systematically investigating AWS Lambda function timeout failures by analyzing function configuration, CloudWatch logs, metrics, dependencies, cold start patterns, and code. Identifies common causes such as insufficient timeout settings, external service delays, database connection issues, memory constraints, and inefficient code patterns, then provides prioritized recommendations.

Debug a Lambda timeout

To investigate and resolve Lambda timeout issues, follow the procedure exactly. See Lambda timeout debugging procedure.

The procedure collects function configuration, CloudWatch metrics and logs, dependency analysis, and cold start patterns. If Lambda code is provided, it also reviews the code for timeout-prone patterns. Results are compiled into a structured debugging report with prioritized recommendations.

Troubleshooting

Function not found

Verify the function name and region. Use aws lambda list-functions --region <region> to list available functions.

No logs available

The function may not have been invoked recently or logging may be disabled. Check the function's log group configuration and invocation metrics.

Access denied errors

Verify AWS credentials have permissions for Lambda, CloudWatch Logs, and CloudWatch Metrics. See the full procedure for details.

Log query time range issues

If CloudWatch Logs Insights queries fail with time range errors, reduce the analysis window or check log group retention settings. See the full procedure for details.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed bc23e04c65d3
  2. 2mo ago First seen · 48 lines · 62 tokens per session scan A 52a1a0bb979d

Subscribe to this mod's changes

debugging-lambda-timeouts is a skill published in the GitHub repository aws/agent-toolkit-for-aws (3,609 stars, last pushed today), licensed Apache-2.0. It adds 62 tokens to every session and 365 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

debugging-lambda-timeouts compared with skills from other repositories

debugging-lambda-timeouts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
debugging-lambda-timeoutsaws/agent-toolkit-for-awsSkill3.6ktodayApache-2.0A62Claude Code, Codex
application-integration-troubleshootinggoogle/skillsSkill25ktodayApache-2.0A105Claude Code, Codex
pathways-workloadgoogle/skillsSkill25ktodayApache-2.0A178Claude Code, Codex
compute-mig-autoscaling-troubleshootinggoogle/skillsSkill25ktodayApache-2.0A150Claude Code, Codex
gke-workload-troubleshootinggoogle/skillsSkill25ktodayApache-2.0A69Claude Code, Codex
gke-workload-scaling-troubleshootinggoogle/skillsSkill25ktodayApache-2.0A170Claude Code, Codex
api-gateway-troubleshootinggoogle/skillsSkill25ktodayApache-2.0A196Claude Code, Codex