OCI Administrator skill for Database Management (DBM) and Operations Insights (OPSI) enablement, validation, and troubleshooting for OCI databases. Use when working with DBM private endpoints, managed databases, OPSI database insights, Performance Hub, AWR/ADDM/ASH, DBSNMP monitoring users, Data Safe target drift, Management Agent-backed Log Analytics ingestion for DBCS/Base DB, DBM/OPSI work requests, Database Insight lifecycle flaps, or Base Database Service observability. Triggers: DBM, Database Management, OPSI, Operations Insights, Performance Hub, AWR, ADDM, ASH, DBSNMP, Database Insight, create-pe-comanged-database, DbcsEntityChangeWorkflowFailed, managed-database, database-insights, and DB log ingestion.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
OCI Administrator skill for Database Management (DBM) and Operations Insights (OPSI) enablement, validation, and troubleshooting for OCI databases. Use when working with DBM private endpoints, managed databases, OPSI database insights, Performance Hub, AWR/ADDM/ASH, DBSNMP monitoring users, Data Safe target drift, Management Agent-backed Log Analytics ingestion for DBCS/Base DB, DBM/OPSI work requests, Database Insight lifecycle flaps, or Base Database Service observability. Triggers: DBM, Database Management, OPSI, Operations Insights, Performance Hub, AWR, ADDM, ASH, DBSNMP, Database Insight, create-pe-comanged-database, DbcsEntityChangeWorkflowFailed, managed-database, database-insights, and DB log ingestion.
OCI DBM / OPSI
Enable and troubleshoot OCI Database Management and Operations Insights without
leaking database topology or credentials. This skill is for the OCI control
plane and monitoring setup around a database; SQL tuning and deep in-database
work still routes to database-specific skills.
discover DB system → CDB → PDBs with SDK/CLI fallback → verify network/private endpoint → validate DBSNMP/open grants → enable DBM → create OPSI insight → poll work requests
Validate existing DB observability
list managed databases → GET known OPSI insight IDs → verify DBM status, OPSI lifecycle, connection status, and work-request errors
Fix Performance Hub/AWR gaps
verify DBSNMP privileges → enable PDB AWR autoflush where needed → seed snapshots → validate ADDM/AWR views
Wire Log Analytics DB logs
require Management Agent-backed entity → normalize built-in source names → use current assoc upsert-assocs payload shape → verify ingestion
Safety notes
Passwords and wallets belong in Vault or ignored local files only.
Do not redact parsed OCI JSON before joining by OCID; redact only at display
boundaries.
DBM enabled does not prove OPSI enabled. Validate each service separately.
Database grants can have licensing implications; call that out before applying
Performance Hub, AWR, ADDM, or SQL Tuning privileges.
Expected output
Finding: <DBM/OPSI state or failure>
Evidence: <redacted work request, lifecycle, grant, or ingestion status>
Action: <read-only check, dry-run, or gated command>
Verification: <managed-database, insight GET, work-request, SQL grant, or LA row>
KB: <known KB applied, or new sanitized KB entry added>