oracle-dba-ptbr

oracle-dba-ptbr is a skill for Claude Code, Codex from Maxwbh/oracle-skills-ptbr. It costs 185 tokens per session (1,320 once invoked), scanned A, original, MIT.

A guide for operating Oracle 19c databases and querying their built-in status and administration views.

In plain words
What is it for?
Use it to handle blocked sessions, RAC instances, flashback queries, invalid objects, full tablespaces, statistics, AWR and ASH history, container databases, and Data Guard.
Why use it?
It helps investigate database incidents and operational problems using information about sessions, locks, storage, objects, history, and configuration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to handle blocked sessions, RAC instances, flashback queries, invalid objects, full tablespaces, statistics, AWR and ASH history, container databases, and Data Guard.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maxwbh/oracle-skills-ptbr/oracle-dba-ptbr
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Maxwbh/oracle-skills-ptbr --skill oracle-dba-ptbr
Clone the repo
git clone --depth 1 https://github.com/Maxwbh/oracle-skills-ptbr

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for oracle-dba-ptbr

README.md
[![agentmods](https://agentmods.dev/badge/skills/maxwbh/oracle-skills-ptbr/oracle-dba-ptbr/github.svg)](https://agentmods.dev/skills/maxwbh/oracle-skills-ptbr/oracle-dba-ptbr)
Your own site
<a href="https://agentmods.dev/skills/maxwbh/oracle-skills-ptbr/oracle-dba-ptbr"><img src="https://agentmods.dev/badge/skills/maxwbh/oracle-skills-ptbr/oracle-dba-ptbr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for oracle-dba-ptbr

Your own site · 80×15
<a href="https://agentmods.dev/skills/maxwbh/oracle-skills-ptbr/oracle-dba-ptbr"><img src="https://agentmods.dev/badge/skills/maxwbh/oracle-skills-ptbr/oracle-dba-ptbr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 185 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,320 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00185 $0.01320
Opus 5 $0.00093 $0.00660
Sonnet 5 $0.00037 $0.00264
Haiku 4.5 $0.00018 $0.00132

Measured 12d ago against content hash 80b4caaedbd3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

oracle-dba-ptbr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/oracle-dba-ptbr/SKILL.md · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.

oracle-dba-ptbr — v2.0.0

DBA operacional Oracle 19c e dicionário completo de views (estáticas e dinâmicas).

Desenvolvido por: Maxwell da Silva Oliveira — M&S do Brasil LTDA

Áreas cobertas

Área Reference Assets
DBA operacional references/dba-operations.md session_management.sql, flashback_query.sql, recompile_invalid_objects.sql
Oracle Data Dictionary references/data-dictionary-ptbr.md (queries embutidas no reference)

Quando ativar

  • Sessões travadas, bloqueios, blocking_session, kill session
  • RAC: GV$SESSION, GV$LOCK, INST_ID, kill cross-instance
  • Flashback query (AS OF TIMESTAMP, AS OF SCN) e FLASHBACK TABLE
  • Objetos inválidos: listar, recompilar, dependências
  • Tablespace: uso, datafiles, free space, autoextend
  • Estatísticas: DBMS_STATS, last_analyzed, locked stats
  • AWR histórico: DBA_HIST_*verifica licença Diagnostics Pack primeiro
  • ASH: V$ACTIVE_SESSION_HISTORY, DBA_HIST_ACTIVE_SESS_HISTORY
  • Dúvidas sobre edição: SE2 vs EE, V$OPTION
  • CDB/PDB: V$PDBS, V$CONTAINERS, CDB_*, CON_ID
  • Data Guard: V$DATAGUARD_STATUS, V$MANAGED_STANDBY
  • Hierarquia de views: X$, V$, GV$, DBA_*, ALL_*, USER_*

Não usar para: código PL/SQL novo, APEX, ORDS, explain plan/index tuning.

Princípios canônicos

  • Privilégio mínimo: app user faz DML; schema owner faz DDL; DBA só quando necessário.
  • KILL com cautela: verifica transação ativa antes — rollback pode demorar horas.
  • V$OPTION antes de DBA_HIST_*: confirma Diagnostics Pack ativo (control_management_pack_access). Uso sem licença é infração contratual.
  • RAC: V$SESSION = instância local; GV$SESSION = todas. Sempre inclui INST_ID no kill em RAC.
  • Flashback: respeita undo_retention. Para períodos longos: Flashback Database (configuração prévia).
  • CDB: CDB_* + CON_ID para visão cross-container. DBA_* = container corrente.

Read the full file on GitHub · 79 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 79 lines · 185 tokens per session scan A 80b4caaedbd3

Subscribe to this mod's changes

oracle-dba-ptbr is a skill published in the GitHub repository Maxwbh/oracle-skills-ptbr (2 stars, last pushed 3mo ago), licensed MIT. It adds 185 tokens to every session and 1,320 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

oracle-expert

Expert in Oracle Database, PL/SQL programming, Oracle RAC, Data Guard, performance tuning, backup/recovery, and enterprise database administration. Use when the user mentions database, enterprise, ERP, PL/SQL, Oracle RAC, or Data Guard, or when the task involves Oracle Architecture, PL/SQL Programming, Performance &…

personamanagmentlayer/pcl · 81 tokens

nebula-logger-purging-and-retention

Use this skill when the user wants to configure how long Nebula Logger keeps log records before deleting or archiving them. Covers retention date semantics on Logc, the LogBatchPurger batch job, LogBatchPurgeScheduler, purge action values, and how to tune retention per user, profile, or scenario.

jongpie/NebulaLogger · 79 tokens

databricks-live-unity-catalog-grant-guard-at-azure

Mutating-runtime live guard for Unity Catalog privilege management on Azure Databricks. Executes exactly ONE GRANT or REVOKE of a single privilege on a single Unity Catalog securable (schema, table, or volume) to a single principal — with explicit written human approval, dry-run preflight, prior-state capture, and a…

VincentChuWaiChow/vanguard-frontier-agentic · 113 tokens

oracle-apex-object-lock

Use for installing, upgrading, auditing, retaining, uninstalling, and enforcing the cooperative PKDEVOBJECTLOCK runtime before editing, compiling, replacing, or testing versioned PL/SQL and other supported objects in a shared Oracle DEV schema.

andre-simplifica/oracle-apex-ai-skills · 53 tokens

alibaba-live-rds-polardb-mutation-guard

Gate RDS/PolarDB instance deletion, spec downgrade, and backup policy removal — database deletion without verified backup is permanently destructive.

VincentChuWaiChow/vanguard-frontier-agentic · 39 tokens

alibaba-waf-reliability-review

Assess Alibaba Cloud workload reliability: multi-AZ ECS topology, SLB/ALB/NLB load balancing, Auto Scaling health policies, RDS/PolarDB HA failover, backup and cross-region DR, and Cloud Monitor/ARMS observability coverage.

VincentChuWaiChow/vanguard-frontier-agentic · 61 tokens