cloudthinker-ai/cloudskills/aws-api-gateway
Claude Code and agent skill by cloudthinker-ai/cloudskills
- community
Checking that the SKILL.md file is still in the repository.
Use when working with AWS API Gateway — analyzing REST or HTTP APIs, debugging latency or 5xx errors, auditing throttling and stage configuration, reviewing usage plans, or checking authorization setup. Covers API inventory, CloudWatch metrics, stage audits, and integration health for both REST (v1) and HTTP (v2) APIs.
Install
npx vskill@latest install cloudthinker-ai/cloudskills/aws-api-gatewaySKILL.md
AWS API Gateway Skill
Analyze AWS API Gateway REST and HTTP APIs with parallel execution and anti-hallucination guardrails.
Decision Matrix: REST vs HTTP API
| Need | Use | Why | |
|---|---|---|---|
| Usage plans / API keys | REST API | HTTP APIs don't support usage plans | |
| Request validation / WAF | REST API | Not available in HTTP API | |
| Execution logging / X-Ray | REST API | HTTP API only supports access logging | |
| Lowest cost | HTTP API | $1/M vs $3.50/M requests | |
| WebSocket support | HTTP API (v2) | Only v2 supports WebSocket protocol | |
| Auto-deploy | HTTP API | REST requires explicit deployment | |
| Simple proxy to Lambda | HTTP API | Simpler, cheaper, auto-deploy |
Phase 1 — Discovery
CRITICAL: Discover both REST and HTTP APIs in parallel. NEVER assume API names or IDs.
Phase 2 — Analysis
Run ALL independent operations in parallel using & and wait.
Latency & Error Analysis
Stage Configuration Audit
Throttling Review
Anti-Hallucination Rules
| Rule | Detail | |
|---|---|---|
| REST vs HTTP CLI | apigateway (REST/v1) vs apigatewayv2 (HTTP/WebSocket). NEVER mix. | |
| CloudWatch dimensions | REST uses ApiName; HTTP uses ApiId. Wrong dimension = empty results. | |
| Metric name casing | REST: 5XXError; HTTP: 5xx. Check API type before querying. | |
| Usage plans | REST API only. HTTP APIs use route-level throttling. | |
| Latency metrics | Latency = total (including APIGW overhead). IntegrationLatency = backend only. | |
| Stage requirement | Metrics require Stage dimension for per-stage accuracy. | |
| Deployment | REST: changes require new deployment. HTTP: auto-deploy by default. |
Counter-Rationalizations
| Shortcut | Counter | Why | |
|---|---|---|---|
| "I'll just check REST APIs" | Always discover both REST and HTTP APIs | HTTP APIs are increasingly common; missing them gives incomplete picture | |
| "Metrics aren't needed for health check" | Always check CloudWatch metrics | APIs can return 200 while silently failing on a subset of requests | |
| "Default stage config is fine" | Audit stage config explicitly | Defaults leave execution logging, tracing, and caching disabled | |
| "Usage plans aren't relevant" | Review if REST API has external consumers | Unthrottled APIs cause cascading failures under load | |
| "The API is responding, so it's healthy" | Check error rates AND latency percentiles | p50 may be fine while p99 is unacceptable |
Output Format
Common Pitfalls
- Endpoint types: REGIONAL, EDGE, or PRIVATE. Edge uses CloudFront automatically — don't confuse with standalone distributions.
- API key ≠ authentication: API keys track usage/throttling only. Use authorizers (Lambda, Cognito, IAM) for auth.
- CloudWatch statistics syntax: Use spaces not commas:
--statistics Average Maximum. - WebSocket APIs: Use
apigatewayv2withProtocolType=WEBSOCKET. Different metric dimensions. - Cross-platform date: macOS uses
-v-7d, Linux uses-d "7 days ago". Scripts handle both.
References
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/connections/aws-api-gateway/SKILL.md
Popularity
- 7-day trend score
- 0
Refreshed 23 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cloudthinker-ai/cloudskills/aws-api-gateway)