dynamodb

dynamodb is a skill for Claude Code from itsmostafa/aws-agent-skills. It costs 39 tokens per session (2,480 once invoked), scanned A, original, MIT.

Guidance for using Amazon DynamoDB, a managed NoSQL database that stores data as key-value pairs or documents.

In plain words
What is it for?
Use it when designing tables, writing queries, configuring indexes, applying single-table design, or investigating performance problems.
Why use it?
It helps developers choose table keys, indexes, capacity settings, and data layouts for DynamoDB applications.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the aws-agent-skills plugin — 18 skills shipped together

Good fit Use it when designing tables, writing queries, configuring indexes, applying single-table design…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/itsmostafa/aws-agent-skills/dynamodb
About the project

AWS Agent Skills is a collection of local instructions that help coding agents reason about AWS cloud services and engineering tasks. It supports agents working with areas such as identity, compute, storage, serverless, databases, networking, and security. The catalogue contains 18 service-focused skills and one plugin for using these capabilities with coding agents.

itsmostafa/aws-agent-skills · 1,150 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 itsmostafa/aws-agent-skills --skill dynamodb
Clone the repo
git clone --depth 1 https://github.com/itsmostafa/aws-agent-skills

Made for: Claude Code.

Or install aws-agent-skills, the plugin that ships this one along with the rest of its 18 skills.

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 dynamodb

README.md
[![agentmods](https://agentmods.dev/badge/skills/itsmostafa/aws-agent-skills/dynamodb.svg)](https://agentmods.dev/skills/itsmostafa/aws-agent-skills/dynamodb)
Your own site
<a href="https://agentmods.dev/skills/itsmostafa/aws-agent-skills/dynamodb"><img src="https://agentmods.dev/badge/skills/itsmostafa/aws-agent-skills/dynamodb.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,480 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.
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.00039 $0.02480
Opus 5 $0.00019 $0.01240
Sonnet 5 $0.00008 $0.00496
Haiku 4.5 $0.00004 $0.00248

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

Security

Grade A, and why

dynamodb 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 7d 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/dynamodb/SKILL.md · 383 lines

How it starts

The opening of the file, as written. The whole thing — 383 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AWS DynamoDB

Amazon DynamoDB is a fully managed NoSQL database service providing fast, predictable performance at any scale. It supports key-value and document data structures.

Table of Contents

Core Concepts

Keys

Key Type Description
Partition Key (PK) Required. Determines data distribution
Sort Key (SK) Optional. Enables range queries within partition
Composite Key PK + SK combination

Secondary Indexes

Index Type Description
GSI (Global Secondary Index) Different PK/SK, separate throughput, eventually consistent
LSI (Local Secondary Index) Same PK, different SK, shares table throughput, strongly consistent option

Capacity Modes

Mode Use Case
On-Demand Unpredictable traffic, pay-per-request
Provisioned Predictable traffic, lower cost, can use auto-scaling

Common Patterns

Create a Table

AWS CLI:

aws dynamodb create-table \
  --table-name Users \
  --attribute-definitions \
    AttributeName=PK,AttributeType=S \
    AttributeName=SK,AttributeType=S \
  --key-schema \
    AttributeName=PK,KeyType=HASH \
    AttributeName=SK,KeyType=RANGE \
  --billing-mode PAY_PER_REQUEST

boto3:

import boto3

dynamodb = boto3.resource('dynamodb')

table = dynamodb.create_table(
    TableName='Users',
    KeySchema=[
        {'AttributeName': 'PK', 'KeyType': 'HASH'},
        {'AttributeName': 'SK', 'KeyType': 'RANGE'}
    ],
    AttributeDefinitions=[
        {'AttributeName': 'PK', 'AttributeType': 'S'},
        {'AttributeName': 'SK', 'AttributeType': 'S'}
    ],
    BillingMode='PAY_PER_REQUEST'
)

table.wait_until_exists()

Basic CRUD Operations

Read the full file on GitHub · 383 lines

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. 7d ago First seen · 383 lines · 39 tokens per session scan A 0a5eecb00ecf

Subscribe to this mod's changes

dynamodb is a skill published in the GitHub repository itsmostafa/aws-agent-skills (1,150 stars, last pushed 6d ago), licensed MIT. It adds 39 tokens to every session and 2,480 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

aws-essentials

Use when standing up the core AWS surface a small product needs: hardening a fresh account, a private S3 bucket, encrypted RDS Postgres, ECS Fargate vs EC2, CloudFront + OAC, or scoping an IAM policy to least privilege. NOT the CI pipeline that ships the container (that is deployment), NOT app-code access-control…

ericrisco/rsc-harness · 89 tokens

dynamodb

Use when modeling or operating a DynamoDB table: deriving partition/sort keys from access patterns, single-table vs table-per-entity, adding a GSI/LSI, on-demand vs provisioned capacity, or diagnosing hot-partition throttling. NOT relational schema/SQL/EXPLAIN (that is postgresdb), NOT aggregation-pipeline document…

ericrisco/rsc-harness · 82 tokens

aws-rds

Provision and manage RDS databases. Configure backups, replication, and security. Use when deploying managed relational databases on AWS.

BagelHole/DevOps-Security-Agent-Skills · 28 tokens

llm-caching

Implement multi-layer LLM caching with exact match, semantic similarity, and provider-side prompt caching. Reduce API costs by 30–70%, cut latency, and improve throughput using Redis, GPTCache, and provider caching APIs.

BagelHole/DevOps-Security-Agent-Skills · 50 tokens

firebase-app-platform

Build and operate apps on Firebase using Auth, Firestore, Cloud Functions, and Hosting. Use when building mobile/web backends with managed services, real-time data sync, or serverless APIs.

BagelHole/DevOps-Security-Agent-Skills · 43 tokens

gcp-cloud-sql

Provision Cloud SQL and Spanner databases. Configure high availability, backups, and security. Use when deploying managed databases on GCP.

BagelHole/DevOps-Security-Agent-Skills · 32 tokens