A coding agent starts each session knowing nothing about your project. You can fix that in two main ways. The first is a context file: AGENTS.md, CLAUDE.md, or a similar rules file at the root of the repository that the agent reads before every task. The second is a skill: a folder containing a SKILL.md file, and optionally scripts and reference documents, that the agent opens only when the task in front of it matches.
Both are plain Markdown. Both are committed to the repository and shared with the team. The difference is when they enter the agent's working memory, and that difference decides what each one is good for.
Anthropic's course on skills puts the split in one line: the context file "loads into every conversation and is best for always-on project standards," while skills "load on demand and are best for task-specific expertise" (Claude Academy). The rest of this article turns that line into a test you can apply to every piece of guidance you want an agent to follow.
Neither format is tied to one vendor. AGENTS.md is an open format read by many coding agents, and Agent Skills is an open standard published at agentskills.io that works across several agents, including GitHub Copilot in VS Code, according to the VS Code documentation.



