Sokrates (MIT-licensed, since 2019) analyzes code and Git history, generating data and static HTML reports on size, duplication, complexity, dependencies, contributors, and hotspots. It supports 40+ languages and runs locally via Docker or a Java JAR—no account or SaaS.
Recent updates add one-command analysis of a folder, Git URL, or entire GitHub/GitLab organization, plus redesigned reports and a “where to look first” hotspot list. Graphviz is no longer required.
Two experimental heuristics score ease of change for humans vs. AI agents and estimate AI token costs from Git history.
Sokrates (MIT-licensed, since 2019) analyzes code and Git history, generating data and static HTML reports on size, duplication, complexity, dependencies, contributors, and hotspots. It supports 40+ languages and runs locally via Docker or a Java JAR—no account or SaaS.
Recent updates add one-command analysis of a folder, Git URL, or entire GitHub/GitLab organization, plus redesigned reports and a “where to look first” hotspot list. Graphviz is no longer required.
Two experimental heuristics score ease of change for humans vs. AI agents and estimate AI token costs from Git history.
AI coding agents (Claude Code, Codex, Gemini CLI) can use Sokrates Skills to guide code-quality work. Install with `installSkills`: https://github.com/zeljkoobrenovic/sokrates-skills
Try it: docker run --rm -v "$(pwd):/code"
Code: https://github.com/zeljkoobrenovic/sokrates
Feedback is welcome.