From oci-administrator
OCI event-driven and serverless administration via oci-cli, Fn, and the OCI SDK: OCI Functions (applications, fn deploy to OCIR, invoke, config, memory/ timeout), the Events service (rules, CloudEvents eventType conditions, FAAS/ONS/ STREAMING actions), Notifications/ONS (topics, subscriptions, the PENDING confirmation gotcha), Service Connector Hub (source→task→target fan-out and the serviceconnector service-principal policy), and Streaming as transport. Use whenever a request mentions OCI Functions, fn deploy, FDK, oci fn invoke, Events rule, eventType, FAAS action, Notifications, ONS topic/subscription, Service Connector Hub, SCH, connector hub, serviceconnector principal, put_messages, TRIM_HORIZON, OCI Streaming Kafka compatibility, Kafka SASL, Kafka Connect, SOC4Kafka, or event-driven/serverless OCI automation. Reads are safe; create/update/invoke go through the shared safety core.
How this skill is triggered — by the user, by Claude, or both
Slash command
/oci-administrator:oci-events-functionsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Build and operate event-driven/serverless OCI safely. Listing/getting is safe;
Build and operate event-driven/serverless OCI safely. Listing/getting is safe;
creating apps/functions/rules/topics/subscriptions/connectors and invoking
functions are mutations gated by run_mutating / confirm. All CLI runs
through oci_cli (../../scripts/common.sh). Never inline real OCIDs, OCIR
namespaces, emails, or endpoints — use <PLACEHOLDER> tokens.
./scripts/oci_preflight.sh -c <COMPARTMENT_OCID>
python3 scripts/kb_lookup.py "service connector no data" events-functions
Read ../../references/events-functions.md for command shapes, the SCH service-principal policy, and end-to-end recipes, and ../../references/tenancy-safety.md for the safety rules.
| Request mentions… | Go to |
|---|---|
| function, fn deploy, invoke, FDK, app, OCIR image | Functions |
| events rule, eventType, "react to", FAAS/ONS/STREAMING action | Events |
| topic, subscription, email/HTTPS/PagerDuty/Slack alert | Notifications (ONS) |
| service connector, SCH, fan-out logs/metrics, serviceconnector | Service Connector Hub |
| put_messages, stream vs stream pool, TRIM_HORIZON | Streaming (transport) |
| Kafka client, Kafka Connect, SOC4Kafka, SASL auth, OCI Streaming compatibility | Streaming Kafka API |
| "rule never fires" / "SCH ACTIVE but empty" / "email never arrives" | Gotchas |
| Task | Sequence |
|---|---|
| Deploy & wire a function | fn deploy an amd64 image (KB-084) → verify the app/function exists → events rule create with a FAAS action → trigger a test event |
| Rule never fires | enable emit-events on the source resource (KB-087) → check the rule's eventType condition matches → verify the FAAS/ONS target → trigger and watch |
| Fan-out logs/metrics | service-connector create (source → target) → grant the serviceconnector principal per-source/target verbs (KB-085) → confirm data actually moves, not just ACTIVE |
| Notifications never arrive | ons topic create → subscription create → confirm it leaves PENDING → ACTIVE (KB-086) → publish a test message |
| Kafka-compatible consumer on Streaming | verify stream/pool/region → build SASL username from the same IAM user that owns the auth token → include identity-domain prefix in the username → inspect consumer logs for SASL/metadata errors (KB-106) |
--platform linux/amd64.serviceconnector principal — without per-source/target
IAM (stream-pull/stream-consume, target verb), it goes ACTIVE but moves
no data.PENDING until confirmed — messages drop
silently; verify lifecycle-state == ACTIVE.put_messages can return 200 with per-entry .error.fn invoke are mutations — confirm / run_mutating, prefer
OCI_SKILLS_DRY_RUN first.redact output.serviceconnector principal — scope grants to the
specific compartment + the exact source/target verbs, not broad manage.oci flags. Fetch the exact command shape first:
python3 scripts/oci_cli_help.py <service> <op>.**Finding** — the wiring state / why it isn't firing (names, not OCIDs).
**Evidence** — redacted rule condition / SCH source-target / subscription state.
**Action** — exact command(s); creates/invokes gated by confirm/dry-run.
**Verification** — trigger an event / publish a test message / re-check SCH data flow.
**KB** — KB entry used (events-functions), or new KB-<n> added.
Functions · Events · Streaming. Full list in the events-functions reference.
Open Knowledge Format grounding — every doc link here is registered and liveness-checked in the oracle-docs.md index (the pack's single source of truth). When extending this skill to build an OCI customer solution, cite the most specific official page through that index so every claim stays verifiable; the non-official MCP gateway is never a source of truth.
npx claudepluginhub adibirzu/oci-skills --plugin oci-administratorProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.