I built a linter that proves 74% of your AGENTS.md is wasting your AI agent's time
If you use Claude Code, Cursor, Codex, or Gemini CLI, you probably have an AGENTS.md or CLAUDE.md sitting in your project root. It gets loaded into every single session. Every token in it competes ...

Source: DEV Community
If you use Claude Code, Cursor, Codex, or Gemini CLI, you probably have an AGENTS.md or CLAUDE.md sitting in your project root. It gets loaded into every single session. Every token in it competes for attention with your actual task. And most of them are full of junk. The problem I kept seeing I was reviewing context files across open-source repos and noticed the same patterns everywhere: Directory trees that agents discover with ls in 200ms "Built with React 18, TypeScript, and Tailwind CSS" — readable from package.json References to src/middleware/auth.ts that was renamed to src/auth/middleware.ts three months ago "Use 2-space indentation" when .prettierrc already enforces it Entire sections copy-pasted from the README None of this helps the agent. All of it costs tokens on every session. What I built ctxlint — a CLI linter for AI agent context files. npx @ctxlint/ctxlint check 8 deterministic rules. Zero LLM dependency. Pure filesystem analysis. Runs in milliseconds. It supports AGE