cloudthinker-ai/cloudskills/analyzing-dynamodb
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 Dynamodb — amazon DynamoDB table analysis, capacity mode evaluation, GSI/LSI usage, item access patterns, and cost optimization.
Install
npx vskill@latest install cloudthinker-ai/cloudskills/analyzing-dynamodbSKILL.md
The same SKILL.md was published earlier as cloudthinker-ai/cloudskills/analyzing-dynamodb.
DynamoDB Analysis Skill
Analyze and optimize DynamoDB tables with safe, read-only operations.
MANDATORY: Two-Phase Execution
You MUST follow this two-phase pattern. Skipping Phase 1 causes hallucinated table names and attribute errors.
Phase 1: Discovery (ALWAYS run first)
Phase 1 outputs:
- List of tables in the account/region
- Table schema with key attributes and billing mode
- Sample items to understand actual attribute names
Phase 2: Analysis (only after Phase 1)
Only reference tables, attributes, and indexes confirmed in Phase 1.
Shell Script Patterns
Helper Function
Anti-Hallucination Rules
- NEVER reference a table name without confirming it exists via
list-tables - NEVER reference attribute names without seeing them in
describe-tableor a sample scan - NEVER assume GSI/LSI names — always get them from
describe-table - NEVER guess capacity units — always read from table description or CloudWatch metrics
- NEVER assume billing mode — confirm on-demand vs provisioned from table description
Safety Rules
- READ-ONLY ONLY: Use only describe-table, list-tables, scan (with --max-items), query, get-item
- FORBIDDEN: create-table, delete-table, update-table, put-item, delete-item, batch-write-item without explicit user request
- ALWAYS add `--max-items` to scan operations — tables can have billions of items
- NEVER run full table scans on production without
--max-items - Use `--select COUNT` when you only need item counts, not full items
Common Operations
Table Health Overview
GSI/LSI Analysis
Capacity & Throttling Analysis
Access Pattern Analysis
Cost Estimation
Output Format
Present results as a structured report:
Target ≤50 lines of output. Use tables for multi-resource comparisons.
Counter-Rationalizations
| Shortcut | Counter | Why | |
|---|---|---|---|
| "I'll skip discovery and check known resources" | Always run Phase 1 discovery first | Resource names change, new resources appear — assumed names cause errors | |
| "The user only asked for a quick check" | Follow the full discovery → analysis flow | Quick checks miss critical issues; structured analysis catches silent failures | |
| "Default configuration is probably fine" | Audit configuration explicitly | Defaults often leave logging, security, and optimization features disabled | |
| "Metrics aren't needed for this" | Always check relevant metrics when available | API/CLI responses show current state; metrics reveal trends and intermittent issues | |
| "I don't have access to that" | Try the command and report the actual error | Assumed permission failures prevent useful investigation; actual errors are informative |
Common Pitfalls
- Scan vs Query: Scans read every item — always prefer Query with key conditions for production analysis
- Eventually consistent reads: Default reads are eventually consistent; specify
--consistent-readonly when needed - GSI eventual consistency: GSI data is always eventually consistent — do not rely on immediate GSI updates
- Capacity calculation: 1 RCU = 1 strongly consistent read/s (4KB) or 2 eventually consistent reads/s; 1 WCU = 1 write/s (1KB)
- Hot partitions: Adaptive capacity helps but does not eliminate hot key issues — check partition key distribution
- Item size limit: 400KB per item — check for items approaching this limit
- --max-items vs --limit:
--max-itemslimits CLI output (client-side);--limitlimits DynamoDB scan (server-side and costs less RCU)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/connections/analyzing-dynamodb/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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/analyzing-dynamodb)