poly-skill

Port Claude Code skills to Codex with structural adapters preserving behavior.

4|1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill poly-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: poly-skill
Source: https://github.com/m2ai-portfolio/m2ai-skills-pack/tree/main/skills/poly-skill
Command: npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill poly-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convert Claude Code skills to work on Codex (and vice versa) by applying a structural adapter that handles naming differences, sidecar YAML generation, trigger placement, tool-permission fields, and terminal-command syntax between the two platforms.

Core Features & Use Cases

  • Cross-platform porting: port skills between Claude Code and Codex with automatic structure alignment.
  • Trigger and command compatibility: ensures triggers appear at the top and terminal commands are translated to the target platform's syntax.
  • Sidecar metadata handling: generates or adapts YAML sidecars as needed for the target environment.

Quick Start

Provide the path to the skill directory and specify the target platform.

Frequently Asked Questions about poly-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I port Claude Code skills to Codex?

To port Claude Code skills to Codex, you provide the skill directory path and target platform. The adapter reads frontmatter, triggers, and commands to generate a structurally compatible Codex version.

Can I convert Codex skills to work with Claude Code?

Yes, you can convert Codex skills to Claude Code. The adapter translates terminal-command syntax, enforces correct trigger placement, and adapts tool-permission metadata for the Claude Code environment.

What is a YAML sidecar and how does cross-platform skill porting handle it?

A YAML sidecar contains platform-specific configuration metadata. During cross-platform porting, the adapter automatically generates or adapts these YAML sidecars as needed for the target environment.

Does porting skills between Claude Code and Codex preserve the original triggers and commands?

Porting preserves behavior by ensuring triggers appear at the top and translating terminal commands to the target platform's syntax. The adapter enforces correct trigger placement and tool-permission metadata.

What do I need to start adapting skills for cross-platform compatibility?

You need the path to the skill directory and the target platform specification. The adapter handles structural alignment, naming differences, and terminal-command translation automatically.