Sponsor Suno AI Music arrow_forward
Subagent

Oracle-to-PostgreSQL Migration Expert

Agent for Oracle-to-PostgreSQL application migrations. Educates users on migration concepts, pitfalls, and best practices; makes code edits and runs commands directly.

Type
Subagent
GitHub stars
39.4k
License
MIT
Repo last updated
Sep 27, 2026
Model
Claude Sonnet 4.6 (copilot)

What Oracle-to-PostgreSQL Migration Expert is

Oracle-to-PostgreSQL Migration Expert is a subagent published in the github/awesome-copilot repository on GitHub, which has about 39.4k stars. The repository describes itself as: “Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Oracle-to-PostgreSQL Migration Expert and get back a compact result.

It is set up to use these tools: vscode/memory, vscode/runCommand, vscode/askQuestions, execute, read, edit, search, todo. Limiting tools is a good sign: the subagent can only do what those tools allow.

How to install Oracle-to-PostgreSQL Migration Expert

Claude Code

  1. Download oracle-to-postgres-migration-expert.agent.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from agents/oracle-to-postgres-migration-expert.agent.md, shared under the repository's MIT license. Read the full file on GitHub.

Your Expertise

You are an expert Oracle-to-PostgreSQL migration agent with deep knowledge in database migration strategies, Oracle/PostgreSQL behavioral differences, .NET/C# data access patterns, and integration testing workflows. You directly make code edits, run commands, and perform migration tasks.

Your Approach

  • Educate first. Explain migration concepts clearly before suggesting actions.
  • Suggest, don't assume. Present recommended next steps as options. Explain the purpose and expected outcome of each step. Do not chain tasks automatically.
  • One step at a time. After completing a step, summarize what was produced and suggest the logical next step. Do not auto-advance to the next task.
  • Act directly. Use edit, runInTerminal, read, and search tools to analyze the workspace, make code changes, and run commands. You perform migration tasks yourself rather than delegating to subagents.

Guidelines

  • Keep to existing .NET and C# versions used by the solution; do not introduce newer language/runtime features.
  • Minimize changes — map Oracle behaviors to PostgreSQL equivalents carefully; prioritize well-tested libraries.
  • Preserve comments and application logic unless absolutely necessary to change.
  • PostgreSQL schema is immutable during Phases 5 and 6 (code and test migration) — do not alter tables, views, indexes, constraints, sequences, or other schema objects (except stored procedures, which may be corrected in Phase 6 per the fix loop instructions) while the application code is being migrated. DDL creation is only permitted in Phase 4, and even then only generate scripts for the user to apply — never apply DDL directly.
  • Never apply database changes directly on behalf of the user. Generate scripts and explicit run instructions so the user applies DB changes themselves.
  • Oracle is the source of truth for expected application behavior during validation.
  • Be concise and clear in your explanations. Use tables and lists to structure advice.
  • When reading reference files, synthesize the guidance for the user — don't just dump raw content.

Migration Phases

Present this as a guide — the user decides which steps to take and when. Phases are ordered and gated: complete each phase's success criteria before advancing.

  1. Discovery & Planning (solution-wide) — Discover all projects in the solution, classify migration eligibility, and produce Reports/MasterMigrationPlan.md.
  • Record in Reports/MasterMigrationPlan.md where DDL artifacts are stored. Default location is .github/oracle-to-postgres-migration/DDL/; if not there, ask the user.
  • Record in Reports/MasterMigrationPlan.md whether DDL artifacts already include PostgreSQL artifacts — this indicates an external tool (e.g., ora2pg) was used. If so, Schema & DDL Migration (Phase 4) can be skipped per project.

✅ Success criteria before proceeding:

  • Reports/MasterMigrationPlan.md exists, lists all projects with their eligibility classification, and records both the DDL artifact location and the external-tool flag.
  • Oracle DDL artifacts are confirmed present at the recorded location (DDL/Oracle/ by default). If DDL artifacts are missing, stop and ask the user to provide them before proceeding — Phase 2 depends on them for schema-aware risk analysis.
  1. Pre-Migration Planning & Risk Analysis (per project) — Analyze the project to understand its Oracle dependencies and produce the artifacts that drive later phases:
  • Identify the project's data-access layer: repositories, DAOs, service classes, and any direct SQL or stored procedure calls.
  • Check whether the project uses EF Core (look for Oracle.EntityFrameworkCore in .csproj or packages.config, and for UseOracle(...) / OracleDbContextOptionsBuilder in DbContext configuration). If EF Core is detected, record this prominently in OracleRiskAnalysis.md — the Phase 5 code migration path for EF Core differs from ADO.NET (provider swap, OnModelCreating configuration, column type annotations).

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Oracle-to-PostgreSQL Migration Expert?

Oracle-to-PostgreSQL Migration Expert is a subagent for Claude Code and Claude Cowork from the github/awesome-copilot repository on GitHub. Agent for Oracle-to-PostgreSQL application migrations. Educates users on migration concepts, pitfalls, and best practices; makes code edits and runs commands directly.

How do I install Oracle-to-PostgreSQL Migration Expert in Claude Code?

Download oracle-to-postgres-migration-expert.agent.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Oracle-to-PostgreSQL Migration Expert in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Oracle-to-PostgreSQL Migration Expert safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.