# Oci Functions Deploy

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

- Repository: https://github.com/oracle/skills (909 stars)
- Category: DevOps
- License: UPL-1.0
- Last updated: 2026-10-09
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add oracle/skills --skill oci-functions-deploy -g -a claude-code -y`
Codex: `npx skills add oracle/skills --skill oci-functions-deploy -g -a codex -y`
Cursor: `npx skills add oracle/skills --skill oci-functions-deploy -g -a cursor -y`
Gemini CLI: `npx skills add oracle/skills --skill oci-functions-deploy -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add oracle/skills`

## Description

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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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

The rest: https://github.com/oracle/skills/blob/HEAD/oci/functions/oci-functions-deploy/SKILL.md
