What problem does it solve?
Deploying OCI Functions locally requires juggling Fn CLI contexts, OCI CLI authentication, Docker registry logins, application selection, and runtime scaffolding, with many manual steps that are easy to get wrong. This Skill orchestrates that entire flow with dependency-first validation, confirmation-gated mutations, and a machine-readable state contract.
Core Features & Use Cases
- Dependency and Context Validation: Detects and installs missing fn, oci, and docker tools, then validates or creates the Fn context (profile, compartment, api-url, registry) before any deploy.
- Confirmation-Gated Mutations: Every mutating action (installs, context updates, Docker login, app creation, fn init, fn deploy) passes through a nonce-scoped, single-use confirmation gate supporting interactive and agent-mediated approvals.
- Application and Network Management: Lists existing Functions applications for explicit reuse-or-create decisions, supports 1-3 subnets with optional shape and NSGs, and offers an opt-in advanced branch for VCN, gateway, route table, and subnet creation.
- Use Case: A developer on macOS asks to deploy a new Python function to OCI. The Skill checks dependencies, validates the OCI session and OCIR auth, prompts to reuse or create an application, scaffolds the function with fn init, and deploys it with fn deploy, confirming each mutation.
Quick Start
Ask the agent to deploy a new Python function named my-function to OCI Functions from this machine and follow the confirmation prompts.