Paste your CLAUDE.md or AGENTS.md content
Checks based on official best practices from Anthropic, OpenAI, Google & community guidelines
Optimize your CLAUDE.md & AGENTS.md for better instruction following
Paste your CLAUDE.md or AGENTS.md content
Checks based on official best practices from Anthropic, OpenAI, Google & community guidelines
LLMs reliably follow ~150-200 instructions. Keep files under 300 lines and ~1500-2500 tokens for best adherence.
Target: <300 lines, <2500 tokens
anthropic.com/engineering/claude-code-best-practices
Use clear markdown headers. Include: Commands, Code Style, Architecture, Testing. Avoid code style rules (use linters instead).
## Commands | ## Architecture | ## Testing
docs.anthropic.com/en/docs/claude-code/memory
Never include API keys, passwords, or secrets. Use environment variables and .gitignore for sensitive data.
❌ api_key = "sk-..." | ✓ Use $API_KEY
docs.anthropic.com/en/docs/claude-code/security
Use @imports for large configs. Create separate files for different concerns. Max 5 levels of nesting.
@./docs/conventions.md
docs.anthropic.com/en/docs/claude-code/memory
Use IMPORTANT, YOU MUST, NEVER for critical instructions. But don't overuse — dilutes priority signals.
IMPORTANT: Always run tests before commit
anthropic.com/engineering/claude-code-best-practices
Cross-platform config format for AI coding agents. Supported by OpenAI Codex, Google Gemini CLI, Cursor, and more.
Works across multiple AI tools
github.com/anthropics/claude-code/blob/main/AGENTS.md
Use this analyzer programmatically via URL parameters, REST API, or as an MCP server for Claude Code.
CORS is fully open — call from any origin. Rate-limited to prevent abuse. No API key required.
Pass content via URL for instant analysis. All processing happens in your browser.
https://claudemd.franzai.com/?c=BASE64_CONTENT&o=json
c or content - Base64URL encoded contento or output - json or html (default: html)f or format - auto, claude, or agentsconst url = `https://claudemd.franzai.com/?c=${btoa(content)}&o=json`;
POST JSON to the API endpoint for programmatic analysis.
POST https://claudemd.franzai.com/api/analyze
{ "content": "# CLAUDE.md\n...", "format": "auto" }
curl -X POST https://claudemd.franzai.com/api/analyze \
-H "Content-Type: application/json" \
-d '{"content": "# CLAUDE.md\n## Commands\n- npm run dev"}'
Connect Claude Code to the remote MCP server. No local setup required!
{
"mcpServers": {
"claudemd-analyzer": {
"type": "url",
"url": "https://claudemd.franzai.com/mcp"
}
}
}
analyze_confighttps://claudemd.franzai.com/mcp
curl https://claudemd.franzai.com/mcp
Both URL params (with o=json) and POST API return this structure:
{
"success": true,
"version": "2.1.0",
"result": {
"score": 85,
"grade": "excellent",
"format": "claude",
"tokenCount": 150,
"issues": [...],
"categoryScores": [...]
}
}