Skills

Oci Functions Deploy

Build, configure, scaffold, and deploy OCI Functions from a local machine using a...

Install

npx skills add oracle/skills --skill oci-functions-deploy -g -a claude-code -y
Repository
oracle/skills909
Category
DevOps
Updated
26d ago
License
UPL-1.0
Context cost
Mediumabout 3,000 tokens
Runs scripts
Yes, review before use

What it does

Build, configure, scaffold, and deploy OCI Functions from a local machine using a dependency-first, Fn-context-guided flow with argv-safe mutation execution, nonce-scoped confirmations, and a canonical lowercase machine-readable contract. Use when asked to validate/install Fn, OCI CLI, and Docker, configure or create Fn contexts, validate OCI session and Docker registry auth from Fn context values, choose or create a Functions application, scaffold Java, Python, or Node functions, and deploy them. Network creation is supported only as an explicit advanced branch.

OCI Functions Deploy

Overview

Use this skill for local macOS/Linux OCI Functions workstations. Windows automation is out of scope for this skill and should be handled manually. OCI Cloud Shell is also out of scope for the current workflow; if the user is in Cloud Shell, do not reuse this local automation flow blindly.

This skill supports Java, Python, and Node scaffolding and deploy automation. OCI Functions supports additional runtimes, but they are not scaffolded or deployed automatically by this skill.

Resolve deployment values with this precedence everywhere in the flow:

  • explicit user-provided values collected in chat or passed as script flags
  • active Fn context values
  • derived values from already-resolved inputs
  • OCI/CLI defaults

Execution modes:

  • interactive: confirmations are gathered via terminal prompts for mutating actions.
  • agent-mediated: confirmations are per-command and single-use. Approval must include CONFIRM_RESPONSE=yes, a matching CONFIRM_ACTION_ID, and the nonce emitted for that exact mutation in CONFIRM_NONCE.

Read vs Mutate Policy

  • read: dependency checks, context inspection, OCI session validation, Docker auth inspection, application listing, dry-run validation. Run without confirmation.
  • mutate: install/start, create/update contexts, Docker login, app creation, advanced network creation, fn init, and fn deploy. Require confirmation.
  • If a command is ambiguous, treat it as mutating and confirm it.

Gating Table

Read the whole SKILL.md on GitHub

More in DevOps