Skip to main content
AI RADARAgents
228•10/07/2026, 13:18•2 min read

Matt Pocock's Prompt for Cleaning Up AGENTS.md

AgentsGotBurnout Radar

Matt Pocock's Prompt for Cleaning Up AGENTS.md

AI Daily Digest•Verified Tech Release
Executive TL;DR30s read

A three-subagent prompt helps simplify AGENTS.md, remove ineffective instructions, and move coding standards into a separate file.

Matt Pocock shared a prompt for working with AGENTS.md — the instruction file for coding agents that often becomes a source of wasteful token consumption and chaotic rules.

TEXT
/writing-for-agents my AGENTS.md is a complete mess. Propose a series of structural changes that:

- Remove instructions that do not affect anything.
- Reveal details only when necessary.
- Move instructions into CODING_STANDARDS.md.

Do this work using three subagents, each acting more radically than the previous one. Create one PR.

AGENTS.md is one of the most common sources of inefficient token use. The prompt tackles the problem at the root: instead of accumulating random rules, it suggests progressively simplifying the structure, removing useless instructions, and moving coding standards into a separate document.

/writing-for-agents is a skill from Matt Pocock's set for working with agent instructions, including AGENTS.md and CLAUDE.md. Before using the prompt, the skill needs to be installed: skills.

Why it matters

Analysis

A clean AGENTS.md reduces token waste, prevents contradictory agent instructions, and makes AI-assisted coding more predictable.

Discuss in community

Share your questions and insights with developers

Join Telegram
+5 Points
← Back to news feed

Related in Ecosystem

Practical guides, core terminology, and agent skills