Command Palette

Search for a command to run...

Назад к скиллам
скилл № 10889

oracle-cloud

Use when the user asks about Oracle Cloud Infrastructure (OCI), compartments and IAM policies, VCN, security lists and NSGs, OKE, Autonomous Database, OCI…

БесплатноБез исполняемых скриптов
j4flmaoот j4flmao★ 47 звёзд на GitHub

Установить oracle-cloud в Claude Code и Claude Desktop

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

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

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

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

Oracle Cloud Infrastructure (OCI)

Purpose

Manage Oracle Cloud Infrastructure resources: compute, networking, storage, IAM, OKE (Kubernetes), Autonomous Database, and cost governance.

Agent Protocol

Trigger

Exact user phrases: "oracle cloud", "oci", "oke", "oracle kubernetes", "autonomous database", "oci compute", "oci networking", "oci iam".

Input Context

Before activating, verify:

  • OCI region(s) and tenancy OCID.
  • Compartment structure.
  • Authentication method (API key, instance principal, resource principal).
  • Terraform or OCI CLI for provisioning.

Output Artifact

OCI resource configurations (Terraform or CLI) or architecture documentation.

Response Format

Terraform HCL or OCI CLI commands. No preamble.

Completion Criteria

  • Networking: VCN, subnets, security lists, NSGs, route tables, DRG.
  • Compute: instance shapes, images, boot volumes, cloud-init.
  • Storage: object storage buckets, block volumes, file systems.
  • IAM: compartments, groups, policies, dynamic groups.
  • OKE: cluster, node pools, kubeconfig, ingress controller.
  • Database: Autonomous Database or DB system.
  • Governance: budgets, alerts, cost tags.

Max Response Length

400 lines.

Quick Start

Create a compartment → set up VCN with subnets and security lists → provision compute instance (VM.Standard.E4.Flex) → configure IAM policies → deploy OKE cluster → set up object storage for backups. All via oci CLI or Terraform.

Decision Tree: OCI Compute Shapes

Shape Family Use Case vCPUs Memory Networking
VM.Standard.E4.Flex General purpose, AMD EPYC 1-64 1-512 GB Up to 32 Gbps
VM.Standard.A1.Flex ARM Ampere, cost-effective 1-80 1-512 GB Up to 32 Gbps
BM.Optimized3.36 Bare metal, HPC 36 512 GB 100 Gbps
VM.GPU.A10.1 ML inference, graphics 15 120 GB 4 Gbps
VM.DenseIO.E4.Flex NVMe local SSD, databases 1-64 1-512 GB Up to 32 Gbps

Core Workflow

Step 1: OCI Networking

# VCN with public and private subnets
resource "oci_core_vcn" "main" {
  compartment_id = var.compartment_ocid
  display_name   = "vcn-main"
  cidr_blocks    = ["10.0.0.0/16"]
  dns_label      = "vcnmain"
}

resource "oci_core_subnet" "public" {
  compartment_id    = var.compartment_ocid
  vcn_id            = oci_core_vcn.main.id
  cidr_block        = "10.0.1.0/24"
  display_name      = "subnet-public"
  security_list_ids = [oci_core_security_list.public.id]
  route_table_id    = oci_core_route_table.public.id
  dns_label         = "public"
}

resource "oci_core_subnet" "private" {
  compartment_id    = var.compartment_ocid
  vcn_id            = oci_core_vcn.main.id
  cidr_block        = "10.0.2.0/24"
  display_name      = "subnet-private"
  security_list_ids = [oci_core_security_list.private.id]
  route_table_id    = oci_core_route_table.private.id
  dns_label         = "private"
}

# Internet Gateway for public subnet
resource "oci_core_internet_gateway" "ig" {
  compartment_id = var.compartment_ocid
  vcn_id         = oci_core_vcn.main.id
  display_name   = "ig-main"
}

# NAT Gateway for private subnet outbound
resource "oci_core_nat_gateway" "nat" {
  compartment_id = var.compartment_ocid
  vcn_id         = oci_core_vcn.main.id
  display_name   = "nat-main"
}

Step 2: Security Lists and NSGs

# Security List (stateless, applies to whole subnet)
resource "oci_core_security_list" "public" {
  compartment_id = var.compartment_ocid
  vcn_id         = oci_core_vcn.main.id
  display_name   = "sl-public"

  egress_security_rules {
    destination = "0.0.0.0/0"
    protocol    = "6"
  }

  ingress_security_rules {
    source   = "0.0.0.0/0"
    protocol = "6"
    tcp_options {
      min = 80
      max = 80
    }
  }
  ingress_security_rules {
    source   = "0.0.0.0/0"
    protocol = "6"
    tcp_options {
      min = 443
      max = 443
    }
  }
}

# Network Security Group (stateful, applies to individual instances)
resource "oci_core_network_security_group" "web" {
  compartment_id = var.compartment_ocid
  vcn_id         = oci_core_vcn.main.id
  display_name   = "nsg-web"
}

resource "oci_core_network_security_group_security_rule" "web_http" {
  network_security_group_id = oci_core_network_security_group.web.id
  direction                 = "INGRESS"
  protocol                  = "6"
  source                    = "0.0.0.0/0"
  source_type               = "CIDR_BLOCK"
  tcp_options {
    destination_port_range {
      min = 80
      max = 80
    }
  }
}

Step 3: Compute Instance

resource "oci_core_instance" "app" {
  availability_domain = data.oci_identity_availability_domains.ads.availability_domains[0].name
  compartment_id      = var.compartment_ocid
  shape               = "VM.Standard.E4.Flex"
  shape_config {
    ocpus         = 4
    memory_in_gbs = 32
  }
  display_name = "app-server"

  source_details {
    source_typ
Полный SKILL.md на GitHub

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

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

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

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

  • references/core-services.md
  • references/database-services.md
  • references/oke-kubernetes.md
  • references/oracle-cloud-advanced.md
  • references/oracle-cloud-fundamentals.md
  • references/security-iam.md
  • references/serverless-integration.md

FAQ

Что делает скилл oracle-cloud?

Use when the user asks about Oracle Cloud Infrastructure (OCI), compartments and IAM policies, VCN, security lists and NSGs, OKE, Autonomous Database, OCI Object Storage, FastConnect, Resource Manager, or the oci Terraform provider. Produces OCI architectures and IaC. Not for AWS (use aws) or IBM Cloud (use ibm-cloud).

Как установить скилл oracle-cloud?

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

Скилл oracle-cloud запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить oracle-cloud с