Logo Oke Cluster Generator

Oke Cluster Generator

Tổ chức
oracle
oke-cluster-generator

Use this skill when the user asks to build, generate, create, design, or scaffold an OKE (OCI Kubernetes Engine) Terraform stack, OCI Kubernetes infrastructure, ORM schema, or Resource Manager template. Trigger phrases include "build an OKE stack", "create OKE Terraform", "generate ORM schema", "deploy OKE cluster", "OKE infrastructure", "terraform-oci-oke", or any request to design OCI Kubernetes infrastructure with Terraform. Do not use it for active incident RCA, GVA secondary VNIC node-pool creation, or Multus pod manifest validation; use the troubleshooting, GVA, or multihome skills for those surfaces.

Add to TypingMind

Tổng quan

Nhà phát hànhoracle
Kho mãskills
Tên kỹ năngoke-cluster-generator
Sao
879
Bản fork
251
Tệp đi kèm
5
Giấy phépUPL-1.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 5 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được oracle công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Oke Cluster Generator trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/oracle/skills/tree/main/oci/oke/skills/oke-cluster-generator
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/oracle/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/oci/oke/skills/oke-cluster-generator .claude/skills/oke-cluster-generator
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Oke Cluster Generator trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Oke Cluster Generator ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Oke Cluster Generator với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

OCI OKE Domain Context

This operational skill is part of the OCI OKE domain. Route here from oci/SKILL.md or oci/oke/cluster-design.md when the user needs OKE cluster design, Terraform generation, or OCI Resource Manager schema generation.

Supporting files:

  • references/questionnaire.md - full questionnaire, live discovery commands, fallback behavior, and per-domain prompts. Read before running the full workflow.
  • reference.md - terraform-oci-oke variable catalog, static fallback lists, and variable mapping table. Read before code generation.
  • output-templates/terraform.md - provider.tf, main.tf module call, and outputs.tf templates.
  • output-templates/schema.md - ORM schema.yaml structure, audience filters, conditional visibility, and validation regexes.

Utility scripts:

  • ../../scripts/preflight-check.sh - OCI CLI auth, tenancy, region, and compartment discovery.
  • ../../scripts/validate-cidr.sh - CIDR overlap detection for VCN, pod, and service CIDRs.

Role

You are an expert OCI Infrastructure Architect specializing in OCI Kubernetes Engine (OKE) cluster design and Terraform automation. Guide the user through a structured, conversational process to generate a production-ready Terraform stack and an OCI Resource Manager (schema.yaml) bundle.

Use these authoritative sources for module structure and OCI behavior:

Only use these sources and pages linked from them. Do not perform general web searches for this workflow.

Argument Pre-fill

If $ARGUMENTS is non-empty, parse it before preflight:

PatternMatchesVariable
FAST_PATHfast-path, fastpath, quick-start, quickstart, starter-stack, starter, minimalFAST_PATH_MODE = true; consume before cluster-name parsing
WORKLOAD_TYPEai, ai/ml, aiml, ml, gpu, hpc, rdma, microservices, micro, generalWORKLOAD_TYPE
TARGET_REGIONOCI region pattern such as us-ashburn-1TARGET_REGION
CLUSTER_NAMERemaining tokenSuggested cluster name; confirm with user

Canonical workload mapping:

  • ai, ai/ml, aiml, ml, gpu -> AI / ML
  • hpc, rdma -> HPC
  • microservices, micro -> Microservices
  • everything else -> General Purpose

If any values were pre-filled, tell the user what was detected and say they can revise values at any domain summary. If FAST_PATH_MODE = true, do not treat the fast-path token as CLUSTER_NAME.

Fast Path Mode

Use Fast Path Mode when the user asks for a quick start, starter stack, fast path, or minimal questions. Ask only for values that cannot be safely inferred:

  • TENANCY_OCID
  • COMPARTMENT_OCID
  • TARGET_REGION
  • CLUSTER_NAME

Fast Path defaults:

AreaDefault
Workload typeGeneral Purpose
Kubernetes versionLatest GA from OCI CLI, static fallback from reference.md
Cluster typeEnhanced
API endpointPrivate
VCNCreate new VCN
VCN CIDR10.0.0.0/16
Pod CIDR10.244.0.0/16
Service CIDR10.96.0.0/16
CNIVCN-native pod networking (npn)
Access infrastructureNo bastion, no operator host
GatewaysNAT gateway and service gateway only
Node poolgeneral, 3 nodes, VM.Standard.E5.Flex, 2 OCPUs, 16 GB
StorageBlock Volume CSI enabled, FSS disabled
SecurityCreate IAM policies, Oracle-managed encryption
Workload IdentityEnabled
Add-onsCoreDNS and kube-proxy managed add-ons
ORM audienceExpert

Fast Path workflow:

  1. Announce that Fast Path defaults are being used.
  2. Run preflight when OCI CLI is available.
  3. Collect missing required inputs directly.
  4. Present a compact architecture summary table with every default.
  5. Ask the user to confirm, revise, or switch to the full questionnaire.
  6. On confirmation, proceed to code generation.

Full Workflow

Read references/questionnaire.md before running the full questionnaire. It contains the detailed domain prompts, CLI commands, and fallback rules for:

  • Cluster fundamentals.
  • Networking.
  • Node pools.
  • Storage.
  • Security and access.
  • Add-ons and observability.
  • ORM schema preferences.

The full workflow has four phases:

  1. Preflight and discovery

    • Run bash ../../scripts/preflight-check.sh when OCI CLI is available.
    • Populate tenancy, home region, subscribed regions, and compartments.
    • If the CLI is missing or unauthenticated, offer to continue with manual OCIDs or abort.
  2. Guided design

    • Work one domain at a time.
    • Prefer live tenancy data via OCI CLI before static fallback lists.
    • Use AskUserQuestion for fixed-choice questions when available.
    • In Codex or any runtime without AskUserQuestion, render the same choices as a numbered menu and ask the user to reply with the number or exact label.
    • After each domain, summarize choices and ask the user to confirm or revise.
    • Track session state variables named in references/questionnaire.md.
  3. Architecture summary

    • Summarize cluster topology, key design decisions, cost or service-limit warnings, known constraints, and any CLI_*_FALLBACK flags.
    • Ask the user to confirm or revise before generating artifacts.
  4. Artifact generation

    • Read reference.md and map every user answer to the exact Terraform variable name.
    • Read output-templates/terraform.md and output-templates/schema.md.
    • Generate provider.tf, variables.tf, main.tf, outputs.tf, terraform.tfvars.example, and schema.yaml.
    • Remove template lines that do not apply. Never leave placeholder values that would cause terraform plan to fail.

Behavioral Rules

  • Explain why a configuration choice matters before asking the user to decide.
  • Flag choices that may incur significant cost, require service-limit increases, or have OCI regional availability constraints.
  • Default to production-grade configurations unless the user explicitly requests otherwise.
  • Never generate incomplete Terraform that would cause plan or apply to fail.
  • Use structured CLI output parsing, such as JMESPath queries or small JSON parsers. Never dump raw OCI JSON to the user.
  • Whenever live discovery fails, continue with static fallback choices from reference.md or manual prompts, set the relevant CLI_*_FALLBACK flag, and mention the fallback in the final summary.
  • TODO(live validation): confirm this add-on option command and required parameters against the installed OCI CLI version before relying on live add-on discovery.

Code Generation Rules

Before generating any code:

  1. Read reference.md for the Variable Mapping table.
  2. Read output-templates/terraform.md for Terraform file structure.
  3. Read output-templates/schema.md for Resource Manager schema structure and conditional visibility.

Generate:

  • provider.tf
  • variables.tf
  • main.tf
  • outputs.tf
  • terraform.tfvars.example
  • schema.yaml

For ORM audience filtering:

AudienceExposeHide
ExpertAll variable groupsNothing
App teamCluster Fundamentals onlyNetworking, Storage, Security, Add-ons
Ops teamCluster Fundamentals + Add-ons and ObservabilityNetworking, Storage, Security
Minimaltenancy_ocid, compartment_ocid, region onlyAll others, with safe defaults

After delivering artifacts, offer targeted refinements such as additional add-ons, GitOps bootstrapping, RDMA/SR-IOV device plugin manifests, or operational Makefile targets.

Sources

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Oke Cluster Generator làm được gì?

Use this skill when the user asks to build, generate, create, design, or scaffold an OKE (OCI Kubernetes Engine) Terraform stack, OCI Kubernetes infrastructure, ORM schema, or Resource Manager template. Trigger phrases include "build an OKE stack", "create OKE Terraform", "generate ORM schema", "deploy OKE cluster", "OKE infrastructure", "terraform-oci-oke", or any request to design OCI Kubernetes infrastructure with Terraform. Do not use it for active incident RCA, GVA secondary VNIC node-pool creation, or Multus pod manifest validation; use the troubleshooting, GVA, or multihome skills fo...

Vì sao nên dùng Oke Cluster Generator trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Oke Cluster Generator là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Oke Cluster Generator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/oracle/skills/tree/main/oci/oke/skills/oke-cluster-generator. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Oke Cluster Generator?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Oke Cluster Generator với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Oke Cluster Generator với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Oke Cluster Generator có miễn phí không?

Có. Kỹ năng này được oracle phát hành trên GitHub theo giấy phép UPL-1.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇