Skip to content

Cross-Tool Mapping

Cross-Tool Mapping

Concept Mapping

ConceptClaude CodeCursorCodexCopilot
Common instructionsAGENTS.mdAGENTS.mdAGENTS.mdAGENTS.md
Primary instructionsCLAUDE.md.cursor/rules/AGENTS.md.github/copilot-instructions.md
Scoped rules.claude/rules/*.md.cursor/rules/*.mdcNested AGENTS.md.github/instructions/*.instructions.md
Skills.claude/skills/.cursor/skills/.agents/skills/.github/skills/
Commands.claude/commands/ (legacy)Slash commands (migrating)~/.codex/prompts/ (deprecated).github/prompts/*.prompt.md
Subagents.claude/agents/*.md.cursor/agents/*.md.codex/agents/*.toml.github/agents/*.agent.md
Settings.claude/settings.jsonCursor settings / .cursor/cli.json.codex/config.tomlVS Code / GitHub settings

Skill Frontmatter Comparison

All four tools use SKILL.md with YAML frontmatter, but the supported fields differ:

FieldClaudeCursorCodexCopilot
nameOptionalYesRequiredRequired
descriptionRecommendedYesRequiredRequired
argument-hintYes
disable-model-invocationYesYes
user-invocableYes
allowed-toolsYesYes
modelYes
effortYes
contextYes
licenseYes

Claude has the richest frontmatter. Codex has the most minimal (name + description only).

Rules Frontmatter Comparison

FieldCursor .mdcCopilot .instructions.mdClaude .claude/rules/*.mdCodex
descriptionYes— (no frontmatter)— (uses AGENTS.md)
globsYes
alwaysApplyYes
applyToYes
excludeAgentYes

Subagent Format Comparison

AspectClaude .mdCursor .mdCodex .tomlCopilot .agent.md
FormatMarkdown + YAML frontmatterMarkdown + YAML frontmatterTOMLMarkdown + YAML frontmatter
Instructions fieldBody (Markdown)Body (Markdown)developer_instructions (multi-line string)Body (Markdown)
Required fieldsname, descriptionname, descriptionname, description, developer_instructionsname, description
Model overridemodel in frontmattermodel in TOML
Tool restrictionsallowedTools/disallowedTools

Key difference: Codex is the only tool that uses TOML format for subagents. All others use Markdown with YAML frontmatter where instructions live in the document body.

Functional Categories

Understanding what goes where:

What you wantMechanismTools that support it
Always-active project rulesInstructions fileAll four
Path-specific rulesScoped rulesCursor (globs), Copilot (applyTo), Codex (nested AGENTS.md)
Reusable multi-step workflowsSkillsAll four
Manual-only slash commandsSkills + disable-model-invocation: trueClaude, Cursor
Runtime config (model, permissions)Settings fileClaude (settings.json), Codex (config.toml)
Specialized agent rolesSubagent definitionsAll four