Agent skill · software engineering · jeremylongshore
oraclecloud-data-handling
Manage OCI Object Storage \u2014 buckets, uploads, PARs, and lifecycle\
Why this skill is useful
Provides specific patterns and code snippets for managing OCI Object Storage that the AI wouldn't reliably generate on its own.
What it needs
Requires oci installed locally. About 4k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.
What this skill does
OCI Object Storage — Buckets, PARs & Lifecycle Overview Manage OCI Object Storage using the Python SDK. Object Storage is OCI's S3 equivalent, but PAR (Pre-Authenticated Request) URLs expire silently with no error — the URL just returns 404. Multipart uploads over 50GB require manual part management. Lifecycle policies can delete data unexpectedly if misconfigured. This skill covers the safe patterns for all of these operations. Purpose: Upload, download, and share objects safely with proper PAR expiry management and lifecycle policy configuration. Prerequisites OCI Python SDK — pip install oci Config file at ~/.oci/config with fields: user, fingerprint, tenancy, region, keyfile IAM policy — Allow group Developers to manage objects in compartment <name> Python 3.8+ Instructions Step 1: Discover Namespace and Create a Bucket Every OCI tenancy has a unique Object Storage namespace. You must discover it before any operation. Step 2: Upload Objects (Simple and Multipart) Use simple upload for files under 50MB. For larger files, use the UploadManager which handles multipart automatically. Step 3: Download and List Objects Step 4: Create Pre-Authenticated Requests (PARs) Safely PARs are OCI's signed URLs. Critical gotcha: expired PARs return 404 NotFound, not 401 or 403. Callers assume the object was deleted when it is actually just the PAR that expired. Step 5: Configure Lifecycle Policies Lifecycle rules can auto-archive or delete objects. Warning: A rule with timeamount=30 and action=DELETE will permanently delete objects after 30 days with no recovery unless versioning is enabled. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills jeremylongshore/oraclecloud-data-handling--ae19c3