Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

odb-aws

БесплатноЗапускает вложенные скриптыНе проверен

Oracle Database@AWS (ODB@AWS) toolkit for Exadata Database Service and Autonomous Database running on OCI-managed Exadata inside AWS. Covers ODB@AWS…

awsот aws★ 3 696 звёзд на GitHub

Об этом скилле

Oracle Database@AWS Toolkit

Safety guidance

This skill covers creating and modifying ODB@AWS-adjacent AWS 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.

Scope note: Exadata Database Service infrastructure itself is provisioned by Oracle/OCI and is out of scope for aws odb create-* commands. This skill's create/modify operations apply to the AWS-side networking, identity, and credential resources that make an ODB@AWS connection work.

Writing files and artifacts (graceful degradation)

Some tasks ask you to save output to a file (for example a connection config, a diagnostic report, a generated Lambda handler, or a CLI command). Before attempting a file write, check whether a file-writing tool is actually available in the current runtime.

  • If a file-writing tool IS available, write the file to the requested path and confirm the path back to the user.
  • If NO file-writing tool is available, do NOT retry the write, and do NOT loop calling other tools in an attempt to create the file. Instead, output the complete artifact content inline in your response inside a fenced code block, state the path the user asked for, and tell the user to save it there themselves. One inline response is the correct terminal behavior in this case.

Retrying an impossible write wastes tool calls and can exhaust the context window without ever helping the user. A single inline emission of the content is always preferable to a retry loop.

Execute these operations (after user confirmation)

  • Create an ODB peering connection: aws odb create-odb-peering-connection (this is a distinct peering type from VPC peering; do NOT use aws ec2 create-vpc-peering-connection)
  • Create a Route 53 Resolver outbound endpoint: aws route53resolver create-resolver-endpoint --direction OUTBOUND
  • Create a Route 53 Resolver forwarding rule for oraclevcn.com: aws route53resolver create-resolver-rule --rule-type FORWARD --domain-name oraclevcn.com
  • Associate a resolver rule with a VPC: aws route53resolver associate-resolver-rule
  • Add a route to the ODB CIDR: aws ec2 create-route --odb-network-arn <arn>
  • Store the wallet / database password in Secrets Manager: aws secretsmanager create-secret
  • Share the resolver rule across accounts/VPCs: aws ram create-resource-share --resource-arns <resolver-rule-arn>
  • Create a KMS key for TDE via OIDC federation (when the customer wants AWS-managed TDE): aws kms create-key
  • Tag resources: aws <service> tag-resource, aws resourcegroupstaggingapi tag-resources

Resource tagging (always apply on resource creation)

When creating any AWS-side resource in this skill (aws odb create-odb-peering-connection, aws route53resolver create-resolver-endpoint/create-resolver-rule, aws secretsmanager create-secret, aws ram create-resource-share, aws kms create-key), ALWAYS include these tags using the standard AWS list-of-records --tags syntax:

--tags Key=created_by,Value=odb-aws-skill Key=generation_model,Value={your-model-id}

Example: --tags Key=created_by,Value=odb-aws-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.

Note on Route 53 Resolver: create-resolver-endpoint and create-resolver-rule both accept --tags at creation time (same syntax). After creation, use aws route53resolver tag-resource --resource-arn <arn> --tags ... to add tags.

Note on RAM: create-resource-share --tags uses the same list-of-records format.

Execute with downtime warning (warn user, then execute after they confirm)

  • Modify ODB peering connection: aws odb modify-odb-peering-connection — warn: "This may briefly interrupt ODB connectivity while the change applies."
  • Replace a resolver rule target IP list: aws route53resolver update-resolver-rule — warn: "In-flight DNS queries may fail during the swap; agents / clients should retry."
  • Rotate a wallet in Secrets Manager: aws secretsmanager rotate-secret — warn: "Database clients caching the old wallet will hit TLS handshake failures until they refresh."

Do NOT execute (refuse, explain why, offer assessment instead)

  • Delete the ODB peering connection: aws odb delete-odb-peering-connection — breaks the only path from the app VPC to Exadata; production outage risk
  • Delete the Route 53 Resolver rule or disassociate it from the app VPC: aws route53resolver delete-resolver-rule, aws route53resolver disassociate-resolver-rule — SCAN resolution stops immediately; every new connection fails with ORA-12154
  • Dele
Полный SKILL.md на GitHub

Установить odb-aws в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/auth-kerberos-tde.mdreferences/auth-oci-iam.mdreferences/auth-wallet-tcps.mdreferences/authorization-db-users.mdreferences/compute-runtimes.mdreferences/connect-cli-gui.mdreferences/connect-java.mdreferences/connect-nodejs.mdreferences/connect-python.mdreferences/connect-ssh-tunnel.mdreferences/lambda_handler_example.pyreferences/networking-cloud-wan.mdreferences/networking-dns-resolver.mdreferences/networking-enterprise-hybrid.mdreferences/networking-odb-peering.mdreferences/networking-transit-gateway.mdreferences/networking-vpc-lattice.mdreferences/troubleshooting-errors.mdscripts/check_odb_connectivity.shscripts/fetch_odb_network_info.shscripts/resolve_scan.pyscripts/setup_resolver_rule.shscripts/test_connection_jdbc.shscripts/test_connection_python.py

FAQ

Что делает скилл odb-aws?

Oracle Database@AWS (ODB@AWS) toolkit for Exadata Database Service and Autonomous Database running on OCI-managed Exadata inside AWS. Covers ODB@AWS connectivity scenarios including cannot connect to Exadata on AWS, ORA-12170 timeout, ORA-12154 could not resolve connect identifier, ORA-29024 certificate validation with SSM tunnel, ORA-28759, ODB peering, Route 53 Resolver DNS forwarding for oraclevcn.com, SCAN hostname, connecting Lambda with python-oracledb, multiple VPCs to the same Exadata via Transit Gateway and RAM, wallet from Secrets Manager, TCPS, and OCI IAM. Includes network topology, app code for Python/Java/Node.js/SQLcl/SQL Developer/DBeaver, and TNS/DNS/wallet diagnostics.

Как установить скилл odb-aws?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл odb-aws запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить odb-aws с