Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/oraclecloud-multi-env-setup

@0d57af8
Run it yourself

Configure multi-environment OCI workflows with config profiles and compartment-per-environment patterns. Use when setting up dev/staging/prod separation, switching between OCI profiles, or preventing accidental production deployments. Trigger with "oraclecloud multi env setup", "oci profiles", "oci environments", "oci config profiles".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/oraclecloud-multi-env-setup

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesone-pager.md

≈448 tokens on demand. Your agent reads this file only when SKILL.md points to it.

oraclecloud-multi-env-setup — One-Pager

Configure multi-environment OCI workflows with config profiles and compartment-per-environment patterns.

The Problem

OCI has no "accounts" like AWS — you use compartments + OCI config profiles for dev/staging/prod. But profile switching is manual, compartment OCIDs are easy to confuse, and one wrong --compartment-id deploys to production. There's no built-in guardrail to prevent a developer from running a destructive command against the wrong environment.

The Solution

This skill sets up named config profiles (DEV, STAGING, PROD) in ~/.oci/config, builds an environment configuration module that maps profiles to compartment OCIDs, creates an environment-aware client factory with safety guardrails (blocking destructive operations in prod), adds CLI shell aliases for safe profile switching, and includes config validation for CI/CD pipelines.

Who / What / When

Aspect Details
Who DevOps engineers and platform teams managing multiple OCI environments from a single tenancy
What Multi-profile OCI config, environment-aware Python client factory, CLI aliases, and deployment guardrails
When Setting up dev/staging/prod separation, onboarding new team members, or building CI/CD pipelines that deploy to OCI

Key Features

  1. Multi-profile config — Named profiles in ~/.oci/config with separate API keys per environment for isolation
  2. Environment-aware client factory — Python module coupling profiles to compartment OCIDs with destructive operation blocking for prod
  3. Config validation — Profile-by-profile authentication testing and CI/CD environment variable support

Quick Start

See SKILL.md for full instructions.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides legitimate templates and instructions for configuring multi-environment Oracle Cloud Infrastructure (OCI) workflows, emphasizing safety through profile isolation and destructive operation guardrails.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
What it can do
Reads files Edits files Runs commands
version
1.8.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "saas",
  "oraclecloud",
  "oci"
]
All 6 allowed tools
ReadWriteEditBash(pip:*)Bash(oci:*)Grep
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/oraclecloud-multi-env-setup