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.
Fix it with tested templates. The free Claude Code Playbook has copy-paste hooks that block
.env edits and dangerous shell commands, plus CLAUDE.md starters. Playbook Pro ($29) adds 10 tested hooks, 12 subagents and an installer that merges into your existing settings.json.
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 1that doesn't block Bashallowed 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
npxpackages - 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.