OpenAI Codex
Legacy Code Translation & Migration
OpenAI Codex skills help translate legacy codebases, migrate between languages, and modernize old patterns. These skills work with the Codex API and GitHub Copilot's Codex backend for code transformation tasks.
How to use a Codex skill
codex add skill-name
Codex skills are prompt templates and transformation rules that feed directly into the Codex API or power GitHub Copilot completions for migration tasks.
Code Migration
80 skillsPython 2 to 3 Migrator
Automatically converts print statements, unicode literals, division operators, and exception syntax to Python 3 compatible code.
jQuery to Vanilla JS
Replaces jQuery selectors, AJAX calls, DOM manipulation, and event binding with modern native browser APIs.
PHP to Node.js
Converts PHP server-side logic to Express.js routes, session handling, and database query patterns in Node.js.
CSS to Tailwind Converter
Maps existing utility classes and custom CSS rules to equivalent Tailwind utility classes with minimal refactoring.
Legacy Modernization
60 skillsLegacy SQL Modernizer
Converts old-style implicit joins and non-standard SQL to ANSI-compliant queries with CTEs and window functions.
Class to Functional React
Rewrites React class components into function components using hooks — useState, useEffect, useRef, and custom hooks.
REST to GraphQL
Generates GraphQL schema types, resolvers, and queries from existing REST endpoint contracts and response shapes.
Monolith Splitter
Identifies bounded contexts in a monolith and extracts them into independently deployable microservice boundaries.