oracle-cloud — скилл для Claude Code: что делает и как установить
Помогает проектировать архитектуру в Oracle Cloud Infrastructure, писать код для Terraform OCI и разворачивать базы данных или кластеры OKE.
MIT 152 установок ★ 18 обновлён 2026-01-23
npx skills add DauQuangThanh/hanoi-rainbow --skill oracle-cloud -a claude-codeЧто делает oracle-cloud
Скилл содержит готовые паттерны и рекомендации для ключевых сервисов OCI. Он генерирует конфигурации Terraform под провайдер OCI, сценарии развёртывания и команды для oci-cli. Внутри структурированы блоки по виртуальным сетям VCN, инстансам Compute, объектному и блочному хранилищу, а также политике изоляции ресурсов через компартменты.
Отдельный фокус сделан на базах данных и контейнерах: скилл подсказывает настройки для Autonomous Database, MySQL, PostgreSQL и управляемого Kubernetes в OKE. Без настроенных прав в IAM и иерархии компартментов применить сгенерированный код в реальном тенанте OCI не выйдет.
Какие задачи решает
- Написать манифесты Terraform для провайдера OCI
- Спроектировать топологию сети VCN с подсетями и шлюзом DRG
- Настроить кластер Kubernetes в OKE с автомасштабированием
- Подготовить политики IAM и структуру компартментов
Примеры запросов агенту
- Напиши Terraform-манифест для создания VCN с публичной и приватной подсетями в OCI
- Как настроить автомасштабирование пула инстансов для веб-приложения?
- Сгенерируй команду OCI CLI для создания резервной копии базы данных Autonomous Database
Как установить oracle-cloud
1Через Skills CLI (Vercel)
npx skills add DauQuangThanh/hanoi-rainbow --skill oracle-cloud -a claude-code2Вручную: положить файлы
~/.claude/skills/oracle-cloud/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/oracle-cloud/
1Через Skills CLI (Vercel)
npx skills add DauQuangThanh/hanoi-rainbow --skill oracle-cloud -a codex2Вручную: положить файлы
.agents/skills/oracle-cloud/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add DauQuangThanh/hanoi-rainbow --skill oracle-cloud -a cursor2Вручную: положить файлы
.cursor/skills/oracle-cloud/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install DauQuangThanh/hanoi-rainbow skills/oracle-cloud2Вручную: положить файлы
.github/skills/oracle-cloud/SKILL.md1Через Skills CLI (Vercel)
npx skills add DauQuangThanh/hanoi-rainbow --skill oracle-cloud -a gemini-cli2Командой платформы
gemini skills install https://github.com/DauQuangThanh/hanoi-rainbow --path skills/oracle-cloudВручную: положить файлы
.devin/skills/oracle-cloud/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add DauQuangThanh/hanoi-rainbow --skill oracle-cloud -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об oracle-cloud
Как установить oracle-cloud в Claude Code?
Выполните в терминале команду npx skills add DauQuangThanh/hanoi-rainbow --skill oracle-cloud -a claude-code.
Для каких сервисов OCI в скилле есть инструкции?
В базу включены разделы по Compute, сетям VCN, хранилищам, OKE, IAM, а также базам данных Autonomous Database, MySQL, PostgreSQL и NoSQL.
Поддерживает ли скилл работу с Terraform?
Да, скилл даёт шаблоны модулей под Terraform OCI provider и сценарии для запуска через Oracle Resource Manager с хранением стейта в Object Storage.
Исходный текст
SKILL.md · MIT
--- name: oracle-cloud description: Provides comprehensive Oracle Cloud Infrastructure (OCI) guidance including compute instances, networking (VCN, load balancers, VPN), storage (block, object, file), database services (Autonomous Database, MySQL, NoSQL), container orchestration (OKE), identity and access management (IAM), resource management, cost optimization, and infrastructure as code (Terraform OCI provider, Resource Manager). Produces infrastructure code, deployment scripts, configuration guides, and architectural diagrams. Use when designing OCI architecture, provisioning cloud resources, migrating to Oracle Cloud, implementing OCI security, setting up OCI databases, deploying containerized applications on OKE, managing OCI resources, or when users mention "Oracle Cloud", "OCI", "Autonomous Database", "VCN", "OKE", "OCI Terraform", "Resource Manager", "Oracle Cloud Infrastructure", or "OCI migration". --- # Oracle Cloud Infrastructure (OCI) ## Core Capabilities Provides expert guidance for Oracle Cloud Infrastructure across all major services: 1. **Compute Services** - VM instances, bare metal, autoscaling, instance pools 2. **Networking** - Virtual Cloud Networks (VCN), subnets, security lists, route tables, load balancers, VPN 3. **Storage** - Block volumes, object storage, file storage, archive storage 4. **Database Services** - Autonomous Database, MySQL, PostgreSQL, NoSQL, MongoDB 5. **Container & Kubernetes** - Oracle Kubernetes Engine (OKE), container instances, registries 6. **Identity & Access Management** - Users, groups, policies, federation, MFA 7. **Infrastructure as Code** - Terraform OCI provider, Resource Manager, stacks 8. **Cost Management** - Budgets, cost analysis, resource tagging, rightsizing ## Best Practices ## Compute - Use flexible shapes for cost optimization - Enable boot volume backups and configure lifecycle policies - Use instance pools with autoscaling for dynamic workloads - Implement proper tagging for resource management - Leverage availability domains for high availability ### Networking - Design VCN with proper CIDR blocks (avoid overlaps) - Use security lists and network security groups together - Implement private subnets for databases and application tiers - Enable DRG (Dynamic Routing Gateway) for hybrid connectivity - Configure load balancer health checks with appropriate intervals ### Storage - Use block volumes with appropriate performance tiers - Implement lifecycle policies for object storage cost savings - Enable encryption at rest for all storage services - Configure regular backups with retention policies - Use file storage for shared application data ### Database - Use Autonomous Database for automatic management and tuning - Enable automatic backups with point-in-time recovery - Configure connection pooling and TLS encryption - Implement proper IAM policies for database access - Monitor database metrics and set up alerts ### Container Orchestration - Use managed OKE for Kubernetes workloads - Enable cluster autoscaling and pod autoscaling - Implement pod security policies and network policies - Use OCI Container Registry for private image storage - Configure proper resource requests and limits ### IAM & Security - Follow principle of least privilege for policies - Enable MFA for all users with admin access - Use service-level resources for automation - Implement compartment hierarchy for resource isolation - Audit IAM policy changes regularly ### Infrastructure as Code - Use Terraform OCI provider with remote state - Organize resources by compartment and environment - Version control all infrastructure code - Use Resource Manager for managed Terraform execution - Implement proper variable management and secrets handling ### Cost Optimization - Use flexible shapes to match workload requirements - Implement autoscaling to scale down during off-peak - Use preemptible instances for fault-tolerant workloads - Set up budgets and cost alerts - Tag resources for cost allocation and tracking ## Detailed References Load reference files based on specific needs: - **Compute Services**: See [compute-services.md](references/compute-services.md) for: - VM shapes and bare metal configuration - Instance pools and autoscaling setup - Boot volume management and backups - Custom images and cloud-init configuration - **Networking Architecture**: See [networking-architecture.md](references/networking-architecture.md) for: - VCN design patterns and CIDR planning - Security lists and network security groups - Load balancer configuration (public, private) - FastConnect and VPN setup for hybrid connectivity - VCN peering and DNS configuration - **Database Services**: See [database-services.md](references/database-services.md) for: - Autonomous Database provisioning and management - MySQL, PostgreSQL, and NoSQL configuration - Database backup and recovery procedures - Connection pooling and performance optimization - Database migration strategies - **IAM Configuration**: See [iam-configuration.md](references/iam-configuration.md) for: - User, group, and policy management - Compartment design and hierarchy - Dynamic groups and instance principals - Federation and identity providers - Tagging strategy and resource limits - **Terraform for OCI**: See [terraform-oci.md](references/terraform-oci.md) for: - Terraform OCI provider configuration - Common resource provisioning patterns - Module structure and best practices - Remote state management in object storage - Three-tier architecture examples - **OCI CLI Commands**: See [oci-cli-commands.md](references/oci-cli-commands.md) for: - OCI CLI installation and configuration - Compute, networking, storage, and database commands - Container registry and OKE operations - Query and filtering techniques - Troubleshooting and debugging
© DauQuangThanh · MIT · DauQuangThanh/hanoi-rainbow