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.
npx skills add hamzabellouch/agent-skills --skill dynamodb-single-table-designgit clone --depth 1 https://github.com/hamzabellouch/agent-skillsWrote 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.
[](https://agentmods.dev/skills/hamzabellouch/agent-skills/dynamodb-single-table-design)<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/dynamodb-single-table-design"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/dynamodb-single-table-design/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/dynamodb-single-table-design"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/dynamodb-single-table-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.01520 |
| Opus 5 | $0.00028 | $0.00760 |
| Sonnet 5 | $0.00011 | $0.00304 |
| Haiku 4.5 | $0.00006 | $0.00152 |
Grade A, and why
dynamodb-single-table-design 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DynamoDB Single-Table Design Architecture Guide
Comprehensive reference for mastering Amazon DynamoDB Single-Table Design, access pattern modeling, secondary index overloading, sparse indexes, and high-concurrency transactional operations.
1. Principles of Single-Table Design
Why Single-Table Design?
In DynamoDB, microsecond-latency scale is achieved by avoiding runtime joins. Instead of creating separate tables for each entity type, a Single-Table Design pre-joins heterogenous entities into a single physical table using generic Partition Keys (PK) and Sort Keys (SK).
+-------------------+--------------------+------------------------+------------------+
| PK | SK | Type | Data Payload |
+-------------------+--------------------+------------------------+------------------+
| USER#usr_1001 | METADATA | UserProfile | { name, email } |
| USER#usr_1001 | ORDER#2026-07-01 | Order | { total: 49.99 } |
| USER#usr_1001 | ORDER#2026-07-18 | Order | { total: 89.00 } |
| ORDER#ord_9901 | METADATA | Order | { status: SHIPPED|
+-------------------+--------------------+------------------------+------------------+
Access Pattern Driven Design Workflow
- List all access patterns (Reads, Writes, Aggregations) before defining keys.
- Design Primary Partition Keys (
PK) to group related items into logical item collections. - Design Primary Sort Keys (
SK) to enable range filtering (begins_with,BETWEEN). - Add Global Secondary Indexes (GSIs) for alternate access vectors.
2. Primary Key & Composite Sort Key Conventions
Common Key Formatting Conventions
- User Entity:
PK: USER#<userId>,SK: METADATA - User Orders:
PK: USER#<userId>,SK: ORDER#<timestamp>#<orderId> - Order Details:
PK: ORDER#<orderId>,SK: METADATA - Order Line Items:
PK: ORDER#<orderId>,SK: ITEM#<lineItemId>
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.
- 8d ago First seen · 140 lines · 57 tokens per session scan A a1aba62babdc
dynamodb-single-table-design is a skill published in the GitHub repository hamzabellouch/agent-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 1,520 once invoked, about $0.0003 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-09-03.
Other skills, from other repositories
deprecation-and-migration
Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset…
db-performance
PostgreSQL query performance — EXPLAIN ANALYZE, index design, pgstatstatements, slow query detection, connection pool tuning.
backup-restore
PostgreSQL backup and restore with pgBackRest — full/incremental/WAL, PITR, K8s CronJob scheduling, and restore verification.
redis-operations
Redis operational runbooks — memory management, eviction policy, persistence config, Sentinel/Cluster, K8s-hosted Redis ops.
database-modeling
Design relational schemas, write efficient queries, plan indexes, and implement safe migrations.
migration-safety
Safe database migrations in production — expand-and-contract, lock-safe DDL, timing estimation, rollback SQL.