HOW-TO GUIDE

How to keep your agent rules and skills portable across coding apps

Based on a post by Lenny Enderle (@lenny_enderle) on X · Nov 26, 2026

You'll end with: Project rules in one AGENTS.md file and skills in open-format folders that work in Claude Code, Codex, Cursor, Copilot, and Gemini CLI.

Why it's worth having: When one coding plan runs out or changes, the same rules and skills move to another app without a rewrite.

At a glance

WHO IT'S FOR
Software engineers and team leads who use more than one AI coding app.
LEVEL
Beginner
COST
Free to read. Each coding app runs on its own plan.
YOU NEED
A project repo · An AGENTS.md file · At least one AI coding app

The method, in short

  1. 1Put project rules in one plain AGENTS.md file, which Codex, Cursor, Copilot, Gemini CLI, OpenCode, and Devin read.
  2. 2Skip a separate Claude file, since Claude Code now reads AGENTS.md when no Claude file sits next to it.
  3. 3Store each skill as a folder of instructions, an open format that Claude Code, Codex, Cursor, Copilot, and Gemini CLI share.
  4. 4When a plan runs dry, call Gemini from Claude Code or Codex with one key through Google's open-source command line tool.

The post covers the rules file, the skills folders, and the Gemini fallback.