rds-db2

rds-db2 is a skill for Claude Code, Codex from aws/agent-toolkit-for-aws. It costs 149 tokens per session (6,709 once invoked), scanned B, original, Apache-2.0.

A guide for Amazon RDS for IBM Db2, AWS’s managed Db2 database service. It covers licensing, secure connections, migration from self-managed Db2 systems, backups, replication, authentication, auditing, and permissions.

In plain words
What is it for?
Use it to provision and connect to RDS Db2, migrate Db2 workloads, configure backups and failover, and troubleshoot authentication or security issues.
Why use it?
It brings together the AWS-specific setup and Db2-specific constraints that make provisioning, migration, and operations difficult.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to provision and connect to RDS Db2, migrate Db2 workloads, configure backups and failover, and troubleshoot authentication or security issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws/agent-toolkit-for-aws/rds-db2
About the project

Agent Toolkit for AWS is a collection of AWS-supported MCP servers, skills, plugins, commands, and hooks that help AI coding agents build, deploy, and manage applications on AWS. It is used by developers working with AWS services through agents such as Claude Code, Codex, Cursor, and Kiro. The catalogue entries are the toolkit's own agent extensions for AWS development and operations.

aws/agent-toolkit-for-aws · 3,609 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 aws/agent-toolkit-for-aws --skill rds-db2
Clone the repo
git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws

Made for: Claude Code, Codex.

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 rds-db2

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/rds-db2/github.svg)](https://agentmods.dev/skills/aws/agent-toolkit-for-aws/rds-db2)
Your own site
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/rds-db2"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/rds-db2/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.

agentmods 80×15 button for rds-db2

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/rds-db2"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/rds-db2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,709 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 24 Jun 2026
  • Snyk warn 24 Jun 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 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 Privilege Escalation · line 26
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Rogue Agent · line 83
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00149 $0.06709
Opus 5.5 $0.00060 $0.02684
Sonnet 5.5 $0.00030 $0.01342
Haiku 4.5 $0.00015 $0.00671

Measured 2mo ago against content hash 4fd64f6e1eae, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

rds-db2 scanned grade B with 2 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 2mo ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/create-db2-audit-role.sh, scripts/db2-driver.sh, scripts/db2-kerberos-test.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Client install: `bash`/`curl` access, run as root and as `db2inst1`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Client install: `bash`/`curl` access, run as root and as `db2inst1`
skills/specialized-skills/database-skills/rds-db2/SKILL.md · 243 lines

How it starts

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

Amazon RDS for Db2

Overview

Amazon RDS for Db2 is a managed IBM Db2 LUW service. RDS for Db2 is managed — you cannot SSH to the host, install agents, or run unfenced external stored procedures in C/COBOL. Java stored procedures work via sqlj.install_jar. This skill covers the operator lifecycle: provisioning with IBM licensing, client install and TLS connectivity, migration from self-managed Db2 on Linux/AIX/Windows/z/OS/AS400, S3 backup and restore, Multi-AZ and cross-region standby replicas, and RDSADMIN stored procedures that replace SYSCTRL/SYSMAINT authority.

It also covers six additional security and operations areas: customer-managed KMS keys (BYOK), self-managed Active Directory with Kerberos authentication, Db2 audit to S3, code page and collation selection (EBCDIC, CCSID), minimum IAM permissions, and EC2/RDS colocation for Multi-AZ latency and failover.

The AWS MCP server is recommended but not required; all operations are expressed in AWS CLI syntax and run with or without it.

Routes to the matching sub-skill reference. Load only the matching reference.

Common Tasks

Verify Dependencies

Before executing an RDS for Db2 workflow, confirm required tools exist. Do not run installers or API calls yet.

  • AWS CLI v2 for every RDS API call
  • AWS credentials via managed mechanism (IAM role, instance profile, ada credentials update) — not pasted credentials
  • Client install: bash/curl access, run as root and as db2inst1
  • Airgap install: internet-connected machine + target with VPC endpoints for S3, SSM, Secrets Manager
  • Mainframe migration: z/OS access, IBM ADB2GEN license, Python 3
  • BYOK / customer-managed KMS: openssl (to wrap imported key material) and jq (to parse get-parameters-for-import output)
  • Self-managed Active Directory + Kerberos: realmd, sssd, adcli, krb5-workstation on the client, plus a valid Kerberos ticket (kinit produces a TGT — check with klist)
  • Kerberos JDBC test: a JDK and the Db2 JDBC driver db2jcc4.jar v4.33+ (earlier driver versions lack securityMechanism=11 Kerberos support)

Read the full file on GitHub · 243 lines

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. 2mo ago First seen · 243 lines · 149 tokens per session scan B 4fd64f6e1eae

Subscribe to this mod's changes

rds-db2 is a skill published in the GitHub repository aws/agent-toolkit-for-aws (3,609 stars, last pushed today), licensed Apache-2.0. It adds 149 tokens to every session and 6,709 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

rds-db2 compared with skills from other repositories

rds-db2 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rds-db2aws/agent-toolkit-for-awsSkill3.6ktodayApache-2.0B149Claude Code, Codex
create-prprisma/ormSkill48ktodayApache-2.0A47Claude Code, Codex
schema-explorationlangchain-ai/deepagentsSkill32ktodayMITA57Claude Code, Codex
atlas-mssqlariga/atlasSkill8.9k4d agoApache-2.0A163Claude Code
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex
pentesting-mysqlxalgorix/xalgorixSkill1.5ktodayApache-2.0A65Claude Code, Codex
nornicdb-cypher-queriesorneryd/NornicDBSkill938todayMITA79Claude Code, Codex