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
Use clear markdown headers. Include: Commands, Code Style, Architecture, Testing. Avoid code style rules (use linters instead).
## Commands | ## Architecture | ## Testing
Never include API keys, passwords, or secrets. Use environment variables and .gitignore for sensitive data.
❌ api_key = "sk-..." | ✓ Use $API_KEY
Use @imports for large configs. Create separate files for different concerns. Max 5 levels of nesting.
@./docs/conventions.md
Use IMPORTANT, YOU MUST, NEVER for critical instructions. But don't overuse — dilutes priority signals.
IMPORTANT: Always run tests before commit
Only include universally applicable instructions. Irrelevant context gets ignored. Be specific to your project.
Focus on YOUR project's actual needs
Use this analyzer programmatically via URL parameters, REST API, or as an MCP server for Claude Code.
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"}'
Run as a local MCP server for Claude Code integration. 100% local processing.
mcp-server.mjs (right-click → Save As)
npm install @modelcontextprotocol/sdk
{
"mcpServers": {
"claudemd-analyzer": {
"command": "node",
"args": ["~/path/to/mcp-server.mjs"]
}
}
}
analyze_configBoth 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": [...]
}
}