Back to browse
GitHub Repository

Various Claude Skills created along the way

26 starsPython

Claude Skill to create DDB-backed endpoints in AWS

by jbdamask·Mar 19, 2026·1 point·0 comments

AI Analysis

●●SolidNiche GemBig Brain

One-command AWS CRUD endpoints inside Claude Code when you're already there.

Strengths
  • CloudFormation templates mean reproducible, version-controlled infrastructure.
  • Token-secured endpoints out of the box, no manual IAM policy wrangling.
  • Fits naturally into Claude Code workflow instead of context-switching to Console.
Weaknesses
  • Only useful if you're already using Claude Code, which limits adoption.
  • AWS Lambda cold starts still apply, no magic performance improvement.
Target Audience

Developers using Claude Code who need quick AWS backends

Similar To

AWS SAM · Serverless Framework · CDK

Post Description

Sometimes I just need a place to put stuff that's not local. Apps exist that it make it easy to create an endpoint but I figured it was easier and cheaper to just make a skill.

From the description: Create a token-secured REST API endpoint backed by AWS Lambda and DynamoDB with full CRUD and paginated list support. Deploys via CloudFormation. Use when user wants to quickly spin up an API endpoint, create a simple REST API on AWS, build a quick data store with an API, set up a Lambda+DynamoDB endpoint, or needs a fast way to log and retrieve structured data. Triggers on "create an endpoint", "quick API", "Lambda endpoint", "DynamoDB API", "CRUD endpoint", "log data to AWS".

Example use: Thariq's recent post on how the team uses Claude Skills has a section on logging skill use with a PreToolUse hook (https://x.com/trq212/status/2033949937936085378). His example code shows logging to a local file but for company-wide tracking, you'd want to log to a central place. I used my skill to stand up an endpoint for this and my ~/.claude/hooks/log-skill.sh POSTS to it:

skill=$(echo "$prompt" | awk '{print $1}' | sed 's|^/||') args=$(echo "$prompt" | sed 's|^/[^ ]||' | sed 's|^ ||')

# Build the JSON body body=$(jq -nc \ --arg skill_name "$skill" \ --arg invoked_by "$USER" \ --arg args "$args" \ --arg session_id "$session_id" \ '{skill_name: $skill_name, invoked_by: $invoked_by, args: $args, session_id: $session_id}')

# POST to the endpoint (fire-and-forget so we don't block the prompt) curl -sf -X POST "$ENDPOINT" \ -H "Content-Type: application/json" \ -H "x-api-token: ${SKILL_LOG_TOKEN}" \ -d "$body" \ >/dev/null 2>&1 &

Similar Projects

AI/ML●●Solid

Token Saving Tinyscreenshot Skill

4x token savings on screenshots with readable text at 800px grey.

Solve My ProblemBig Brain
franze
211mo ago