Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

api-gateway

Skill by itsmostafa

api-gateway is a skill that guides an AI assistant through AWS API Gateway for REST, HTTP and WebSocket APIs. It covers creating APIs, integrations, CORS, JWT authorization and troubleshooting. It is aimed at developers who build or debug API Gateway setups on AWS.

  • Score 89
  • 1.2k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install api-gateway

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/api-gateway ~/.claude/skills/api-gateway

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install api-gateway in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The api-gateway skill gives an AI assistant guidance for AWS API Gateway. It covers REST, HTTP and WebSocket APIs, and includes AWS CLI commands and a SAM template for creating an HTTP API with a Lambda function. It also shows how to create a REST API with a Lambda proxy integration, configure CORS, and add a JWT authorizer.

The file also covers stages and deployments, a list of CLI commands for apigatewayv2 and apigateway, best practices on throttling, caching and logging, and troubleshooting notes for 403, 502 and 504 errors. It is aimed at developers who build or debug API Gateway setups on AWS. The source lists its documentation as the AWS API Gateway Developer Guide.

Written from the project's SKILL.md and checked against it.

What it can do

  • Create HTTP API with LambdaCreates an HTTP API using the AWS CLI or a SAM template with a Lambda function.
  • Create REST API with Lambda proxyWalks through creating a REST API resource, method, Lambda integration and stage deployment.
  • Configure CORSShows how to set CORS on HTTP APIs and on REST API resources using OPTIONS and mock integrations.
  • JWT authorizationShows how to create a JWT authorizer on an HTTP API with an issuer and audience.
  • Lambda handler for API GatewayProvides a Python handler example that reads HTTP API events and returns a valid response.
  • CLI referenceLists common apigatewayv2 and apigateway commands for creating APIs, routes, stages and deployments.
  • TroubleshootingLists causes and debug steps for 403 Forbidden, 502 Bad Gateway, 504 Gateway Timeout and CORS errors.

What you need

  • AWS CLI
  • Python 3.12 runtime (SAM example)

Try asking

  • Create an HTTP API with a Lambda function for GET /items using SAM.
  • Set up a JWT authorizer on my HTTP API with a Cognito issuer.
  • Why am I getting a 504 Gateway Timeout from my REST API Lambda?

Good to know

  • Integration timeout is at most 29 seconds for REST APIs and 30 seconds for HTTP APIs.
  • Lambda backends for REST APIs are limited to a 29 second maximum in the source.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/api-gateway/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB
  • integration-patterns.md9 KB

Alternatives to api-gateway

All alternatives →
deploy-release-testvercel
94

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.

AAA Skill 144k
deepeval-tracingconfident-ai
94

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.

AAA Skill 20k
azure-container-registry-cligithub
94

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.

AAA Skill 42k
crabbox-appsopenclaw
94

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.

AAA Skill 395k
gke-batch-hpcgoogle
94

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.

AAA Skill 25k
gke-cost-analysisgoogle
94

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.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

api-gateway: common questions

Does api-gateway support WebSocket APIs?

The source says API Gateway supports REST APIs, HTTP APIs and WebSocket APIs. The core concepts table describes WebSocket APIs for bidirectional communication, but the examples focus on HTTP and REST APIs.

How does api-gateway help with 502 errors?

The troubleshooting section lists Lambda errors, integration timeouts and invalid response formats as causes. It shows the correct Lambda proxy response format with statusCode, headers and body.

Which CLI tools does api-gateway use?

The examples use the AWS CLI, with apigatewayv2 commands for HTTP APIs and apigateway commands for REST APIs. The source also links to the boto3 API Gateway reference.

How do I install api-gateway?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is api-gateway free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is api-gateway safe to use?

It scores 89 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 api-gateway?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

api-gateway Install

Add to stack

Loading.