Agent skill · software engineering · jeremylongshore

oraclecloud-local-dev-loop

Set up a productive local OCI development workflow using CLI and SDK

Why this skill is useful

Adds multiple executable scripts and shell aliases for managing Oracle Cloud Infrastructure that aren't in public documentation.

What it needs

Requires pip, python installed locally. About 5k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Oracle Cloud Local Dev Loop Overview The OCI web console is slow, hard to navigate, and requires dozens of clicks for common operations. A local dev workflow using the OCI CLI and Python SDK replaces the console for everything: listing resources, launching instances, managing object storage, and checking service health. Profile switching lets you target dev/staging/prod from the same terminal. Purpose: Set up a complete local OCI development environment with CLI profiles, shell aliases, environment variable management, and common workflow scripts that eliminate the need for the web console. Prerequisites Completed oraclecloud-install-auth — valid ~/.oci/config with at least one profile Python 3.8+ with pip install oci oci-cli Bash or Zsh shell OCIDs for your compartments (Governance > Compartments in the Console — last time you need it) Instructions Step 1: Install and Verify the OCI CLI Step 2: Set Up Multiple Profiles Edit ~/.oci/config with profiles for each environment: Switch profiles with the --profile flag or OCICLIPROFILE env var: Step 3: Environment Variables and .env File Create a project .env file for compartment OCIDs and region defaults: Step 4: Shell Aliases for Common Operations Add these to your ~/.bashrc or ~/.zshrc: Step 5: Common CLI Workflows List and filter resources with JMESPath queries: Instance lifecycle from CLI: Object storage operations: Step 6: Python SDK Local Dev Script Create a reusable dev helper: Step 7: Project Structure Output Successful setup produces: OCI CLI installed and verified with oci iam region list Multi-profile ~/.oci/config for dev/staging/prod switching Shell aliases for common OCI operations (instances, buckets, health) A reusable Python dev helper script for listing resources and health checks Environment variable management via .env for project-specific OCIDs Error Handling Error Code Cause Solution ------- ------ ------- ---------- NotAuthenticated 401 Wrong profile or expired key Check OCICLIPROFILE matches a val …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/oraclecloud-local-dev-loop

View the source on GitHub

Browse the @skills marketplace