Agent-Agnostic Repository Guide Here is a 2-3 sentence factual summary of the article: This guide explains how to configure software repositories to work with any AI coding agent without vendor lock-in by organizing agent configurations into three categories: portable instructions (AGENTS.md), shared skills, and agent-specific settings. The recommended approach uses symlinks to share portable skills across agent directories, sync scripts to generate agent-native configurations from canonical sources, and keeps agent-specific files in their native locations without modification. The system relies on the AAIF/Linux Foundation AGENTS.md standard for universal instructions and the agentskills.io SKILL.md format for reusable workflows, both supported by multiple AI coding agents. Agent-Agnostic Repository Guide A practical guide for making any repository work with any AI coding agent without vendor lock-in. Covers creating new repos agent-agnostic from day one Part A and transforming existing repos Part B . --- The Core Principle Every piece of agent configuration falls into exactly one of three categories: | Category | Strategy | Examples | |----------|----------|----------| | Portable same format across agents | Store once in .agents/ , symlink to agent dirs | AGENTS.md , SKILL.md files | | Generated same data, different format | Canonical source in .agents/ , sync script renders per-agent | MCP config JSON vs TOML | | Agent-specific no cross-agent equivalent | Leave in agent-native directory | .cursor/rules/ .mdc , .claude/settings.json | If you remember nothing else: portable things get symlinks, generated things get a sync script, agent-specific things stay put. --- Part A: New Repo Template A.1 Directory Layout repo/ AGENTS.md Universal instructions AAIF standard CLAUDE.md Pointer: "@AGENTS.md" + Claude-only overrides .agents/ AGENTS.md Self-management doc for this directory skills/ Shared skills committed