AWS API Gateway Assistant
A reference skill for creating, integrating, securing, deploying, and debugging REST/HTTP APIs on AWS API Gateway with ready-to-run CLI examples.
Web & APIIntermediate★ 1,142⑂ 444AI score 8/10Last updated: Aug 10, 2026
What it does
A practical reference Claude consults whenever you work with Amazon API Gateway.
- API type selection: side-by-side table of HTTP API vs REST API vs WebSocket API with typical use cases.
- Core concepts: resources, methods, integration types (Lambda Proxy, Lambda Custom, HTTP Proxy, AWS Service, Mock), and stages explained concisely.
- Copy-paste CLI and SAM examples:
aws apigatewayv2 create-api, the full REST API flow (resource → method → integration → deployment), a SAM template, and a Python Lambda handler. - CORS and JWT authorization: HTTP API
--cors-configuration, the REST API OPTIONS + MOCK pattern, and Cognito-backed JWT authorizer creation. - Best practices & troubleshooting: performance/security/reliability checklists plus causes and debug commands for 403, 502, 504, and CORS failures.
Who it's for
- Developers building serverless backends with Lambda + API Gateway
- Teams that prefer CLI/SAM over clicking through the console
- Anyone unsure whether HTTP API or REST API fits their case
- Operators who need to narrow down post-deploy 403/502/504 errors fast
Example uses
- "Expose my Python Lambda at GET /items via an HTTP API using SAM" → Claude generates a template based on the skill's SAM snippet.
- "Enable CORS so https://example.com can call this API" → it walks through
update-api --cors-configurationfor HTTP APIs, or the OPTIONS + MOCK integration commands for REST APIs. - "My deployed endpoint returns 502 Bad Gateway" → it checks the Lambda response shape (missing statusCode/body) first, then integration timeouts.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/itsmostafa/aws-agent-skills/HEAD/skills/api-gateway/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/api-gateway folder from the GitHub repo itsmostafa/aws-agent-skills into my ~/.claude/skills/api-gateway/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/itsmostafa/aws-agent-skills.git && mkdir -p ~/.claude/skills && cp -r aws-agent-skills/skills/api-gateway ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and move to a temporary folder, e.g.
cd ~/Downloads. - Clone the repository:
git clone https://github.com/itsmostafa/aws-agent-skills.git - Create the skills directory if needed:
mkdir -p ~/.claude/skills - Copy just this skill:
cp -r aws-agent-skills/skills/api-gateway ~/.claude/skills/ - Verify with
ls ~/.claude/skills/api-gateway— you should seeSKILL.md. - Restart Claude Code, then ask something like "create an HTTP API on API Gateway" to trigger the skill.
- To actually run the commands, install the AWS CLI and run
aws configurefor credentials and region. Replace the sample account ID (123456789012) and region with your own.
View source on GitHub ↗License: MIT