oracle-plsql-ptbr

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

A guide for writing and refactoring Oracle 19c PL/SQL, Oracle's procedural programming language for database code.

In plain words
What is it for?
Use it for packages, procedures, functions, types, cursors, bulk processing, dynamic SQL, MERGE statements, triggers, large text or binary values, logging, and edition-based redefinition.
Why use it?
It provides applicable patterns for database procedures and large data operations, including handling errors, large values, and database changes safely.

Skill for Claude CodeCodex

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

Good fit Use it for packages, procedures, functions, types, cursors, bulk processing, dynamic SQL, MERGE statements, triggers, large text or binary values, logging, and edition-based redefinition.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/maxwbh/oracle-skills-ptbr/oracle-plsql-ptbr"><img src="https://agentmods.dev/badge/skills/maxwbh/oracle-skills-ptbr/oracle-plsql-ptbr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 190 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,660 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.00190 $0.01660
Opus 5 $0.00095 $0.00830
Sonnet 5 $0.00038 $0.00332
Haiku 4.5 $0.00019 $0.00166

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

Security

Grade A, and why

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

How it starts

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

oracle-plsql-ptbr — v2.0.0

PL/SQL Oracle 19c seguindo Trivadis Guidelines 4.4. Foco em código correto, seguro e performático.

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

Áreas cobertas

Área Reference Assets
EBR (zero downtime) references/ebr-editioning-views.md (conceitual)
PL/SQL references/oracle-trivadis-ptbr package_header.sql, package_body.sql, exception_template.sql, bulk_processing_template.sql, dml_alternatives_to_plsql.sql, nocopy_for_lobs.sql, clob_blob_operations.sql, logger_integration.sql, triggers_canonicos.sql

Referência cruzada de nomenclatura: padrão Trivadis 4.4 completo (prefixos, estrutura, naming PT-BR) está em oracle-trivadis-ptbr. Esta skill aplica as convenções automaticamente — carregue oracle-trivadis-ptbr quando o foco for revisão explícita de padrão.

Quando ativar

  • Criação ou refatoração de packages, procedures, functions, types
  • BULK COLLECT + FORALL (loop PL/SQL em volume)
  • NOCOPY para BLOB/CLOB > 100KB ou collections grandes em IN OUT
  • EXECUTE IMMEDIATE com bind variables (SQL dinâmico)
  • MERGE INTO como substituto de loop SELECT/INSERT/UPDATE
  • LOBs: leitura em chunks, Base64, SHA-256, DBMS_LOB
  • Compound trigger (auditoria, surrogate keys, cross-edition)
  • EBR: editioning views, cross-edition triggers, deploy zero downtime
  • Logger (OraOpenSource): log_error, log_warn, log_info, log_permanent
  • Qualquer menção a AUTONOMOUS_TRANSACTION, PRAGMA, DBMS_ERRLOG

Não usar para: APEX pages/regions/items, ORDS endpoints/modules, DBA ops (sessão/lock/tablespace), tuning de queries.

Princípios canônicos

  1. SQL puro antes de PL/SQL. Se MERGE, INSERT SELECT ou UPDATE com CASE resolve — use. PL/SQL só quando há lógica de negócio por linha, chamadas externas ou coordenação complexa.
  2. Bind variables sempre. Em EXECUTE IMMEDIATE use USING. Identificadores dinâmicos → DBMS_ASSERT.simple_sql_name.
  3. Bulk em loops. BULK COLLECT + FORALL. Com LIMIT para volumes > 100k. DBMS_ERRLOG quando cabe DML único.
  4. Exception com contexto. lc_nome_unidade CONSTANT VARCHAR2(60) em toda procedure pública. Re-raise via raise_application_error.
  5. ROLLBACK explícito antes do re-raise em handlers com DML. Caller decide o commit.
  6. Logger em vez de DBMS_OUTPUT em produção.
  7. Privilégios mínimos. Schema owner faz DDL; app user faz DML.
  8. Auditabilidade. criado_em, criado_por, atualizado_em, atualizado_por em tabelas de domínio.
  9. NOCOPY para LOB/collection grande em IN OUT/OUT.
  10. Triggers não contêm regra de negócio. Auditoria, surrogate key, cross-edition EBR.
  11. Sempre compound trigger quando trigger é necessário.
  12. EBR para zero downtime. Editioning views + editions + cross-edition triggers.

Read the full file on GitHub · 92 lines

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 · 92 lines · 190 tokens per session scan A 1d22ec3050ff

Subscribe to this mod's changes

oracle-plsql-ptbr is a skill published in the GitHub repository Maxwbh/oracle-skills-ptbr (2 stars, last pushed 3mo ago), licensed MIT. It adds 190 tokens to every session and 1,660 once invoked, about $0.0010 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

golang-database

Comprehensive guide for Go database access. Covers parameterized queries, struct scanning, NULLable column handling, error patterns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context propagation, and migration tooling. Use this skill whenever writing, reviewing, or debugging…

yzfly/skills · 116 tokens

golang-samber-hot

In-memory caching in Golang using samber/hot — eviction algorithms (LRU, LFU, TinyLFU, W-TinyLFU, S3FIFO, ARC, TwoQueue, SIEVE, FIFO), TTL, cache loaders, sharding, stale-while-revalidate, missing key caching, and Prometheus metrics. Apply when using or adopting samber/hot, when the codebase imports…

yzfly/skills · 122 tokens

no-bare-casts

Writing as in TypeScript or TSX production code, modifying a file that contains a bare as cast, silencing a type error with a cast, encountering as unknown as, or reviewing a cast site.

prisma/orm · 52 tokens

azure-resource-manager-postgresql-dotnet

Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "PostgreSQL", "PostgreSqlFlexibleServer", "PostgreSQL Flexible Server", "Azure Database for…

microsoft/skills · 97 tokens

azure-data-tables-java

Build table storage applications with Azure Tables SDK for Java. Use when working with Azure Table Storage or Cosmos DB Table API for NoSQL key-value data, schemaless storage, or structured data at scale.

microsoft/skills · 47 tokens