db — Claude Code skill: Oracle Database guidance for agents
A skill that routes your agent through Oracle Database topics: SQL, PL/SQL, SQLcl, ORDS, migrations, performance and agent-safe database work.
npx skills add oracle/skills --skill db -a claude-codeWhat db does
The db skill is an Oracle Database knowledge domain split into folders. Twenty categories sit inside it: db/sql-dev/, db/plsql/, db/performance/, db/security/, db/migrations/, db/vecdb/, db/agent/ and more. The agent reads one file from the routing table instead of the whole tree, so your context stays clean.
Multi-step flows are spelled out. A slow query goes explain-plan → wait-events → optimizer-stats → awr-reports. A migration starts at migration-assessment, moves through oracle-migration-tools, then a source-specific file. RAG on Oracle Database runs ai-profiles → vector-search → dbms-vector. The db/agent/ branch handles schema changes: schema-discovery first, then destructive-op-guards and idempotency-patterns.
Coverage includes Oracle Vector SDK through the Python SDK, REST and the PL/SQL package, plus SQLcl, Liquibase, ORDS, JDBC, node-oracledb, Java, .NET and ORMs such as SQLAlchemy and Django. Install runs through npx skills add, so Node.js and npx need to be on your machine or the command fails.
What it helps with
- diagnose a slow query through plan, waits and optimizer stats
- plan a migration from PostgreSQL or MySQL to Oracle
- stand up vector search on Oracle Database for RAG
- make a schema change without the agent dropping something it should not
- wire up database access through the SQLcl MCP server
Example prompts for the agent
- read the explain plan for this query and tell me where it stalls
- draft a migration plan from PostgreSQL to Oracle for our schema
- help me set up vector search on Oracle Database for RAG
How to install db
1Skills CLI (Vercel)
npx skills add oracle/skills --skill db -a claude-code2Manually: put the files in place
~/.claude/skills/db/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/db/
1Skills CLI (Vercel)
npx skills add oracle/skills --skill db -a codex2Manually: put the files in place
.agents/skills/db/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add oracle/skills --skill db -a cursor2Manually: put the files in place
.cursor/skills/db/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install oracle/skills db2Manually: put the files in place
.github/skills/db/SKILL.md1Skills CLI (Vercel)
npx skills add oracle/skills --skill db -a gemini-cli2Platform CLI
gemini skills install https://github.com/oracle/skills --path dbManually: put the files in place
.devin/skills/db/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add oracle/skills --skill db -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about db
How do I install db in Claude?
Run npx skills add oracle/skills --skill db -a claude-code. The skill file then lives at ~/.claude/skills/db/SKILL.md.
What does the db skill do?
It gives the agent an Oracle Database reference: SQL and PL/SQL, SQLcl, ORDS, performance, security, migrations, Vector SDK and safe database operations.
Which platforms does db support?
Claude, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode. Each takes its own flag, such as -a cursor or -a codex.