Agent skill · Databases

query-translator

Translate SQL queries between different database dialects with function mapping and optimization

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill query-translator --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Allowed tools: BashReadWriteGrepGlobEdit
Path: library/specializations/code-migration-modernization/skills/query-translator/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Query Translator Skill Translates SQL queries between different database dialects, handling function mapping, syntax differences, and performance optimization. ## Purpose Enable SQL migration for: - Dialect conversion - Function mapping - Syntax translation - Performance hint conversion - Query optimization suggestions ## Capabilities ### 1. Dialect Conversion - Oracle to PostgreSQL - SQL Server to MySQL - MySQL to PostgreSQL - And more combinations ### 2. Function Mapping - Date/time functions - String functions - Math functions - Custom function equivalents ### 3. Syntax Translation - Pagination (LIMIT/OFFSET/ROWNUM) - String concatenation - NULL handling - Boolean expressions ### 4. Performance Hint Conversion - Index hints - Join hints - Optimizer directives - Execution plan guidance ### 5. Query Optimization Suggestions - Index recommendations - Query restructuring - Join optimization - Subquery refactoring ## Tool Integrations | Tool | Purpose | Integration Method | |------|---------|-------------------| | SQLGlot | Universal SQL parser | Library | | AWS SCT | Schema conversion | CLI | | ora2pg | Oracle to PostgreSQL | CLI | | pgLoader | MySQL to PostgreSQL | CLI | | SSMA |

What's inside
Steps it walks through
  1. Purpose
  2. Capabilities
  3. 1. Dialect Conversion
  4. 2. Function Mapping
  5. 3. Syntax Translation
  6. 4. Performance Hint Conversion
  7. 5. Query Optimization Suggestions
  8. Tool Integrations
  9. Output Schema
  10. Integration with Migration Processes
  11. Related Skills
  12. Related Agents
Ships with 1 file
  • README.md
More from babysitter
All skills →
About this skill
What does the query-translator skill do?

Translate SQL queries between different database dialects with function mapping and optimization

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill query-translator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going