[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7946BP75NNWQQF1BTPZKMJR":3,"skill-same:01M7946BP75NNWQQF1BTPZKMJR":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M7946BP75NNWQQF1BTPZKMJR","oraclecloud-sdk-patterns",null,"Production-grade OCI SDK patterns for client lifecycle, retry logic, and memory leak avoidance.\nUse when building long-running OCI services, fixing memory leaks with Instance Principal auth, or implementing retry\u002Fbackoff.\nTrigger with \"oci sdk patterns\", \"oci retry\", \"oci memory leak\", \"oraclecloud client lifecycle\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--oraclecloud-pack--oraclecloud-sdk-patterns\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: oraclecloud-sdk-patterns\ndescription: |\n  Production-grade OCI SDK patterns for client lifecycle, retry logic, and memory leak avoidance.\n  Use when building long-running OCI services, fixing memory leaks with Instance Principal auth, or implementing retry\u002Fbackoff.\n  Trigger with \"oci sdk patterns\", \"oci retry\", \"oci memory leak\", \"oraclecloud client lifecycle\".\nallowed-tools: Read, Write, Edit, Bash(pip:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, oraclecloud, oci]\ncompatible-with: claude-code\n---\n\n# Oracle Cloud SDK Patterns\n\n## Overview\n\nProduction patterns for the OCI Python SDK that avoid the most common pitfalls: memory leaks from Instance Principal authentication (~10 MiB\u002Fhour if clients are recreated per request), missing retry logic for 429\u002F500 errors, and timeout misconfiguration across different service clients. The OCI SDK has different timeout defaults depending on the service (Compute: 60s, Object Storage: 300s for uploads), and none of them set connection timeouts by default.\n\n**Purpose:** Provide correct client lifecycle (create once, reuse, close), exponential backoff retry, singleton patterns that prevent the Instance Principal memory leak, and per-service timeout configuration.\n\n## Prerequisites\n\n- **Completed `oraclecloud-install-auth`** — valid `~\u002F.oci\u002Fconfig`\n- **Python 3.8+** with `pip install oci`\n- Familiarity with OCI service clients (`ComputeClient`, `ObjectStorageClient`, etc.)\n\n## Instructions\n\n### Step 1: Singleton Client Pattern (Avoids Memory Leak)\n\nInstance Principal authentication allocates new security tokens on each client instantiation. Creating clients per-request leaks ~10 MiB\u002Fhour. Use a singleton:\n\n```python\nimport oci\nimport threading\n\nclass OCIClients:\n    \"\"\"Thread-safe singleton for OCI service clients.\n\n    Prevents the Instance Principal memory leak by reusing clients\n    instead of creating new ones per request.\n    \"\"\"\n    _lock = threading.Lock()\n    _instance = None\n\n    def __init__(self):\n        self._config = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\n        oci.config.validate_config(self._config)\n\n        # Create clients once — reuse everywhere\n        self._compute = None\n        self._network = None\n        self._object_storage = None\n        self._identity = None\n\n    @classmethod\n    def get(cls):\n        if cls._instance is None:\n            with cls._lock:\n                if cls._instance is None:\n                    cls._instance = cls()\n        return cls._instance\n\n    @property\n    def config(self):\n        return self._config\n\n    @property\n    def compute(self):\n        if self._compute is None:\n            self._compute = oci.core.ComputeClient(\n                self._config, retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY\n            )\n        return self._compute\n\n    @property\n    def network(self):\n        if self._network is None:\n            self._network = oci.core.VirtualNetworkClient(\n                self._config, retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY\n            )\n        return self._network\n\n    @property\n    def object_storage(self):\n        if self._object_storage is None:\n            self._object_storage = oci.object_storage.ObjectStorageClient(\n                self._config, retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY\n            )\n        return self._object_storage\n\n    @property\n    def identity(self):\n        if self._identity is None:\n            self._identity = oci.identity.IdentityClient(\n                self._config, retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY\n            )\n        return self._identity\n\n\n# Usage: never create clients directly\nclients = OCIClients.get()\ninstances = clients.compute.list_instances(\n    compartment_id=clients.config[\"tenancy\"]\n)\n```\n\n### Step 2: Timeout Configuration\n\nOCI SDK has no connection timeout by default. Set both connection and read timeouts explicitly:\n\n```python\nimport oci\n\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\n\n# Compute: 10s connect, 60s read\ncompute = oci.core.ComputeClient(\n    config,\n    timeout=(10, 60)  # (connect_timeout, read_timeout) in seconds\n)\n\n# Object Storage: 10s connect, 300s read (large uploads)\nobject_storage = oci.object_storage.ObjectStorageClient(\n    config,\n    timeout=(10, 300)\n)\n\n# Database: 10s connect, 120s read (long queries)\ndatabase = oci.database.DatabaseClient(\n    config,\n    timeout=(10, 120)\n)\n```\n\n### Step 3: Exponential Backoff Retry Strategy\n\nThe built-in `DEFAULT_RETRY_STRATEGY` retries on 429, 500, 502, 503, 504. For custom control:\n\n```python\nimport oci\n\ncustom_retry = oci.retry.RetryStrategyBuilder(\n    max_attempts_check=True,\n    max_attempts=5,\n    total_elapsed_time_check=True,\n    total_elapsed_time_seconds=300,\n    retry_max_wait_between_calls_seconds=30,\n    retry_base_sleep_time_seconds=2,\n    service_error_check=True,\n    service_error_retry_on_any_5xx=True,\n    service_error_retry_config={\n        429: []  # Retry on all 429 errors (no Retry-After header in OCI)\n    },\n    backoff_type=oci.retry.BACKOFF_DECORRELATED_JITTER\n).get_retry_strategy()\n\ncompute = oci.core.ComputeClient(config, retry_strategy=custom_retry)\n```\n\n### Step 4: Manual Retry with Error Classification\n\nFor fine-grained control over which errors to retry:\n\n```python\nimport time\nimport random\nimport oci\n\ndef call_with_retry(fn, max_retries=5, base_delay=2):\n    \"\"\"Execute an OCI SDK call with exponential backoff.\n\n    Retries on: 429 TooManyRequests, 500 InternalError, -1 timeout.\n    Raises immediately on: 401, 404, 400.\n    \"\"\"\n    for attempt in range(max_retries):\n        try:\n            return fn()\n        except oci.exceptions.ServiceError as e:\n            if e.status in (429, 500, 502, 503, 504) or e.status == -1:\n                delay = base_delay * (2 ** attempt) + random.uniform(0, 1)\n                print(f\"Attempt {attempt + 1} failed ({e.status}). Retry in {delay:.1f}s\")\n                time.sleep(delay)\n            else:\n                raise  # 401, 404, 400 — don't retry\n    raise RuntimeError(f\"Failed after {max_retries} retries\")\n\n# Usage\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\ncompute = oci.core.ComputeClient(config)\n\ninstances = call_with_retry(\n    lambda: compute.list_instances(compartment_id=config[\"tenancy\"])\n)\n```\n\n### Step 5: Pagination Helper\n\nOCI API responses are paginated. Use the built-in paginator instead of manual `opc-next-page` handling:\n\n```python\nimport oci\n\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\ncompute = oci.core.ComputeClient(config)\n\n# Automatic pagination — returns ALL instances\nall_instances = oci.pagination.list_call_get_all_results(\n    compute.list_instances,\n    compartment_id=config[\"tenancy\"]\n).data\n\nprint(f\"Total instances: {len(all_instances)}\")\n\n# Lazy pagination — yields pages (memory-efficient for large datasets)\nfor page in oci.pagination.list_call_get_all_results_generator(\n    compute.list_instances,\n    \"response\",\n    compartment_id=config[\"tenancy\"]\n):\n    for inst in page.data:\n        print(f\"{inst.display_name}: {inst.lifecycle_state}\")\n```\n\n### Step 6: Composite Operations (Wait for State)\n\nUse composite clients to launch-and-wait in one call:\n\n```python\nimport oci\n\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\ncompute = oci.core.ComputeClient(config)\ncompute_composite = oci.core.ComputeClientCompositeOperations(compute)\n\n# Launch and wait for RUNNING state\nlaunch_details = oci.core.models.LaunchInstanceDetails(\n    compartment_id=config[\"tenancy\"],\n    availability_domain=\"Uocm:US-ASHBURN-AD-1\",\n    display_name=\"sdk-pattern-demo\",\n    shape=\"VM.Standard.E4.Flex\",\n    shape_config=oci.core.models.LaunchInstanceShapeConfigDetails(\n        ocpus=1, memory_in_gbs=8\n    ),\n    source_details=oci.core.models.InstanceSourceViaImageDetails(\n        image_id=\"ocid1.image.oc1.iad.aaaa...\"\n    ),\n    create_vnic_details=oci.core.models.CreateVnicDetails(\n        subnet_id=\"ocid1.subnet.oc1.iad.aaaa...\"\n    )\n)\n\nresponse = compute_composite.launch_instance_and_wait_for_state(\n    launch_details,\n    wait_for_states=[\n        oci.core.models.Instance.LIFECYCLE_STATE_RUNNING\n    ]\n)\nprint(f\"Instance running: {response.data.id}\")\n```\n\n## Output\n\nAfter applying these patterns you have:\n- A thread-safe singleton client that avoids the Instance Principal memory leak\n- Explicit timeout configuration for each service client (connect + read)\n- Exponential backoff retry handling 429, 500, and timeout errors\n- Automatic pagination for listing large resource sets\n- Composite operations that wait for resource state transitions\n\n## Error Handling\n\n| Error | Code | Retry? | Notes |\n|-------|------|--------|-------|\n| TooManyRequests | 429 | Yes | OCI does not send Retry-After; use decorrelated jitter |\n| InternalError | 500 | Yes | Transient OCI service error |\n| NotAuthenticated | 401 | No | Config or key issue — fix credentials first |\n| NotAuthorizedOrNotFound | 404 | No | IAM policy or wrong OCID |\n| ServiceError status -1 | -1 | Yes | Connection timeout — increase timeout tuple |\n| CERTIFICATE_VERIFY_FAILED | — | No | SSL issue; see `oraclecloud-common-errors` |\n\n## Examples\n\n**Quick health check with timeout and retry:**\n\n```python\nimport oci\n\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\nidentity = oci.identity.IdentityClient(\n    config,\n    timeout=(5, 15),\n    retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY\n)\nregions = identity.list_regions().data\nprint(f\"Connected. {len(regions)} regions available.\")\n```\n\n## Resources\n\n- [OCI Python SDK Reference](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002Ftools\u002Fpython\u002Flatest\u002F) — full client API and retry configuration\n- [OCI SDK Troubleshooting](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002FContent\u002FAPI\u002FConcepts\u002Fsdk_troubleshooting.htm) — timeout and auth debugging\n- [OCI API Reference](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002Fapi\u002F) — REST API specs for all services\n- [OCI Known Issues](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002FContent\u002Fknownissues.htm) — SDK bugs and workarounds\n- [OCI Pricing](https:\u002F\u002Fwww.oracle.com\u002Fcloud\u002Fpricing\u002F) — service cost reference\n\n## Next Steps\n\nApply these patterns in `oraclecloud-hello-world` for compute, or see `oraclecloud-common-errors` for the complete error diagnostic reference when retry strategies surface persistent failures.\n","# Oracle Cloud SDK Patterns\n\n## Overview\n\nProduction patterns for the OCI Python SDK that avoid the most common pitfalls: memory leaks from Instance Principal authentication (~10 MiB\u002Fhour if clients are recreated per request), missing retry logic for 429\u002F500 errors, and timeout misconfiguration across different service clients. The OCI SDK has different timeout defaults depending on the service (Compute: 60s, Object Storage: 300s for uploads), and none of them set connection timeouts by default.\n\n**Purpose:** Provide correct client lifecycle (create once, reuse, close), exponential backoff retry, singleton patterns that prevent the Instance Principal memory leak, and per-service timeout configuration.\n\n## Prerequisites\n\n- **Completed `oraclecloud-install-auth`** — valid `~\u002F.oci\u002Fconfig`\n- **Python 3.8+** with `pip install oci`\n- Familiarity with OCI service clients (`ComputeClient`, `ObjectStorageClient`, etc.)\n\n## Instructions\n\n### Step 1: Singleton Client Pattern (Avoids Memory Leak)\n\nInstance Principal authentication allocates new security tokens on each client instantiation. Creating clients per-request leaks ~10 MiB\u002Fhour. Use a singleton:\n\n```python\nimport oci\nimport threading\n\nclass OCIClients:\n    \"\"\"Thread-safe singleton for OCI service clients.\n\n    Prevents the Instance Principal memory leak by reusing clients\n    instead of creating new ones per request.\n    \"\"\"\n    _lock = threading.Lock()\n    _instance = None\n\n    def __init__(self):\n        self._config = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\n        oci.config.validate_config(self._config)\n\n        # Create clients once — reuse everywhere\n        self._compute = None\n        self._network = None\n        self._object_storage = None\n        self._identity = None\n\n    @classmethod\n    def get(cls):\n        if cls._instance is None:\n            with cls._lock:\n                if cls._instance is None:\n                    cls._instance = cls()\n        return cls._instance\n\n    @property\n    def config(self):\n        return self._config\n\n    @property\n    def compute(self):\n        if self._compute is None:\n            self._compute = oci.core.ComputeClient(\n                self._config, retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY\n            )\n        return self._compute\n\n    @property\n    def network(self):\n        if self._network is None:\n            self._network = oci.core.VirtualNetworkClient(\n                self._config, retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY\n            )\n        return self._network\n\n    @property\n    def object_storage(self):\n        if self._object_storage is None:\n            self._object_storage = oci.object_storage.ObjectStorageClient(\n                self._config, retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY\n            )\n        return self._object_storage\n\n    @property\n    def identity(self):\n        if self._identity is None:\n            self._identity = oci.identity.IdentityClient(\n                self._config, retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY\n            )\n        return self._identity\n\n\n# Usage: never create clients directly\nclients = OCIClients.get()\ninstances = clients.compute.list_instances(\n    compartment_id=clients.config[\"tenancy\"]\n)\n```\n\n### Step 2: Timeout Configuration\n\nOCI SDK has no connection timeout by default. Set both connection and read timeouts explicitly:\n\n```python\nimport oci\n\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\n\n# Compute: 10s connect, 60s read\ncompute = oci.core.ComputeClient(\n    config,\n    timeout=(10, 60)  # (connect_timeout, read_timeout) in seconds\n)\n\n# Object Storage: 10s connect, 300s read (large uploads)\nobject_storage = oci.object_storage.ObjectStorageClient(\n    config,\n    timeout=(10, 300)\n)\n\n# Database: 10s connect, 120s read (long queries)\ndatabase = oci.database.DatabaseClient(\n    config,\n    timeout=(10, 120)\n)\n```\n\n### Step 3: Exponential Backoff Retry Strategy\n\nThe built-in `DEFAULT_RETRY_STRATEGY` retries on 429, 500, 502, 503, 504. For custom control:\n\n```python\nimport oci\n\ncustom_retry = oci.retry.RetryStrategyBuilder(\n    max_attempts_check=True,\n    max_attempts=5,\n    total_elapsed_time_check=True,\n    total_elapsed_time_seconds=300,\n    retry_max_wait_between_calls_seconds=30,\n    retry_base_sleep_time_seconds=2,\n    service_error_check=True,\n    service_error_retry_on_any_5xx=True,\n    service_error_retry_config={\n        429: []  # Retry on all 429 errors (no Retry-After header in OCI)\n    },\n    backoff_type=oci.retry.BACKOFF_DECORRELATED_JITTER\n).get_retry_strategy()\n\ncompute = oci.core.ComputeClient(config, retry_strategy=custom_retry)\n```\n\n### Step 4: Manual Retry with Error Classification\n\nFor fine-grained control over which errors to retry:\n\n```python\nimport time\nimport random\nimport oci\n\ndef call_with_retry(fn, max_retries=5, base_delay=2):\n    \"\"\"Execute an OCI SDK call with exponential backoff.\n\n    Retries on: 429 TooManyRequests, 500 InternalError, -1 timeout.\n    Raises immediately on: 401, 404, 400.\n    \"\"\"\n    for attempt in range(max_retries):\n        try:\n            return fn()\n        except oci.exceptions.ServiceError as e:\n            if e.status in (429, 500, 502, 503, 504) or e.status == -1:\n                delay = base_delay * (2 ** attempt) + random.uniform(0, 1)\n                print(f\"Attempt {attempt + 1} failed ({e.status}). Retry in {delay:.1f}s\")\n                time.sleep(delay)\n            else:\n                raise  # 401, 404, 400 — don't retry\n    raise RuntimeError(f\"Failed after {max_retries} retries\")\n\n# Usage\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\ncompute = oci.core.ComputeClient(config)\n\ninstances = call_with_retry(\n    lambda: compute.list_instances(compartment_id=config[\"tenancy\"])\n)\n```\n\n### Step 5: Pagination Helper\n\nOCI API responses are paginated. Use the built-in paginator instead of manual `opc-next-page` handling:\n\n```python\nimport oci\n\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\ncompute = oci.core.ComputeClient(config)\n\n# Automatic pagination — returns ALL instances\nall_instances = oci.pagination.list_call_get_all_results(\n    compute.list_instances,\n    compartment_id=config[\"tenancy\"]\n).data\n\nprint(f\"Total instances: {len(all_instances)}\")\n\n# Lazy pagination — yields pages (memory-efficient for large datasets)\nfor page in oci.pagination.list_call_get_all_results_generator(\n    compute.list_instances,\n    \"response\",\n    compartment_id=config[\"tenancy\"]\n):\n    for inst in page.data:\n        print(f\"{inst.display_name}: {inst.lifecycle_state}\")\n```\n\n### Step 6: Composite Operations (Wait for State)\n\nUse composite clients to launch-and-wait in one call:\n\n```python\nimport oci\n\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\ncompute = oci.core.ComputeClient(config)\ncompute_composite = oci.core.ComputeClientCompositeOperations(compute)\n\n# Launch and wait for RUNNING state\nlaunch_details = oci.core.models.LaunchInstanceDetails(\n    compartment_id=config[\"tenancy\"],\n    availability_domain=\"Uocm:US-ASHBURN-AD-1\",\n    display_name=\"sdk-pattern-demo\",\n    shape=\"VM.Standard.E4.Flex\",\n    shape_config=oci.core.models.LaunchInstanceShapeConfigDetails(\n        ocpus=1, memory_in_gbs=8\n    ),\n    source_details=oci.core.models.InstanceSourceViaImageDetails(\n        image_id=\"ocid1.image.oc1.iad.aaaa...\"\n    ),\n    create_vnic_details=oci.core.models.CreateVnicDetails(\n        subnet_id=\"ocid1.subnet.oc1.iad.aaaa...\"\n    )\n)\n\nresponse = compute_composite.launch_instance_and_wait_for_state(\n    launch_details,\n    wait_for_states=[\n        oci.core.models.Instance.LIFECYCLE_STATE_RUNNING\n    ]\n)\nprint(f\"Instance running: {response.data.id}\")\n```\n\n## Output\n\nAfter applying these patterns you have:\n- A thread-safe singleton client that avoids the Instance Principal memory leak\n- Explicit timeout configuration for each service client (connect + read)\n- Exponential backoff retry handling 429, 500, and timeout errors\n- Automatic pagination for listing large resource sets\n- Composite operations that wait for resource state transitions\n\n## Error Handling\n\n| Error | Code | Retry? | Notes |\n|-------|------|--------|-------|\n| TooManyRequests | 429 | Yes | OCI does not send Retry-After; use decorrelated jitter |\n| InternalError | 500 | Yes | Transient OCI service error |\n| NotAuthenticated | 401 | No | Config or key issue — fix credentials first |\n| NotAuthorizedOrNotFound | 404 | No | IAM policy or wrong OCID |\n| ServiceError status -1 | -1 | Yes | Connection timeout — increase timeout tuple |\n| CERTIFICATE_VERIFY_FAILED | — | No | SSL issue; see `oraclecloud-common-errors` |\n\n## Examples\n\n**Quick health check with timeout and retry:**\n\n```python\nimport oci\n\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\nidentity = oci.identity.IdentityClient(\n    config,\n    timeout=(5, 15),\n    retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY\n)\nregions = identity.list_regions().data\nprint(f\"Connected. {len(regions)} regions available.\")\n```\n\n## Resources\n\n- [OCI Python SDK Reference](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002Ftools\u002Fpython\u002Flatest\u002F) — full client API and retry configuration\n- [OCI SDK Troubleshooting](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002FContent\u002FAPI\u002FConcepts\u002Fsdk_troubleshooting.htm) — timeout and auth debugging\n- [OCI API Reference](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002Fapi\u002F) — REST API specs for all services\n- [OCI Known Issues](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002FContent\u002Fknownissues.htm) — SDK bugs and workarounds\n- [OCI Pricing](https:\u002F\u002Fwww.oracle.com\u002Fcloud\u002Fpricing\u002F) — service cost reference\n\n## Next Steps\n\nApply these patterns in `oraclecloud-hello-world` for compute, or see `oraclecloud-common-errors` for the complete error diagnostic reference when retry strategies surface persistent failures.\n",{"name":5,"tags":24,"author":28,"license":15,"version":29,"description":30,"allowed-tools":31,"compatible-with":32},[25,26,27],"saas","oraclecloud","oci","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Production-grade OCI SDK patterns for client lifecycle, retry logic, and memory leak avoidance.\nUse when building long-running OCI services, fixing memory leaks with Instance Principal auth, or implementing retry\u002Fbackoff.\nTrigger with \"oci sdk patterns\", \"oci retry\", \"oci memory leak\", \"oraclecloud client lifecycle\".\n","Read, Write, Edit, Bash(pip:*), Grep","claude-code","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--oraclecloud-pack--oraclecloud-sdk-patterns",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill oraclecloud-sdk-patterns",{"tool":48,"command":49},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill oraclecloud-sdk-patterns",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill oraclecloud-sdk-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--oraclecloud-pack--oraclecloud-sdk-patterns\u002FSKILL.md",true,[],[57,64,71,78,85,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]