dok3-oracle

dok3-oracle is a skill for Claude Code from LeeYudok/agents-scaffold. It costs 97 tokens per session (3,432 once invoked), scanned A, original, MIT.

A guide to Oracle Database behavior and SQL differences, especially for developers moving code from PostgreSQL. It explains version-specific features, empty strings, dates, text lengths, row limits, commits, and Oracle errors.

In plain words
What is it for?
Use it when writing SQL or PL/SQL for Oracle, checking compatibility across Oracle releases, or moving queries and database code from PostgreSQL to Oracle.
Why use it?
SQL that works on PostgreSQL can quietly produce different results or fail on Oracle. This guide highlights those differences so code matches the target Oracle version and avoids subtle data and query bugs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Part of the yd-skills plugin — 20 skills shipped together

Good fit Use it when writing SQL or PL/SQL for Oracle, checking compatibility across Oracle releases, or moving queries and database code from PostgreSQL to Oracle.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leeyudok/agents-scaffold/dok3-oracle
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 LeeYudok/agents-scaffold --skill dok3-oracle
Clone the repo
git clone --depth 1 https://github.com/LeeYudok/agents-scaffold

Made for: Claude Code.

Or install yd-skills, the plugin that ships this one along with the rest of its 20 skills.

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 dok3-oracle

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/leeyudok/agents-scaffold/dok3-oracle"><img src="https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/dok3-oracle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,432 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.00097 $0.03432
Opus 5.5 $0.00039 $0.01373
Sonnet 5.5 $0.00019 $0.00686
Haiku 4.5 $0.00010 $0.00343

Measured today against content hash 96b671de934b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dok3-oracle 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 today.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/verify_oracle_claims.py, tests/test_oracle_claims.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/yd-skills/skills/dok3-oracle/SKILL.md · 194 lines

How it starts

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

dok3-oracle

Oracle Database 엔진 고유의 문제가 대상이다. 정규화·인덱스 설계 같은 엔진 공통 이론은 dok3-db, PostgreSQL 운영은 dok3-pg 가 맡는다.

이 문서는 다른 엔진, 특히 PostgreSQL 에 익숙한 사람이 Oracle 에서 조용히 틀리는 지점만 담는다. 단언 대부분은 scripts/verify_oracle_claims.py 가 실제 Oracle 에서 재현한다 (10장). "실측" 이라고 적은 항목은 2026-10-04 에 확인한 값이다. 대상은 Oracle AI Database 26ai Free 23.26.3 이다(compatible=23.6.0, 문자셋 AL32UTF8).

0. 버전부터 확정한다

운영 DB 가 19c 인지 23ai 이상인지에 따라 같은 SQL 이 통과하거나 실패한다. 23ai 는 26ai 라는 이름으로도 배포되며 버전 번호는 23.x 다. 코드를 쓰기 전에 대상 버전을 확인한다.

SELECT banner_full FROM v$version;
SELECT value FROM nls_database_parameters WHERE parameter = 'NLS_CHARACTERSET';

23ai 에서 생긴 것은 19c 대상 코드에 쓰지 않는다. 이 문서에서 23ai 로 표시한 항목이 그렇다.

기능 19c 23ai 이상
BOOLEAN 컬럼 없다. NUMBER(1) 이나 CHAR(1) + CHECK 있다. WHERE f 로 바로 쓴다
FROM 없는 SELECT 1 FROM dual 이 필요하다 그대로 된다
DROP TABLE IF EXISTS 없다. PL/SQL 예외 처리로 감싼다 있다
IN 목록 최대 개수 1000개 65535개

IN 목록 한도는 23ai 에서 65535개로 늘었다. 65536번째에서 ORA-01795 가 난다(실측). 19c 의 1000개 한도는 이번 실측 범위 밖이다. 19c 대상이면 1000개를 넘는 목록을 임시 테이블이나 조인으로 바꾼다.

1. 빈 문자열은 NULL 이다

'' 는 NULL 이다. PostgreSQL 에서 옮긴 코드가 가장 많이 틀리는 곳이다.

  • WHERE s = '' 는 언제나 0행이다. 값이 비어 있는 행을 찾으려면 WHERE s IS NULL 을 쓴다.
  • NOT NULL 컬럼에 '' 를 넣으면 ORA-01400 이 난다. "빈 문자열은 허용, NULL 은 금지" 라는 구분은 Oracle 에서 표현할 수 없다. 필요하면 공백 한 칸 같은 센티널을 합의한다.
  • 'a' || NULL 은 'a' 다. PostgreSQL 은 NULL 을 돌려준다. 문자열 연결로 NULL 을 전파시켜 판정하던 코드는 결과가 바뀐다.

2. DATE 는 시각을 담는다

DATE 는 초 단위 시각까지 저장한다. PostgreSQL 의 date 와 다르다.

  • WHERE d = DATE '2026-10-04' 는 자정이 아닌 행을 놓친다. 하루를 고를 때는 범위 조건 d >= DATE '2026-10-04' AND d < DATE '2026-10-05' 를 쓴다.
  • TRUNC(d) = ... 도 맞는 결과를 주지만 d 의 일반 인덱스를 쓰지 못한다. 그 조건이 잦으면 함수 기반 인덱스를 따로 만든다.

날짜 문자열은 형식을 명시한다

형식 없는 TO_DATE('2026-10-04') 는 세션의 NLS_DATE_FORMAT 에 따라 결과가 갈린다. DD-MON-RR 세션에서는 ORA-01861 이 나고 YYYY-MM-DD 세션에서는 통과한다(실측). 이 값은 클라이언트 드라이버·OS 로캘이 정하므로 개발자 PC 에서 통과한 코드가 서버에서 깨진다. DATE '2026-10-04' 리터럴이나 TO_DATE(s, 'YYYY-MM-DD') 처럼 형식을 적는다.

Read the full file on GitHub · 194 lines

Files

What ships with it

4 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. today First seen · 194 lines · 97 tokens per session scan A 96b671de934b

Subscribe to this mod's changes

dok3-oracle is a skill published in the GitHub repository LeeYudok/agents-scaffold (40 stars, last pushed today), licensed MIT. It adds 97 tokens to every session and 3,432 once invoked, about $0.0004 per session on Opus 5.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-11-30.

Related

dok3-oracle compared with skills from other repositories

dok3-oracle next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dok3-oracleLeeYudok/agents-scaffoldSkill40todayMITA97Claude Code
migrationSpaceMalamute/ai-rulesSkill29mo agononeA7Claude Code
memstack-development-migration-plannercwinvestments/memstackSkill43317d agoMITA73Claude Code
memstack-security-rls-checkercwinvestments/memstackSkill43317d agoMITA80Claude Code
memstack-security-rls-guardiancwinvestments/memstackSkill43317d agoMITA84Claude Code
optimizeFlorianBruniaux/claude-code-ultimate-guideSkill7.5ktodayCC-BY-SA-4.0A15Claude Code
database-experttravisjneuman/.claudeSkill115yesterdayMITA36Claude Code