AgentLint

Lint your CLAUDE.md, hooks and MCP config.

Paste or drop a CLAUDE.md, AGENTS.md, .cursorrules, Claude Code settings.json or .mcp.json. AgentLint finds leaked keys, hooks that never fire, permissions that allow too much, and instructions the agent will ignore. Everything runs in your browser; nothing is uploaded.

Shortcut: Ctrl/⌘ + Enter

What it checks

CLAUDE.md · AGENTS.md · .cursorrules
  • API keys and tokens pasted in
  • Missing build and test commands
  • Length that wastes context every session
  • Vague rules (“write clean code”)
  • Must-never rules better enforced by a hook
  • Duplicate lines and machine-specific paths
settings.json
  • Invalid JSON and unknown keys
  • Unknown hook events, wrong nesting, lower-case matchers
  • Relative hook paths and exit 1 that doesn't block
  • Bash allowed without limits, bypassPermissions
  • No deny rule for .env
  • Secrets in env
.mcp.json
  • Servers without command or url
  • Invalid transport type
  • Literal tokens instead of ${VAR}
  • Unpinned npx packages
  • Plain http to remote hosts

AgentLint is an independent tool and is not affiliated with Anthropic, Cursor or OpenAI. Rules reflect public documentation and may lag new releases.