oracle-tuning-ptbr

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

A guide for finding and fixing performance problems in Oracle 19c databases.

In plain words
What is it for?
Use it to investigate slow queries, choose indexes, inspect SQL and wait events, fix statistics or bind-variable issues, review AWR and ASH data, and evaluate optimizer hints.
Why use it?
It helps explain why queries are slow by examining execution plans, indexes, SQL activity, waits, statistics, and hard parses.

Skill for Claude CodeCodex

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

Good fit Use it to investigate slow queries, choose indexes, inspect SQL and wait events, fix statistics or bind-variable issues, review AWR and ASH data, and evaluate optimizer hints.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maxwbh/oracle-skills-ptbr/oracle-tuning-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-tuning-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-tuning-ptbr

README.md
[![agentmods](https://agentmods.dev/badge/skills/maxwbh/oracle-skills-ptbr/oracle-tuning-ptbr/github.svg)](https://agentmods.dev/skills/maxwbh/oracle-skills-ptbr/oracle-tuning-ptbr)
Your own site
<a href="https://agentmods.dev/skills/maxwbh/oracle-skills-ptbr/oracle-tuning-ptbr"><img src="https://agentmods.dev/badge/skills/maxwbh/oracle-skills-ptbr/oracle-tuning-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-tuning-ptbr

Your own site · 80×15
<a href="https://agentmods.dev/skills/maxwbh/oracle-skills-ptbr/oracle-tuning-ptbr"><img src="https://agentmods.dev/badge/skills/maxwbh/oracle-skills-ptbr/oracle-tuning-ptbr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 170 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,240 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.00170 $0.01240
Opus 5 $0.00085 $0.00620
Sonnet 5 $0.00034 $0.00248
Haiku 4.5 $0.00017 $0.00124

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

Security

Grade A, and why

oracle-tuning-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-tuning-ptbr/SKILL.md · 76 lines

How it starts

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

oracle-tuning-ptbr — v2.0.0

Performance tuning Oracle 19c — análise de planos de execução, índices, AWR e ASH em tempo real.

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

Áreas cobertas

Área Reference Assets
Performance references/performance-tuning.md explain_plan_workflow.sql, index_strategy_examples.sql

Quando ativar

  • Query lenta — análise de explain plan, AUTOTRACE, DBMS_XPLAN.DISPLAY_CURSOR
  • Índices: B-Tree, Bitmap, Function-Based, Composite, Invisible
  • V$SQL, V$SQLAREA — top SQL por ELAPSED_TIME, CPU_TIME, BUFFER_GETS
  • V$SESSION_WAIT, V$SYSTEM_EVENT — wait event analysis
  • Hard parse alto: bind variables ausentes, cursor sharing
  • Cardinality errada: DBMS_STATS, METHOD_OPT, HISTOGRAM
  • AWR em tempo real: DBA_HIST_SQLSTAT, DBA_HIST_SYSTEM_EVENT (requer Diagnostics Pack)
  • ASH: V$ACTIVE_SESSION_HISTORY, DBA_HIST_ACTIVE_SESS_HISTORY
  • Hints: /*+ APPEND */, /*+ INDEX */, /*+ PARALLEL */, /*+ FIRST_ROWS */
  • MERGE vs loop, BULK COLLECT para I/O pesado
  • Estatísticas: GATHER_SCHEMA_STATS, GATHER_TABLE_STATS, lock stats

Não usar para: DBA ops (sessão/lock/kill), código PL/SQL novo, APEX, ORDS.

Princípios canônicos

  • Medir antes de otimizar. Baseline com SET TIMING ON + AUTOTRACE. Sem medição, otimização é placebo.
  • Bind variables primeiro. Hard parse elevado em V$SQLAREA resolve antes de qualquer tuning de index.
  • Index ≠ sempre melhor. Full scan em tabela pequena ou query retornando > 10% das linhas geralmente vence B-Tree.
  • AWR requer licença. DBA_HIST_* → Diagnostics Pack obrigatório. Checar control_management_pack_access.
  • Histogram nas colunas com skew. Sem histogram, optimizer usa densidade plana → plano errado em distribuição assimétrica.
  • CREATE INDEX ONLINE em produção — sem ONLINE, bloqueia DML.

Referências cruzadas

Precisa de Skill
PL/SQL com BULK COLLECT, loop otimizado oracle-plsql-ptbr
AWR histórico, sessões, DBA operacional oracle-dba-ptbr
Query lenta em report APEX oracle-apex-ptbr
Naming Trivadis em scripts de tuning oracle-trivadis-ptbr

Read the full file on GitHub · 76 lines

Files

What ships with it

3 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 · 76 lines · 170 tokens per session scan A 29eacbbc3a2a

Subscribe to this mod's changes

oracle-tuning-ptbr is a skill published in the GitHub repository Maxwbh/oracle-skills-ptbr (2 stars, last pushed 3mo ago), licensed MIT. It adds 170 tokens to every session and 1,240 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