AGENTS.md contains rules the agent should follow. Start with a fresh file. Add clear rules as you notice repeated mistakes.
SKILL.md contains instructions for a specific task. A skill makes those instructions reusable so the agent can repeat your workflow.