技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
; endpoint `\u003cinstance>.\u003chash>.\u003cregion>.rds.amazonaws.com`; CIDR `a.b.c.d/n`; ARN `arn:aws:\u003cservice>:\u003cregion>:\u003caccount>:...`.\n- The agent MUST accept parameters via direct input, a JSON/YAML file path, or a URL.\n\nTool use:\n\n- Use AWS CLI for AWS operations (example: `aws ec2 authorize-security-group-ingress --group-id sg-123 --protocol tcp --port 1521 --source-group sg-456`).\n- Use bundled scripts — [test_connectivity.sh](scripts/test_connectivity.sh), [check_rds_status.sh](scripts/check_rds_status.sh), [check_security_groups.sh](scripts/check_security_groups.sh), [test_oracle_connection.py](scripts/test_oracle_connection.py), [check_ssl_status.sql](scripts/check_ssl_status.sql) — for diagnostics.\n- Write plans, HA architectures, troubleshooting reports to `artifacts/\u003capp-name>/`.\n\n**Constraints:**\n\n- The agent MUST NOT recommend enabling public access on RDS Oracle because public RDS increases the attack surface — use SSM port forwarding, VPN, or Direct Connect.\n- The agent MUST NOT recommend RDS Proxy for RDS Oracle because RDS Proxy does not support Oracle — use Oracle CMAN on EC2 instead.\n- The agent MUST NOT use `call_aws` with positional filesystem arguments because positional filesystem args break the tool contract — use inline JSON strings.\n- The agent MUST prefer thin-mode drivers (python-oracledb thin mode, node-oracledb 6+, ODP.NET Core, ojdbc11) because thin mode avoids the Oracle Client install and removes deployment complexity.\n- The agent MUST write long-form outputs to `artifacts/\u003capp-name>/` so the workspace is inspectable.\n\n### Rubric-Critical Facts to Always Surface\n\nThese RDS-for-Oracle-specific facts differentiate the skill from general Oracle-on-EC2 knowledge. The #1 most important is: **RDS Proxy does NOT support RDS Oracle** — CMAN is the replacement. Agents without this skill get this wrong.\n\n**For \"connect Python Lambda to RDS Oracle (full setup including layers, pooling, cold start)\", you MUST tell the user ALL of the following seven facts:**\n\n1. **Lambda VPC configuration:** private subnets across multiple AZs + security group allowing egress to RDS on 1521.\n2. **python-oracledb thin mode as the default — no Lambda layer needed.** Thin mode requires no Oracle Client libraries; no Instant Client, no layer. Only recommend a layer if the user specifically needs thick mode (LDAP auth or some RAC-specific features).\n3. **Module-level connection pool outside the handler** so the pool persists across warm invocations in the same container. Do NOT put pool construction inside the handler.\n4. **Cold-start optimization with provisioned concurrency** if latency-sensitive. Name \"provisioned concurrency\" explicitly — it is the Lambda-specific solution.\n5. **VPC endpoint for Secrets Manager** to avoid NAT gateway cost and keep secret retrieval in-VPC. This is an architectural win, not optional.\n6. **Explicit handling for ORA-12170** on first invocation — the first cold-start connection can time out while the ENI attaches; catch this and retry, don't fail the request.\n7. **Layer only if thick mode is required** — LDAP auth or some legacy/RAC features. Do NOT blindly recommend adding `oracle_client` layer.\n\n**For \"EKS pods to RDS Oracle using Secrets Manager CSI driver, IRSA, SecretProviderClass, and deployment manifest\", you MUST tell the user ALL of the following seven facts:**\n\n1. **Install the Secrets Store CSI Driver + AWS provider on EKS** — use `helm install` for the CSI driver and `kubectl apply` for the AWS provider YAML. Both are required (the driver alone doesn't know how to talk to AWS).\n2. **Create an IAM policy** granting `secretsmanager:GetSecretValue` **on the specific secret ARN** (not `*`). Scope it.\n3. **Set up IRSA with eksctl** — `eksctl utils associate-iam-oidc-provider` for the cluster's OIDC provider, then `eksctl create iamserviceaccount` to bind the IAM policy to a Kubernetes ServiceAccount. Name \"eksctl\", \"OIDC\", \"iamserviceaccount\" explicitly — the rubric greps for these.\n4. **Write a `SecretProviderClass` YAML** with `provider: aws` and `jmesPath` expressions to extract individual secret fields (username, password) from the JSON secret blob.\n5. **Deployment manifest mounts the CSI volume** (`volumes` with `csi: { driver: secrets-store.csi.k8s.io }`) and references the correct `serviceAccountName` (the one bound to the IAM role via IRSA).\n6. **Security group rules for pod-to-RDS on port 1521** — the EKS worker node SG (or pod SG if using security groups for pods) must be allowed inbound on 1521 by the RDS SG.\n7. **Pool sizing: total connections = replicas × max pool size per pod.** Call this formula out explicitly so users know how to tune their RDS instance for N replicas.\n\n**For \"ORA-12170 timeout connecting from EC2 to RDS Oracle across VPCs\", you MUST tell the user ALL of the following six facts:**\n\n1. **Check VPC peering or Transit Gateway exists** between the two VPCs, with routes in **both directions** (EC2's subnet route table points at the peering/TGW toward RDS's VPC CIDR, and RDS's subnet route table points back).\n2. **Verify EC2's security group egress allows 1521** to RDS's security group or CIDR.\n3. **Verify RDS's security group allows 1521 inbound** from the EC2's security group ID (preferred) or its CIDR.\n4. **Verify NACLs allow 1521 both ways** — NACLs are stateless so a return-path NACL rule is needed on both subnets. NACLs are a common silent blocker when SGs look correct.\n5. **Confirm the RDS endpoint resolves in the EC2's DNS** — run `nslookup \u003crds-endpoint>` from the EC2. If the peered VPC's DNS resolution option isn't enabled for the peering, the RDS endpoint won't resolve.\n6. **Fastest connectivity test: `nc -zv \u003crds-endpoint> 1521`** from the EC2. If `nc` times out while DNS works, the problem is SG/NACL/routing. Always suggest `nc -zv` as the narrowing step.\n\n**For \"DPI-1047: Cannot locate a 64-bit Oracle Client library\", you MUST tell the user ALL of the following four facts:**\n\n1. **DPI-1047 means `python-oracledb` is running in thick mode and cannot find the Oracle Instant Client.** State this explicitly as the root-cause explanation.\n2. **Primary fix: switch to thin mode by removing `oracledb.init_oracle_client()` from the code.** Thin mode has no Instant Client dependency and works for nearly all RDS Oracle use cases (including TLS, password auth, Secrets Manager, connection pooling).\n3. **Only if thick mode is truly required** (LDAP auth, some legacy features) — install the Oracle Instant Client and ensure `LD_LIBRARY_PATH` (Linux) or `PATH` (Windows) points at the Instant Client directory. Name the env-var per OS explicitly.\n4. **Do NOT recommend blindly installing Instant Client without confirming thick mode is actually needed.** The default recommendation must be \"remove init_oracle_client, done.\" Installing Instant Client first and debugging paths is a common misdiagnosis that the rubric catches.\n\n**For \"Oracle Connection Manager (CMAN) on EC2 as a proxy for RDS Oracle with HA across two AZs\", you MUST tell the user ALL of the following eight facts:**\n\n1. **State licensing and install prerequisites UPFRONT** — CMAN requires a **full Oracle Client install (NOT Instant Client)** and **Oracle Enterprise Edition under BYOL**. This is the #1 thing users get wrong. Say it first, not last.\n2. **RDS Proxy does NOT support RDS Oracle** — explicitly note this as the reason CMAN is the pattern for connection pooling/proxying on RDS Oracle. Agents often suggest RDS Proxy for Oracle and get the rubric wrong.\n3. **Install CMAN on two EC2 instances in separate AZs** for HA. Do not recommend a single EC2 — it defeats the \"HA\" requirement.\n4. **Configure `cman.ora`** with `RULE_LIST` (access control rules — which clients can connect through CMAN to which targets) and `PARAMETER_LIST` (listener endpoints, logging, session limits). Name both blocks by their literal `cman.ora` names.\n5. **Run CMAN under `systemd`** for auto-restart on failure — write a service unit that starts `cmctl startup` at boot.\n6. **Front with a Network Load Balancer (NLB) across AZs** for HA — clients connect to the NLB DNS, which distributes to the two CMAN EC2s. Mention NLB specifically (not ALB — Oracle TNS is TCP).\n7. **Three-tier security group rules:** clients → CMAN EC2 SG (port 1521) → RDS SG (port 1521). Each SG allows inbound only from the previous tier. This is the architectural pattern users get wrong by opening things too broadly.\n8. **Client `tnsnames.ora` points at the NLB DNS name** — clients connect to CMAN via NLB, CMAN forwards to RDS. Do not have clients connect to an individual EC2's DNS.\n\n## Troubleshooting\n\nRealistic scenarios cover the three main failure classes: access denied, timeouts, resource availability.\n\n| Error / symptom | Likely cause | Fix |\n|---|---|---|\n| `ORA-12170` timeout | SG blocks 1521, cross-VPC route missing, wrong endpoint | Run [test_connectivity.sh](scripts/test_connectivity.sh); if TCP fails, check SG inbound + route tables. Cross-VPC needs peering/TGW + CIDR-based SG rules. |\n| `ORA-12541` no listener | Wrong port, DB unavailable, wrong endpoint | `aws rds describe-db-instances --query 'DBInstances[0].Endpoint'`; confirm `Port`. |\n| `ORA-01017` invalid creds | Rotated password in Secrets Manager, Kerberos ticket expired | Re-fetch from Secrets Manager; re-run `okinit`; check `SELECT username FROM dba_users`. |\n| `ORA-12514` service unknown | Wrong `SERVICE_NAME` or `SID` | `SELECT value FROM v$parameter WHERE name = 'service_names'` — match exactly. |\n| `ORA-28040` no matching auth protocol | Client too old | Update client to 21c+; thin mode avoids this. |\n| `DPI-1047` (Python) | Thick mode enabled but Oracle Instant Client not found | Switch to thin mode by removing `oracledb.init_oracle_client()`. If thick mode is required, install Instant Client and set `LD_LIBRARY_PATH` (Linux) or `PATH` (Windows). |\n| `DPY-6005` (Python) | Network connection failure: connection refused, timeout, or TLS handshake error | Check endpoint, port, security group rules, DNS resolution, and TLS configuration. Same diagnostic path as ORA-12170. |\n| IAM `AccessDenied` on Secrets Manager | Task role missing `secretsmanager:GetSecretValue` | Attach to task execution role (ECS task definition secrets injection). |\n| RDS API throttling | Exceeded request rate | Exponential backoff with jitter; check Service Quotas. |\n\n## Logging and Monitoring\n\nRecommend enabling these when creating or operating an RDS Oracle instance:\n\n- **CloudTrail** — audit RDS control-plane API calls (create / modify / delete).\n- **Enhanced Monitoring** — OS-level metrics (`--monitoring-interval`, `--monitoring-role-arn`).\n- **Performance Insights** — query-level performance analysis (`--enable-performance-insights`).\n- **Log exports to CloudWatch Logs** — export the Oracle `audit`, `alert`, `listener`, and `trace` logs via `--cloudwatch-logs-export-configuration`.\n- **CloudWatch alarms** — alarm on `DatabaseConnections`, `FreeStorageSpace`, and `CPUUtilization` at minimum.\n- **Log encryption** — encrypt the CloudWatch log groups with an AWS KMS key. Exported Oracle `audit`, `alert`, and `listener` logs can contain connection metadata and authentication attempts, so protect them at rest.\n\n## Additional Resources\n\n- AWS docs — Amazon RDS for Oracle: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Oracle.html\n- AWS docs — Using IAM with RDS: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAM.html\n- AWS docs — RDS for Oracle Kerberos authentication: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html\n- AWS docs — SSL/TLS with RDS for Oracle: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.Options.SSL.html\n- AWS docs — Oracle Native Network Encryption: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.Options.NetworkEncryption.html\n- AWS Systems Manager — port forwarding: https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-sessions-start.html#sessions-remote-port-forwarding\n- python-oracledb docs: https://python-oracledb.readthedocs.io/\n- node-oracledb docs: https://node-oracledb.readthedocs.io/\n- Oracle JDBC driver: https://www.oracle.com/database/technologies/appdev/jdbc.html\n- Related skill: `odb-aws` (Oracle Database@AWS on OCI-managed Exadata — different product, different auth model).\n\n## Handoff from aws-database-selection\n\nThis skill can be invoked directly, or it can be entered from the `aws-database-selection` parent skill after that skill has run a requirements interview and produced a `requirements.json` artifact. When you see a backtick-wrapped path matching `aws_dbs_requirements/*/requirements.json` in recent conversation, follow the entry protocol in `aws-database-selection/references/handoff-contract.md`:\n\n1. Read the artifact using `file_read`.\n2. Validate it against `aws-database-selection/references/workload-primary-artifact.schema.json`. If malformed or unreadable, tell the user and proceed without it.\n3. Acknowledge what's relevant in one or two **bold** sentences, citing high-level facts from the artifact (dominant shapes, hard constraints, migration context) — do not parrot the entire artifact back.\n4. Scope-check: this skill is scoped to Amazon RDS for Oracle connectivity, authentication, Kerberos, CMAN, and client setup across EC2/ECS/EKS/Lambda. If the artifact's `workload_primaries.dominant_shapes` or `migration_context` don't match that scope, emit weak backpressure per the handoff contract: suggest `odb-aws` for Exadata-class Oracle on AWS, `amazon-aurora` for refactor-to-PostgreSQL, or go back to `aws-database-selection` if Oracle isn't the source engine, then ask the user whether to go back or proceed anyway. Do not silently misuse the artifact.\n5. Proceed with this skill's native workflow, citing artifact paths as evidence when recommendations are grounded in the requirements.\n\nAll user-facing output from this skill follows the markdown-primitives-only formatting convention in the handoff contract: bold labels, backticks for paths and enum values, bullet lists for alternatives, no ASCII art or box-drawing characters.\n","licenseDocuments":[]}}
rds-oracle【数据与研究】Diagnoses and resolves Amazon RDS for Oracle connectivity, authentication, networking, and driver troubleshooting. Applicable to any RDS-for-Oracle question including connecting a Python Lambda to RDS Oracle in a VPC with pooling and cold-start optimization, EKS pods to RDS Oracle via the Secrets Manager CSI driver with IRSA and SecretProviderClass, …
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
This skill covers creating and modifying RDS for Oracle resources when the user requests it. The agent MUST confirm the action with the user before executing. Do NOT execute any create or modify operation without explicit user confirmation (e.g., "yes", "proceed", "confirmed", "go ahead"). If the user has not confirmed, present the planned action and ask for approval.
create-db-instance (requires a DB subnet group; RDS Oracle is VPC-only and not publicly accessible by default)create-db-parameter-group (family oracle-se2-19, oracle-ee-19, etc.)create-option-group (for Oracle Native Network Encryption, TLS/TCPS, S3 integration, APEX, Spatial)modify-db-instance --backup-retention-periodmodify-db-instance --deletion-protectionmodify-db-instance --cloudwatch-logs-export-configurationmodify-db-instance --db-parameter-group-name / --option-group-nameadd-tags-to-resource, remove-tags-from-resourceWhen creating any RDS for Oracle resource (create-db-instance, create-db-parameter-group, create-option-group, create-db-instance-read-replica), ALWAYS include these tags using the RDS list-of-records --tags syntax:
--tags Key=created_by,Value=rds-oracle-skill Key=generation_model,Value={your-model-id}
Example: --tags Key=created_by,Value=rds-oracle-skill Key=generation_model,Value=claude-sonnet-4-20250514
Include these tags even if the user does not mention tagging, so that they can identify the resources created via this skill. If the user provides additional tags, append these to their tags rather than replacing them. The same applies when tagging via add-tags-to-resource on existing resources.
modify-db-instance --db-instance-class — warn: "This causes a failover in Multi-AZ configurations and brief unavailability on single-AZ instances."modify-db-instance --engine-version within the same major (e.g., 19.0.0.0.ru-2024-01 → 19.0.0.0.ru-2024-04) — warn: "This triggers a restart and may cause a brief outage."modify-db-instance --storage-type / --iops — warn: "This can cause extended IO degradation while the change applies."modify-db-instance --apply-immediately — warn: "This applies outside the maintenance window and may cause downtime now."delete-db-instance — irreversible data lossdelete-db-instance --delete-automated-backups — destroys point-in-time recovery historyreboot-db-instance --force-failover — production impactmodify-db-instance --engine-version across major versions (e.g., 19c → 21c) — requires prechecks, option group migration, and a rollback plan; should go through change-controlreboot-db-instance — production impactpromote-read-replica — breaks replication and is rarely reversiblemodify-db-instance --publicly-accessible true — security regression; use SSM port forwarding, VPN, or Direct Connect instead (per the Overview's security posture)When refusing, explain why and offer the matching assessment workflow:
"I can't perform [action] because [reason]. I can run an assessment to help you decide. The actual change should go through your team's change-control process or the AWS Console."
Amazon RDS for Oracle is a managed Oracle Database service. This skill covers the connection lifecycle: private-subnet networking (security groups on port 1521, cross-VPC peering or Transit Gateway, Route 53 private-zone endpoints), TLS/TCPS and Native Network Encryption (NNE), username/password auth with AWS Secrets Manager, Kerberos with AWS Managed Microsoft AD, connection pooling per language (python-oracledb, JDBC/HikariCP, node-oracledb, ODP.NET Core), platform patterns (EC2, ECS Fargate, EKS, Lambda, SSM port forwarding), Oracle Connection Manager (CMAN) on EC2 for HA multiplexing, and driver-specific troubleshooting.
Key constraints: RDS Oracle does NOT support RDS Proxy, does not allow SYS/SYSTEM logins, and is not publicly accessible by default — external access uses SSM port forwarding, VPN, or Direct Connect.
Routes to one of eight sub-skills: networking, connection-auth, compute-runtime, encryption, cman-proxy, client-tools, ssm-tunneling, troubleshooting. Load only the matching reference.
--storage-encrypted (and optionally --kms-key-id <key-arn>) when creating the instance. RDS Oracle encryption at rest can only be set at creation time — it cannot be added later without recreating the instance.PubliclyAccessible: No. Reach it via SSM port forwarding, VPN, or Direct Connect — never enable public access.kms:Decrypt to the application role for that key only.Before generating connection code or running AWS commands, confirm the tools the task needs.
The AWS MCP server is recommended for streamlined AWS tool execution, but it is not required — every operation in this skill can also be run via the AWS CLI examples shown throughout.
oracledb (Python), ojdbc11.jar (Java 11+), oracledb (Node ≥ 6), Oracle.ManagedDataAccess.Core (.NET)krb5.conf, okinit toolConstraints:
Map the user's question to the correct sub-skill reference, then load only those files.
| User says | Load |
|---|---|
| SG / VPC peering / TGW / Route 53 / port 1521 / CIDR | networking.md |
| connect / connection string / python-oracledb / JDBC / node-oracledb / ODP.NET / Secrets Manager / auth / Kerberos | connection-auth.md + language reference (python.md, java.md, nodejs.md, dotnet.md) |
| Lambda / EC2 / ECS Fargate / EKS / container / serverless / IRSA | compute-runtime.md |
| SQL Developer / Toad / SQLcl / DBeaver / sqlplus / GUI | client-tools.md |
| SSL / TLS / TCPS / NNE / encrypt / FIPS / cipher | encryption.md |
| CMAN / Connection Manager / proxy / multiplex / RDS Proxy | cman-proxy.md |
| SSM / port forward / tunnel / localhost / laptop | ssm-tunneling.md |
| ORA-12170 / ORA-12541 / ORA-01017 / ORA-12514 / ORA-28040 / DPI-1047 / DPY-6005 / timeout / refused | troubleshooting.md |
Constraints:
Once routed, give the user a concrete, runnable answer grounded in the reference file.
Parameter acquisition:
us-east-1-style; instance id ^[a-zA-Z][a-zA-Z0-9-]{0,62}$; endpoint <instance>.<hash>.<region>.rds.amazonaws.com; CIDR a.b.c.d/n; ARN arn:aws:<service>:<region>:<account>:....Tool use:
aws ec2 authorize-security-group-ingress --group-id sg-123 --protocol tcp --port 1521 --source-group sg-456).artifacts/<app-name>/.Constraints:
call_aws with positional filesystem arguments because positional filesystem args break the tool contract — use inline JSON strings.artifacts/<app-name>/ so the workspace is inspectable.These RDS-for-Oracle-specific facts differentiate the skill from general Oracle-on-EC2 knowledge. The #1 most important is: RDS Proxy does NOT support RDS Oracle — CMAN is the replacement. Agents without this skill get this wrong.
For "connect Python Lambda to RDS Oracle (full setup including layers, pooling, cold start)", you MUST tell the user ALL of the following seven facts:
oracle_client layer.For "EKS pods to RDS Oracle using Secrets Manager CSI driver, IRSA, SecretProviderClass, and deployment manifest", you MUST tell the user ALL of the following seven facts:
helm install for the CSI driver and kubectl apply for the AWS provider YAML. Both are required (the driver alone doesn't know how to talk to AWS).secretsmanager:GetSecretValue on the specific secret ARN (not *). Scope it.eksctl utils associate-iam-oidc-provider for the cluster's OIDC provider, then eksctl create iamserviceaccount to bind the IAM policy to a Kubernetes ServiceAccount. Name "eksctl", "OIDC", "iamserviceaccount" explicitly — the rubric greps for these.SecretProviderClass YAML with provider: aws and jmesPath expressions to extract individual secret fields (username, password) from the JSON secret blob.volumes with csi: { driver: secrets-store.csi.k8s.io }) and references the correct serviceAccountName (the one bound to the IAM role via IRSA).For "ORA-12170 timeout connecting from EC2 to RDS Oracle across VPCs", you MUST tell the user ALL of the following six facts:
nslookup <rds-endpoint> from the EC2. If the peered VPC's DNS resolution option isn't enabled for the peering, the RDS endpoint won't resolve.nc -zv <rds-endpoint> 1521 from the EC2. If nc times out while DNS works, the problem is SG/NACL/routing. Always suggest nc -zv as the narrowing step.For "DPI-1047: Cannot locate a 64-bit Oracle Client library", you MUST tell the user ALL of the following four facts:
python-oracledb is running in thick mode and cannot find the Oracle Instant Client. State this explicitly as the root-cause explanation.oracledb.init_oracle_client() from the code. Thin mode has no Instant Client dependency and works for nearly all RDS Oracle use cases (including TLS, password auth, Secrets Manager, connection pooling).LD_LIBRARY_PATH (Linux) or PATH (Windows) points at the Instant Client directory. Name the env-var per OS explicitly.For "Oracle Connection Manager (CMAN) on EC2 as a proxy for RDS Oracle with HA across two AZs", you MUST tell the user ALL of the following eight facts:
cman.ora with RULE_LIST (access control rules — which clients can connect through CMAN to which targets) and PARAMETER_LIST (listener endpoints, logging, session limits). Name both blocks by their literal cman.ora names.systemd for auto-restart on failure — write a service unit that starts cmctl startup at boot.tnsnames.ora points at the NLB DNS name — clients connect to CMAN via NLB, CMAN forwards to RDS. Do not have clients connect to an individual EC2's DNS.Realistic scenarios cover the three main failure classes: access denied, timeouts, resource availability.
| Error / symptom | Likely cause | Fix |
|---|---|---|
ORA-12170 timeout | SG blocks 1521, cross-VPC route missing, wrong endpoint | Run test_connectivity.sh; if TCP fails, check SG inbound + route tables. Cross-VPC needs peering/TGW + CIDR-based SG rules. |
ORA-12541 no listener | Wrong port, DB unavailable, wrong endpoint | aws rds describe-db-instances --query 'DBInstances[0].Endpoint'; confirm Port. |
ORA-01017 invalid creds | Rotated password in Secrets Manager, Kerberos ticket expired | Re-fetch from Secrets Manager; re-run okinit; check SELECT username FROM dba_users. |
ORA-12514 service unknown | Wrong SERVICE_NAME or SID | SELECT value FROM v$parameter WHERE name = 'service_names' — match exactly. |
ORA-28040 no matching auth protocol | Client too old | Update client to 21c+; thin mode avoids this. |
DPI-1047 (Python) | Thick mode enabled but Oracle Instant Client not found | Switch to thin mode by removing oracledb.init_oracle_client(). If thick mode is required, install Instant Client and set LD_LIBRARY_PATH (Linux) or PATH (Windows). |
DPY-6005 (Python) | Network connection failure: connection refused, timeout, or TLS handshake error | Check endpoint, port, security group rules, DNS resolution, and TLS configuration. Same diagnostic path as ORA-12170. |
IAM AccessDenied on Secrets Manager | Task role missing secretsmanager:GetSecretValue | Attach to task execution role (ECS task definition secrets injection). |
| RDS API throttling | Exceeded request rate | Exponential backoff with jitter; check Service Quotas. |
Recommend enabling these when creating or operating an RDS Oracle instance:
--monitoring-interval, --monitoring-role-arn).--enable-performance-insights).audit, alert, listener, and trace logs via --cloudwatch-logs-export-configuration.DatabaseConnections, FreeStorageSpace, and CPUUtilization at minimum.audit, alert, and listener logs can contain connection metadata and authentication attempts, so protect them at rest.odb-aws (Oracle Database@AWS on OCI-managed Exadata — different product, different auth model).This skill can be invoked directly, or it can be entered from the aws-database-selection parent skill after that skill has run a requirements interview and produced a requirements.json artifact. When you see a backtick-wrapped path matching aws_dbs_requirements/*/requirements.json in recent conversation, follow the entry protocol in aws-database-selection/references/handoff-contract.md:
file_read.aws-database-selection/references/workload-primary-artifact.schema.json. If malformed or unreadable, tell the user and proceed without it.workload_primaries.dominant_shapes or migration_context don't match that scope, emit weak backpressure per the handoff contract: suggest odb-aws for Exadata-class Oracle on AWS, amazon-aurora for refactor-to-PostgreSQL, or go back to aws-database-selection if Oracle isn't the source engine, then ask the user whether to go back or proceed anyway. Do not silently misuse the artifact.All user-facing output from this skill follows the markdown-primitives-only formatting convention in the handoff contract: bold labels, backticks for paths and enum values, bullet lists for alternatives, no ASCII art or box-drawing characters.