awslabs/agent-plugins is a collection of plugins, skills, instructions, an MCP server, a hook, and a setting that guide AI coding agents in architecting, deploying, and operating software on Amazon Web Services. It is for developers using coding agents such as Claude Code, Codex, and Cursor with AWS projects. The catalogue entries are the repository's own agent workflows and supporting components.
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 awslabs/agent-plugins --skill dsqlgit clone --depth 1 https://github.com/awslabs/agent-pluginsWrote 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/awslabs/agent-plugins/dsql)<a href="https://agentmods.dev/skills/awslabs/agent-plugins/dsql"><img src="https://agentmods.dev/badge/skills/awslabs/agent-plugins/dsql/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/awslabs/agent-plugins/dsql"><img src="https://agentmods.dev/badge/skills/awslabs/agent-plugins/dsql.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 6 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Prompt Injection · line 21 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 80 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 42 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 74 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 88 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 186 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00246 | $0.05561 |
| Opus 5.5 | $0.00098 | $0.02224 |
| Sonnet 5.5 | $0.00049 | $0.01112 |
| Haiku 4.5 | $0.00025 | $0.00556 |
Grade A, and why
dsql 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.
How it starts
The opening of the file, as written. The whole thing — 300 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Amazon Aurora DSQL Skill
Aurora DSQL is a serverless, PostgreSQL-compatible distributed SQL database. This skill covers direct query execution via MCP tools, schema management, migrations, multi-tenant isolation, IAM auth, and bulk data loading via aurora-dsql-loader.
Reference Files
Load these files as needed for detailed guidance:
Core:
| Reference | When to Load | Contains |
|---|---|---|
| development-guide.md | ALWAYS before schema changes or DB operations | Best practices, DDL rules, transaction limits, foreign key constraints |
| foreign-keys.md | MUST load for foreign key operations or migrations | FK syntax, actions, validation, tenant keys |
| language.md | MUST load for language-specific choices | Driver selection, DSQL Connectors, connection code |
| access-control.md | MUST load for roles, grants, or sensitive data | Scoped role setup, IAM-to-database role mapping |
| troubleshooting.md | SHOULD load for errors or unexpected behavior | OCC and 23503, FK, connections, cluster state |
| limits-and-error-codes.md | SHOULD load before sizing batches, keys or indexes, or on 54000/0A000/54011 |
Every limit, rejection and quota with SQLSTATE and exact message |
| dsql-examples.md | Load for implementation examples | Multi-tenant access, batch operations, identity and sequences, connection pooling |
| onboarding.md | User requests "Get started with DSQL" | Interactive step-by-step guide |
| occ-retry-patterns.md | MUST load for OCC retry code or conflict mitigation | Connectors, 40001 retry, non-retryable 23503, FK read conflicts, idempotent design |
What ships with it
60 files 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.
- mcp/mcp-setup.md 6.7 KB
- mcp/mcp-tools.md 2.0 KB
- mcp/platforms/claude-code.md 3.6 KB
- mcp/platforms/codex.md 1.6 KB
- mcp/platforms/gemini.md 2.1 KB
- mcp/platforms/kiro.md 2.8 KB
- mcp/tools/database-tools.md 4.6 KB
- mcp/tools/documentation-tools.md 1.3 KB
- mcp/tools/input-validation.md 3.3 KB
- mcp/tools/safe_query.py 10 KB runs code
- mcp/tools/workflow-patterns.md 3.1 KB
- references/access-control.md 5.0 KB
- references/auth/authentication-guide.md 4.6 KB
- references/auth/connectivity-tools.md 8.7 KB
- references/auth/scaling-guide.md 3.9 KB
- references/data-loading.md 6.0 KB
- references/ddl-migrations/batched-migration.md 2.5 KB
- references/ddl-migrations/column-operations.md 5.2 KB
- references/ddl-migrations/constraint-operations.md 6.7 KB
- references/ddl-migrations/overview.md 4.8 KB
- references/development-guide.md 9.6 KB
- references/dsql-examples.md 1.5 KB
- references/dsql-lint.md 11 KB
- references/examples/connection.md 2.5 KB
- references/examples/data-operations.md 2.9 KB
- references/examples/migrations.md 1.6 KB
- references/examples/patterns.md 5.5 KB
- references/examples/schema.md 1.6 KB
- references/foreign-keys.md 6.0 KB
- references/language.md 8.6 KB
- references/limits-and-error-codes.md 19 KB
- references/mysql-migrations/ddl-auto-increment.md 4.3 KB
- references/mysql-migrations/ddl-batching.md 1.0 KB
- references/mysql-migrations/ddl-column-changes.md 1.3 KB
- references/mysql-migrations/ddl-constraints.md 782 B
- references/mysql-migrations/ddl-operations.md 1.5 KB
- references/mysql-migrations/ddl-structural.md 3.7 KB
- references/mysql-migrations/ddl-type-alternatives.md 4.5 KB
- references/mysql-migrations/full-example.md 7.3 KB
- references/mysql-migrations/type-mapping.md 14 KB
- references/occ-retry-patterns.md 9.6 KB
- references/onboarding.md 14 KB
- references/orm-guides/overview.md 11 KB
- references/pg-migrations/index-conversion.md 16 KB
- references/pg-migrations/multi-region.md 2.9 KB
- references/pg-migrations/schema-objects.md 15 KB
- references/pg-migrations/type-mapping.md 5.3 KB
- references/query-plan/catalog-queries.md 8.0 KB
- references/query-plan/guc-experiments.md 7.5 KB
- references/query-plan/plan-interpretation.md 15 KB
- references/query-plan/query-rewrites-dsql-specific.md 900 B
- references/query-plan/query-rewrites-generic.md 1.9 KB
- references/query-plan/query-rewrites/cte-late-materialization.md 1.4 KB
- references/query-plan/query-rewrites/flatten-union-all.md 946 B
- references/query-plan/query-rewrites/left-join-to-inner.md 794 B
- references/query-plan/query-rewrites/not-in-to-not-exists.md 1.4 KB
- references/query-plan/query-rewrites/or-to-in.md 889 B
- references/query-plan/query-rewrites/propagate-filter.md 1.0 KB
- references/query-plan/query-rewrites/push-computation-to-constant.md 1.0 KB
- references/query-plan/query-rewrites/push-group-by-into-subquery.md 1.6 KB
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.
- 7d ago Changed · +17 tokens per session 7a53b87c2445
- 14d ago Changed 1772cfe47b11
- 1mo ago Changed 82f8e2a0e514
- 1mo ago Changed · +2 tokens per session c93493e9eee2
- 1mo ago First seen · 300 lines · 227 tokens per session scan A bc2cf436f8da
dsql is a skill published in the GitHub repository awslabs/agent-plugins (921 stars, last pushed yesterday), licensed Apache-2.0. It adds 246 tokens to every session and 5,561 once invoked, about $0.0010 per session on Opus 5.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.
Other skills, from other repositories
pgvector-search
(Aspirational) Production hybrid search with PGVector + BM25 using Reciprocal Rank Fusion, metadata filtering, and performance optimization for semantic retrieval.
amazon aurora dsql
Deprecated compatibility redirect for Aurora DSQL guidance. Use when a request concerns DSQL, Aurora DSQL, distributed SQL, DSQL schemas, migrations, queries, authentication, performance, or application development.
azure-resource-manager-postgresql-dotnet
Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "PostgreSQL", "PostgreSqlFlexibleServer", "PostgreSQL Flexible Server", "Azure Database for…
azure-postgres-ts
Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package. Use for PostgreSQL queries, connection pooling, transactions, and Microsoft Entra ID (passwordless) authentication. Triggers: "PostgreSQL", "postgres", "pg client", "node-postgres", "Azure PostgreSQL…
sql-optimizer
Analyzes SQL queries for missing indexes, N+1 patterns, suboptimal joins, and full table scans. Interprets EXPLAIN, detects anti-patterns, rewrites queries. Triggers on: "optimize this query", "slow query", "add indexes", "explain plan", "N+1 query", "why is this query slow".
database-patterns
Database design and migration patterns for Alembic migrations, schema design (SQL/NoSQL), and database versioning. Use when creating migrations, designing schemas, normalizing data, managing database versions, or handling schema drift.