# Runtime Adapters

> Use when creating Codex, Claude Code, Gemini CLI, Cursor, or AGENTS.md runtime adapters from one canonical agent core. Use whenever a generated repo needs multiple AI runtimes without duplicating instructions.

- Skill: `agentlas-ai/runtime-adapters` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentlas-ai/runtime-adapters`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentlas-ai/runtime-adapters/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentlas-ai (https://skillmd.com/u/agentlas-ai)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/agentlas-ai/runtime-adapters

---


# Runtime Adapters

## Rules

- `AGENTS.md` is canonical.
- `.claude/`, `.codex/`, `.gemini/`, `.cursor/`, and root `skills/` are thin
  adapters or mirrors.
- `.agentlas/global-commands.json` records the command each adapter exposes.
- Adapter text should point back to `AGENTS.md`.
- Do not claim identical behavior across runtimes. Say the canonical core is
  portable and each adapter maps it into local conventions.

## Required Adapters

- Codex: plugin manifest plus skill and `commands/<slug>.md`.
- Claude Code: command, agent, and skill adapter under `.claude/commands/`.
- Gemini CLI: `GEMINI.md` plus `.gemini/commands/<slug>.toml`.
- Generic: root `AGENTS.md` with the command alias documented.

